USB-UIRT with Lirc 0.7.1
There's a HOW-TO on USB-UIRT forum -> Installation. It's not 100% correct, but gives an idea
-download and extract lirc-0.7.1
-apply a third-party patch lirc-0.7.1-usb_uirt patch
# tar xvfj lirc-0.7.1.tar.bz2
# cd lirc-0.7.1
# bzcat ../lirc-0.7.1-usb_uirt.patch.bz2 | patch -p1
- Fix a bug in the patch by commenting out the 55-th line in the deamons/hw_uirt2usb_raw.c
[root@fedora daemons]# diff hw_uirt2usb_raw.c.orig hw_uirt2usb_raw.c
55c55
< debug =" 3;"> //static int debug = 3;
- Run configure:
./configure --with-tty=/dev/ttyUSB0 --with-x --with-syslog --with-driver=usb-uirt2_raw --with-major=61 --with-port=none --with-irq=none "$@"
- It should build fine then with make. Sometimes, configure produced wrong Makefiles with tag=CC entries in them. I was lucky to have one attempt free of that, no idea why this was happening. (update: one can run libtoolize --force before configure)
lircd is in daemons directory
.#./lircd -H uirt2usb_raw -n -d /dev/ttyUSB0
-download and extract lirc-0.7.1
-apply a third-party patch lirc-0.7.1-usb_uirt patch
# tar xvfj lirc-0.7.1.tar.bz2
# cd lirc-0.7.1
# bzcat ../lirc-0.7.1-usb_uirt.patch.bz2 | patch -p1
- Fix a bug in the patch by commenting out the 55-th line in the deamons/hw_uirt2usb_raw.c
[root@fedora daemons]# diff hw_uirt2usb_raw.c.orig hw_uirt2usb_raw.c
55c55
< debug =" 3;"> //static int debug = 3;
- Run configure:
./configure --with-tty=/dev/ttyUSB0 --with-x --with-syslog --with-driver=usb-uirt2_raw --with-major=61 --with-port=none --with-irq=none "$@"
- It should build fine then with make. Sometimes, configure produced wrong Makefiles with tag=CC entries in them. I was lucky to have one attempt free of that, no idea why this was happening. (update: one can run libtoolize --force before configure)
lircd is in daemons directory
.#./lircd -H uirt2usb_raw -n -d /dev/ttyUSB0
0 Comments:
Post a Comment
<< Home