Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

External channel change bug on 0.16

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


colinb at gatewest

Oct 26, 2004, 2:49 PM

Post #1 of 5 (4377 views)
Permalink
External channel change bug on 0.16

Hi all

I use a serial devie to change channels (red eye) on a cable box. It
all worked fine on 0.14 on Mandrake 9.2.
I have now upgraded to Mandrake 10.1 and I've pretty much got
everything running again with Mythtv 0.16 except the external channel
change command. If I type it into the console with a channel number
(ie: /usr/bin/red_eye 120) it works fine, but even though its
configured in the setup it doesn't do anything. I can see the "usage:
device_com_port sendstring" in the logs so I know its being triggered.

I have also tried putting the command into a shell script and calling
that instead,
"/usr/local/bin/channel_change.csh"

#!/bin/csh
echo "Changing to channel $1"
/usr/local/bin/red_eye $1

but nothing happens there either (the script works if I access it from
the command line) plus I don't see the "Changing to channel X" being
produced either in the logs or the console.

I can only assume this is a bug unless anyone can tell me otherwise.

thanks


GeckoFiend at gmail

Oct 26, 2004, 3:39 PM

Post #2 of 5 (4194 views)
Permalink
Re: External channel change bug on 0.16 [In reply to]

On Tue, 26 Oct 2004 22:49:22 +0100, Colin Bell <colinb[at]gatewest.co.uk> wrote:
> Hi all
>
> I use a serial devie to change channels (red eye) on a cable box. It
> all worked fine on 0.14 on Mandrake 9.2.
> I have now upgraded to Mandrake 10.1 and I've pretty much got
> everything running again with Mythtv 0.16 except the external channel
> change command. If I type it into the console with a channel number
> (ie: /usr/bin/red_eye 120) it works fine, but even though its
> configured in the setup it doesn't do anything. I can see the "usage:
> device_com_port sendstring" in the logs so I know its being triggered.
>
> I have also tried putting the command into a shell script and calling
> that instead,
> "/usr/local/bin/channel_change.csh"
>
> #!/bin/csh
> echo "Changing to channel $1"
> /usr/local/bin/red_eye $1
>
> but nothing happens there either (the script works if I access it from
> the command line) plus I don't see the "Changing to channel X" being
> produced either in the logs or the console.
>
> I can only assume this is a bug unless anyone can tell me otherwise.

I can tell you that external channel changers work just fine in .16
with both FC1 and Suse 9.1


mythtv at ultratux

Oct 26, 2004, 4:08 PM

Post #3 of 5 (4192 views)
Permalink
Re: External channel change bug on 0.16 [In reply to]

On Tuesday 26 October 2004 23:49, Colin Bell wrote:
> Hi all

> I have also tried putting the command into a shell script and calling
> that instead,
> "/usr/local/bin/channel_change.csh"
>
> #!/bin/csh
> echo "Changing to channel $1"
> /usr/local/bin/red_eye $1
>
> but nothing happens there either (the script works if I access it from
> the command line) plus I don't see the "Changing to channel X" being
> produced either in the logs or the console.

Well that can't really happen; that echo statement comes before the suspected
command so at least that echo *must* work! So I'd have to assume either your
csh is broken, or something in your mandrake. Does a shellscript with only
that echo statement work at all ? And why use csh anyway, I thought that
shell was ehm... deprecated ? What does bash do ?

> I can only assume this is a bug unless anyone can tell me otherwise.

Correct. But from what you write, the bug you have is not in mythtv.

Maarten

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


wmunson at rochester

Oct 26, 2004, 6:37 PM

Post #4 of 5 (4208 views)
Permalink
RE: External channel change bug on 0.16 [In reply to]

> I use a serial devie to change channels (red eye) on a cable box. It
> all worked fine on 0.14 on Mandrake 9.2.

This may have nothing to do with your problem but on my fc1 system I have to
add the group uucp to my myth user's groups before my script could access
the com port.


colinb at gatewest

Oct 27, 2004, 1:47 AM

Post #5 of 5 (4194 views)
Permalink
Re: External channel change bug on 0.16 [In reply to]

It turns out that I'm such a monkey that I forgot to set the frequency
id to the channel number for each channel. I thought that something
like frequency would relate to a tuner and that the channel number
would be the variable used to change channels on the external changer.

Anyway it works now. thanks to all those who gave their comments.
Hopefully this will help someone else out there someday.


On 26 Oct 2004, at 22:49, Colin Bell wrote:

> Hi all
>
> I use a serial devie to change channels (red eye) on a cable box. It
> all worked fine on 0.14 on Mandrake 9.2.
> I have now upgraded to Mandrake 10.1 and I've pretty much got
> everything running again with Mythtv 0.16 except the external channel
> change command. If I type it into the console with a channel number
> (ie: /usr/bin/red_eye 120) it works fine, but even though its
> configured in the setup it doesn't do anything. I can see the "usage:
> device_com_port sendstring" in the logs so I know its being triggered.

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.