Issues with lirc following upgrade to 11.10
I had a working lirc setup with Ubuntu 10.10 using the remote from a WinTV HVR-4000, but had a number of issues following the upgrade to 11.10. These are now resolved, so I thought I'd post my fixes here in the hope they might be of help.
Issue 1. lircd simply failed to start. Starting from a terminal via "sudo /etc/init.d/lirc start" didn't work, although "sudo /usr/sbin/lircd -H dev/input -d /dev/input/event5" did. There was a message about being unable to load modules, and according to http://www.mythtv.org/wiki/LIRC the default for LOAD_MODULES in the new lirc 0.9 is incorrect. Changing LOAD_MODULES in /etc/lirc/hardware.conf from true to false resolved this issue.
Issue 2. mythtv no longer recognised the remote. Starting mythfrontend from the terminal showed a message about /var/run/lirc/lircd, and according to http://www.mythtv.org/wiki/LIRC the device has moved. Changing LIRC daemon socket from /dev/lircd to /var/run/lirc/lircd in mythtv setup, General, page 8, resolved this issue.
Issue 3. OK, Power and Picture buttons ceased to function. Testing with irw showed all other buttons still worked. However, there was a message in syslog saying "you are using an obsolete devinput config file ... get the new version at http://lirc.sourceforge.net/remotes/devinput/lircd.conf.devinput". Downloading this file and saving at /etc/lirc/lircd.conf then retesting with irw got a response from the OK button.
Issue 3.1. The obsolete devinput config file error was still shown even with the new lircd.conf.devinput. Removing the section in the lircd.conf starting "# generated by devinput.sh (obsolete 32 bit version)" resovled this issue.
Issue 3.2. The responses returned when testing with irw changed from e.g. "Back/edit HVR-1100" to "KEY_EXIT devinput", and mythtv no longer recognised any buttons. Updating the button mappings in .lircrc resolved this issue.