I've got a USB-UIRT setup to transmit and a Snapstream Firefly for receiving. The Firefly worked out of the box. For the transmitter I created this hardware.conf (I see people putting things like TRANSMITTER_DEVICE in there, but that doesn't seem to do anything for mine):
I can use "irsend" to control, for example my receiver, with this command:
irsend SEND_ONCE denon on
However, I can't seem to get XBMC to send commands using the LIRC.Send function. I've got the following in /home/pi/.xbmc/userdata/keymaps/remote.xml:
<power>LIRC.Send(SEND_ONCE denon off)</power>
<start>LIRC.Send(SEND_ONCE denon on)</start>
I've enabled debugging and I see XBMC attempt to send the commands, but nothing happens (no IR transmission occurs):
18:59:49 T:3041014400 DEBUG: LIRC: Update - NEW at 713945:ce 0 KEY_CLOSE devinput (KEY_CLOSE)
18:59:49 T:3041014400 DEBUG: OnKey: 196 (c4) pressed, action is LIRC.Send(SEND_ONCE denon off)
18:59:49 T:3041014400 DEBUG: LIRC: Update - NEW at 713985:ce 0 KEY_CLOSE_UP devinput (KEY_CLOSE_UP)
I'm not sure where the disconnect is between the two apps. Ive tried both the lircd that comes packaged with Raspbmc and compiling my own and still nothing. Any suggestions on what I should look for?
Also, for what it's worth, I can get it to work (kinda) with System.exec("irsend SEND_ONCE denon on") but I'd much rather use the native functionality if possible than a hack.
Thanks in advance!