LIRC problems again and again and again and again... - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: LIRC problems again and again and again and again... (/showthread.php?tid=104874) |
LIRC problems again and again and again and again... - tequila - 2011-07-05 Alright, now I moved the whole xbmc to a SSD. Actually of course I did not move it, I reinstalled ubuntu 10.04 LS and reinstalled xbmc and copied my old profile data to the new SSD. So far everything is okay but then came LIRC. I also copied the LIRC configuration, since I didn´t change anything but the disk I expected no problems but the remote doesn´t work in XBMC. The config files are pretty much default since it is a ms compatible mceusb: lircd.conf Code: #This configuration has been automatically generated via hardware.conf: Code: # /etc/lirc/hardware.conf lirc is in startup but the remote isn´t working in xbmc. However if I run the "Remote Control Properties" GUI Tool, let it detect the Windows Media Center Remote then "Use supplied remote control" OR the actually detected one HP / TSGH-IR01 with "Use different remote control". The test inside the tool works and the remote in XBMC then too. Bad thing is, once I restart the PC nothing works again. Even though the "Remote Control Properties" Tool stores the following: Code: # /etc/lirc/hardware.conf Code: #This configuration has been automatically generated via Anyone with an idea what could be wrong ? I know there is a lot of configuration possible with lirc but actually the former system was also 10.04 with exactly this remote. thanks - LB06 - 2011-07-05 What kernel are you running? Code: uname -r Because it's possible that in the past you ran 2.6.32 (original kernel for Lucid), but now you 2.6.35. This could have been automatically selected by the installer (if you did a netinstall), the virtual package linux-image-2.6-generic/server or of course manually (aptitude install linux-image-2.6.35). Point is, since 2.6.35 an in-kernel interface for remote events has been merged into the mainline kernel. This can conflict with the LIRC drivers and interface. With newer versions of Linux and lirc I would have suggested to bridge the two interfaces, but with Lucid I would recommend against this, since the new interface is a bit flaky in 35, 36 and 37. So I suggest you do one of these two things (well, if you indeed run 2.6.35): install 2.6.32 or blacklist all ir-* and rc-* modules. Most notably these ones: blacklist ir_core blacklist ir_lirc_codec blacklist ir_sony_decoder blacklist ir_jvc_decoder blacklist ir_rc6_decoder blacklist ir_rc5_decoder blacklist ir_nec_decoder blacklist mceusb These are all drivers for the new in-kernel interface. You should use the lirc-* modules. Then reboot and lirc should be operational again. Good article on this: http://wilsonet.com/?page_id=95 - tequila - 2011-07-05 hmm it is 2.6.32-32-generic - LB06 - 2011-07-05 tequila Wrote:hmm it is 2.6.32-32-genericThen forget what I said. It's something else. Does /etc/lirc0 exist? Sometimes it's called /dev/lircd. - tequila - 2011-07-05 you mean /dev/lirc0 ? yes exists but this and lircd are empty there, I assume this is normal ? -----SOLUTION-------------------8<------------------------------ I don´t know why but I found out that it works when I restart lirc: sudo /etc/init.d/lirc restart to have this automated I simply added the line "/etc/init.d/lirc restart" before the "end" row in: /etc/rc.local thats probably a dirty solution but it works ;-) - darkscout - 2011-07-05 It's a link to a device, it really can't be 'non empty'. What does irw output? - tequila - 2011-07-05 doesn´t output anything until I press a button on remote.... thats actually not the problem, the remote works well, just xbmc... however found a solution now :-) thanks everybody, thread can be closed I think |