Problem: LIRC doesnt load custom lircd.conf
|
15th May, 2013, 05:33 PM
Post: #1
|
|||
|
|||
LIRC doesnt load custom lircd.conf
Hi,
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. |
|||
13th Aug, 2013, 02:40 AM
Post: #2
|
|||
|
|||
RE: LIRC doesnt load custom lircd.conf
Glad you found your own solution. Can you change the status from "Problem" to "Solved"
Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
13th Aug, 2013, 04:10 AM
Post: #3
|
|||
|
|||
RE: LIRC doesnt load custom lircd.conf
(13th Aug, 2013 02:40 AM)IriDium Wrote: Glad you found your own solution. Can you change the status from "Problem" to "Solved" this probably should be on the plan to beta2. I migrated most of the sysvinit scripts to upstart, lirc and iguana are not. second issue was, that /etc/modules file was by bug emptied with beta1. for lircd successful start, the right module needs to be loaded before. with empty modules file, nothing is loaded, so lircd can't auto detect the device : right config file. i'm going to move lirc to upstart, but have no device to test. can you please elaborate more, check the /etc/modules file, if not put your module in, reboot, check how lircd start works now etc. can you please ? mk Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|