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.
Installation instructions: lirc-0. 8.5/drivers/ lirc_igorplugus b/ b.c.orig b.c.mod 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)
* save attachment in /usr/src/
* patch file:
cp lirc_igorplugusb.c lirc_igorplugus
patch -i patchfile lirc_igorplugusb.c
cp lirc_igorplugusb.c lirc_igorplugus
* for karmic, lirc_i2c doesn't build, so remove from /usr/src/
* 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.