Hi to all,
Installed Ubuntu 11.10 and realized my lirc hardware based on audio input
does not work.
In the Sound Settings -> Input I can see the signal from remote.
arecord seems to work:
# arecord -D hw:1 -c2 -r48000 -f S16_LE > xxxx
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^C Aborted by signal Interrupt...
Audacity is able to record signal as well (really nice tool for IR remote
debugging, must say).
But then:
# mode2 -d hw:1
mode2: could not get file information for hw:1
mode2: default_init(): No such file or directory
# mode2 -H audio_alsa
mode2: could not open audio device hw: No such file or directory
mode2: audio_alsa_init (): No such file or directory
lirc-list@...
# irrecord -d hw:1 xxxx
........
irrecord: could not get file information for hw:1
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check
permissions).
(lircd was not running here, of course)
Seems there are no corresponding modules in the lirc package:
# modprobe lirc_audio_alsa
FATAL: Module lirc_audio_alsa not found.
# modprobe lirc_audio
FATAL: Module lirc_audio not found.
# lsmod | grep lirc
returns nothing;
# find /lib -name "*lirc*" | grep lirc
finds just limited subset:
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_sasem.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_sir.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_imon.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_zilog.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_ttusbir.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_serial.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_igorplugusb.ko
/lib/modules/3.0.0-12-generic-pae/kernel/drivers/staging/lirc/lirc_bt829.ko
The lirc-module-source package is not available in the official repos:
# apt-get install lirc-module-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lirc-module-source
Finally, I tried to compile and install the LIRC 0.9.0 from official LIRC
source.
Everything compiled nicely, but modprobe failed to load module for
incompatibility.
Any suggestions ??
|