On 30/08/06, Ian Macdonald <ian@...> wrote:
> I've been through the mailing list archives, so my apologies if I've
> skipped over a useful past post.
> I'm in The Netherlands and trying to set up a MythTV box to work with a
> Thomson DCI-52UPC digital cable set-top box, as used on the UPC cable
> network in Amsterdam.
> I have two instances of lircd running, one which handles the MythTV
> remote-control, a Microsoft MCE unit, plus another for the IR blaster
> that is connected to /dev/ttyS0. The blaster is the red LED model from
> I couldn't find an existing lircd.conf on-line for the DCI-52UPC, so I
> attempted to make one, using irrecord and the USB Microsoft MCE IR
> This seemed to work, resulting in a file full of raw codes and other
> specs that I scarcely understand at this stage of the game.
> To test whether the captured IR data was good, I copied the file into
> place, fired up lircd and tried the following one-liner to send a bunch
> of digits to the set-top box:
> for i in 0 1 2 3 4 5 6 7 8 9; do
> irsend SEND_ONCE UPC $i; sleep 1
> As this ran, the red LED on the blaster flickered red, so it appears to
> be transmitting IR codes. However, the set-top box didn't recognise what
> was sent and simply ignored it.
> Now, I don't know whether the conf file I made is at fault or the IR
> blaster; maybe even both, but I suspect the config at this point.
> As a second test, I used irrecord to capture codes from the
> remote-control for my TV, a Philips 37PF9830. Again, I fired up lircd
> and used the one-liner to transmit a bunch of digits. Once again, the
> LED flickered red with each digit sent, but the TV stayed firmly on the
> same channel.
> At this point, I'm stumped. I've tried rerecording the conf file several
> times. Each time I get subtle variations in the codes, but none of the
> resulting files ever works to change the channel on the set-top box.
> I hope I'm missing something obvious, but I've gone as far as I can on
> my own, so now I'm turning to the list. What should I try next to get
> this working?
It's quite possible your cable box uses IR signals encoded with the
RC-5 or RC-6 protocol - so I'd recommend running irrecord with a
RC-5/6 header file as /etc/lircd.conf, which will create your output
in RC-5/6 format, instead of raw mode. This could help reduce the
variation in the timing you are seeing and send the codes in the
format the TV/cable box is expecting.
I've used this method with a homebrew serial IR receiver to record IR
signals from the remote for my RC-5-based digital cable box and it
works fine with irsend within MythTV.
MythTV Official wiki:
MythTV users list archive: