[myth-ie] Red-Eye Serial and NTL Digital
Brendan Kehoe
brendan at zen.org
Thu Dec 20 07:01:54 CST 2007
> Where is the actual IR receiver on these boxes
>
Don't recall...
> Does it use IRDA or RC5?
>
RC5
> Any useful way to debug this?
Watch the little transmitter taped to your NTL box and see if you can
see the little red light blink.
If you invoke the red_eye command directly you can see what it's sending
to the device ... and then you can type those characters to it yourself
if you want.
I have mythtv configured with
* mythtvsetup -> Input Connections -> S-Video0 (NTL Digital Dublin),
set "External cahnnel change command" to
"/usr/local/bin/red_eye.script".
so it's invoking a script which has
-- cut --
#!/bin/sh
#debug:
#echo "$*" > /tmp/re.$$
/usr/local/bin/red_eye /dev/ttyS0 $* 2 &
#/usr/local/bin/red_eye /dev/ttyS0 $* 1 &
exit 0
# The exit 0 is important, otherwise mythtv thinks it failed and
# tries to switch back to the previous channel.
-- cut --
I've tried having it wait only 1 second, but that always seems to be a
crap shoot on whether all the characters will get sent before it finishes.
Hope this helps,
B
More information about the MythTV-Ireland
mailing list