15th May, 2013, 05:33 PM
Hi,
I have an issue where when i start the lirc using the init.d script i.e
it loads just fine but it doesnt seem to read my lircd.conf in /etc/lirc. If I do irw nothing shows up.
however if i manually start lirc with
irw works perfectly. However xbmc doesnt recongnise it now as lirc didnt start before xbmc.
Any ideas why this would be, or how i can force the init.d script to call /etc/lirc/lircd.conf
Banging my head on this one! Haha
Well I figured out how to "fix" the lirc init.d script, if anyone else wants to use a custom remote with a supported receiver.
Where start-stop-daemon executes lircd i changed the
to
I then had to copy /usr/local/share/xbmc/system/Lircmap.xml to ~/.xbmc/userdata/Lircmap.xnl
You then edit that xml file and either change the <remote device="mceusb"> line to <remote device="YOUR REMOTE NAME"> or if your remote has different layout/buttons to a stock mceusb remote you can customize the Lircmap.xml file to suit you/change the name on one of the other ones if its similar to your custom remote.
Im using a hauppauge remote which is pretty much identical to a mce remote.
Use irrecord to generate a custom lircd.conf file if you dont have one for your remote all ready.
I have an issue where when i start the lirc using the init.d script i.e
Code:
sudo service lirc start or restart
it loads just fine but it doesnt seem to read my lircd.conf in /etc/lirc. If I do irw nothing shows up.
however if i manually start lirc with
Code:
lircd /etc/lirc/lircd.conf
irw works perfectly. However xbmc doesnt recongnise it now as lirc didnt start before xbmc.
Any ideas why this would be, or how i can force the init.d script to call /etc/lirc/lircd.conf
Banging my head on this one! Haha
Well I figured out how to "fix" the lirc init.d script, if anyone else wants to use a custom remote with a supported receiver.
Where start-stop-daemon executes lircd i changed the
Code:
-- $LIRCD_ARGS
Code:
-- /etc/lirc/lircd.conf
I then had to copy /usr/local/share/xbmc/system/Lircmap.xml to ~/.xbmc/userdata/Lircmap.xnl
You then edit that xml file and either change the <remote device="mceusb"> line to <remote device="YOUR REMOTE NAME"> or if your remote has different layout/buttons to a stock mceusb remote you can customize the Lircmap.xml file to suit you/change the name on one of the other ones if its similar to your custom remote.
Im using a hauppauge remote which is pretty much identical to a mce remote.
Use irrecord to generate a custom lircd.conf file if you dont have one for your remote all ready.