Comment 6 for bug 364699

Revision history for this message
RK (kubuntu-rk) wrote :

Installation instructions:
* save attachment in /usr/src/lirc-0.8.5/drivers/lirc_igorplugusb/
* patch file:
  cp lirc_igorplugusb.c lirc_igorplugusb.c.orig
  patch -i patchfile lirc_igorplugusb.c
  cp lirc_igorplugusb.c lirc_igorplugusb.c.mod
* for karmic, lirc_i2c doesn't build, so remove from /usr/src/lirc-0.8.5/dkms.conf (comment entry and reuse number in the last entry as they have to be consecutive) and from /usr/src/lirc-0.8.5/Makefile (remove i2c from the DRIVERS= line)
* rebuild with dkms:
dkms remove -m lirc -v 0.8.5 --all
dkms add -m lirc -v 0.8.5
dkms build -m lirc -v 0.8.5 --verbose
dkms install -m lirc -v 0.8.5
* restart lirc:
/etc/init.d/lirc stop
rmmod lirc_igorplugusb lirc_dev
/etc/init.d/lirc start
If rmmod crashes, you'll have a kernel segfault in /var/log/syslog, in that case you have to reboot.