Since version 0.8.5-0ubuntu2 we don't have support for Home-brew serial-port driver Igor Cesko's variation in lirc deb package.
This how-to will show how to recompile (debian/ubuntu way) lirc package to get that support.
This example is for version 0.8.6, but it should work with other versions too.
Get the lirc sources:
Install missing build dependencies:sudo apt-get -d source lirc
Unpack and patch sources:sudo apt-get build-dep lirc
Apply modifications;tar xzvf lirc_0.8.6.orig.tar.gz
cd lirc-0.8.6/
zcat ../lirc_0.8.6-0ubuntu2.diff.gz | patch -p1
in file debian/modules-source/lirc-modules-source.conf set LIRC_SERIAL_CFLAGS to:
at the top of the file lirc-0.8.6/debian/changelog insert something like thisLIRC_SERIAL_CFLAGS=" -DLIRC_SERIAL_SOFTCARRIER -DLIRC_SERIAL_IGOR"
This step is optional, but it will provide nicer upgrade of official package. Note that we increased package version (3 in 0.8.6-0ubuntu3), official latest version was lirc_0.8.6-0ubuntu2.lirc (0.8.6-0ubuntu3) karmic; urgency=low
* Added -DLIRC_SERIAL_IGOR to lirc_serial module
-- Your Name <your@email> Fir, 25 Jun 2009 10:42:45 -0500
Build package
Install binary packages:sudo dpkg-buildpackage -rfakeroot -uc -us -sa -d
and new modulessudo dpkg -i lirc_0.8.6-0ubuntu3_i386.deb liblircclient0_0.8.6-0ubuntu3_i386.deb
New installed lirc_serial module supports Igor Cesko's variation, we just have to configure it, run:sudo dpkg -i lirc-modules-source_0.8.6-0ubuntu3_all.deb
and select Home-brew (16x50 UART compatible serial port).sudo dpkg-reconfigure lirc
That's it! This method could be used for other drivers too.
Bookmarks