OK, have made some good progress but hit a wall...
The info at lirc.org suggests which modules i need;
Quote:
Originally Posted by lirc.org/html/table.html
Hardware | configure --with-driver option | Required LIRC kernel modules
SIR IrDA (built-in IR ports) | sir | lirc_dev lirc_sir
|
modprobe lirc_sir outputs
Code:
lirc_register_driver: dev pointer not filled in!
lirc_sir: init_chrdev() failed.
FATAL: Error inserting lirc_sir (/path/to/lirc_sir.ko): Input/output error
Googling this suggested using the GIT version of LIRC.
so, i followed the guide below (after installing git)
Quote:
Originally Posted by lirc.org/git.html
Get the sources:
git clone git://lirc.git.sourceforge.net/gitroot/lirc/lirc
Subsequent updates:
git pull
Compile:
cd lirc
./autogen.sh
./setup.sh
make
You need at least libtool-1.5.22, automake-1.9.6 and autoconf-2.61 to build the necessary files.
|
./setup.sh complained 'dialog not found'. So i installed dialog. Following the guide at
http://ubuntuforums.org/showthread.php?t=765454 I went through the config, selecting SIR, onboard IRDA, and the correct address / IRQ, no issues there.
at the next point, when running 'mode2' i get 'mode2: could not get file information for /dev/lirc, mode2: default_init(): no such file or directory'. AFAICT, the issue is that there is no /dev/lirc (or /dev/lirc0, /dev/lircd) i foud somewhere that said this means the driver is probably not properly installed. Which makes sense as modprobe lirc_sir still returns the original result. (I'm not 100% sure i installed LIRC correctly from git.. as i didn't uninstall anything first?).
EDIT: yes, it was loading the old lirc_sir from the kernel.. i renamed this .ko file (bad practice, i'm sure, but i CBA to rebuild the kernel again just to try that).. re-removed/installed lirc from GIT again, rebooted. Now get 'lirc_sir: i/o port 0xXXXX already in use.' this required '/bin/setserial /dev/ttyS0 uart none' and then 'modprobe lirc_sir' worked(!!). THEN just 'cd /dev, ln -s lirc0 lirc' and mode2 takes inputs now i 'just' need to set the remote /commands up.