2009-09-10, 19:50
can you give the result of this?
Quote:find /lib/modules/ -iname 'lirc*.ko'
MP3HiFi Wrote:Hi,
mine isn't working right now.
I downloaded and installed the new lirc. The file /lib/modules/2.6.28-15-server/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko exists.
Any idea?
PHP Code:root@HTPC:/usr/src/lirc-0.8.6pre1# sudo modprobe lirc_it87
FATAL: Error inserting lirc_it87 (/lib/modules/2.6.28-15-server/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko): No such device or address
root@HTPC:/usr/src/lirc-0.8.6pre1# mc
root@HTPC:/usr/src/lirc-0.8.6pre1# mc
root@HTPC:/usr/src/lirc-0.8.6pre1# sudo modprobe lirc_it87
FATAL: Error inserting lirc_it87 (/lib/modules/2.6.28-15-server/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko): No such device or address
root@HTPC:/usr/src/lirc-0.8.6pre1# dmesg |grep lirc
[ 9.462955] lirc_dev: IR Remote Control driver registered, major 61
[ 9.496906] lirc_dev: lirc_register_plugin: sample_rate: 0
[ 9.496963] lirc_it87: no IT8705/12 found, exiting..
[ 13.170037] lirc_dev: lirc_register_plugin: sample_rate: 0
[ 13.170096] lirc_it87: no IT8705/12 found, exiting..
[ 56.464328] lirc_dev: lirc_register_plugin: sample_rate: 0
[ 56.464387] lirc_it87: no IT8705/12 found, exiting..
[ 773.990635] lirc_dev: lirc_register_plugin: sample_rate: 0
[ 773.990712] lirc_it87: no IT8705/12 found, exiting..
[ 1019.134608] lirc_dev: lirc_register_plugin: sample_rate: 0
[ 1019.134684] lirc_it87: no IT8705/12 found, exiting..PHP Code:dmesg
[ 9.692055] lirc_dev: IR Remote Control driver registered, major 61
[ 9.694561] lirc_dev: lirc_register_plugin: sample_rate: 0
[ 9.694622] lirc_it87: no IT8705/12 found, exiting..
[ 2.419815] lirc_dev: IR Remote Control driver registered, major 61
[ 2.422030] lirc_dev: lirc_register_driver: sample_rate: 0
[ 2.422100] lirc_it87: found IT8720.
[ 2.422116] lirc_it87: set default io 0x310
[ 2.422131] lirc_it87: set default irq 0xb
[ 2.422166] lirc_it87: I/O port 0x0310, IRQ 11.
[ 2.422177] lirc_it87: Installed.
darkattraction Wrote:can you give the result of this?
~$ uname -r
2.6.28-15-generic
~$ find /lib/modules/ -iname 'lirc*.ko'
/lib/modules/2.6.28-15-generic/kernel/ubuntu/lirc/lirc_gpio/lirc_gpio.ko
/lib/modules/2.6.28-15-generic/kernel/ubuntu/lirc/lirc_serial_igor/lirc_serial_igor.ko
/lib/modules/2.6.28-15-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_serial.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_dev.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_mceusb.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_ite8709.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_mceusb2.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_streamzap.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_atiusb.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_sir.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_i2c.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_sasem.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_igorplugusb.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_bt829.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_cmdir.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_pvr150.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_it87.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_ttusbir.ko
/lib/modules/2.6.28-15-generic/misc/lirc_dev.ko
/lib/modules/2.6.28-15-generic/misc/lirc_it87.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_atiusb/lirc_atiusb.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_serial/lirc_serial.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_bt829/lirc_bt829.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_gpio/lirc_gpio.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_ttusbir/lirc_ttusbir.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_pvr150/lirc_pvr150.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_serial_igor/lirc_serial_igor.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_igorplugusb/lirc_igorplugusb.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_sir/lirc_sir.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_mceusb/lirc_mceusb.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_mceusb2/lirc_mceusb2.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_sasem/lirc_sasem.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_imon/lirc_imon.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_i2c/lirc_i2c.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_streamzap/lirc_streamzap.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_cmdir/lirc_cmdir.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/lirc/lirc_dev/lirc_dev.ko
/lib/modules/2.6.28-14-generic/kernel/ubuntu/lirc/lirc_gpio/lirc_gpio.ko
/lib/modules/2.6.28-14-generic/kernel/ubuntu/lirc/lirc_serial_igor/lirc_serial_igor.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_serial.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_dev.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_imon.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_mceusb.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_ite8709.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_mceusb2.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_streamzap.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_atiusb.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_sir.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_i2c.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_sasem.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_igorplugusb.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_bt829.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_cmdir.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_pvr150.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_it87.ko
/lib/modules/2.6.28-14-generic/updates/dkms/lirc_ttusbir.ko
/lib/modules/2.6.28-14-generic/misc/lirc_dev.ko
/lib/modules/2.6.28-14-generic/misc/lirc_it87.ko
aslef Wrote:Code:~$ uname -r
2.6.28-15-generic
~$ find /lib/modules/ -iname 'lirc*.ko'
..
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_dev.ko
/lib/modules/2.6.28-15-generic/updates/dkms/lirc_it87.ko
..
/lib/modules/2.6.28-15-generic/misc/lirc_dev.ko
/lib/modules/2.6.28-15-generic/misc/lirc_it87.ko
Asle
modprobe -r lirc_dev
modprobe -r lirc_it87
darkattraction Wrote:as you can notice you have twice lirc_dev and lirc_it87
so when you try to mount these modules, you charge the wrong ones I think ..
I hope I was clear and you will succeed to make your remote working
:~$ dmesg|grep lirc
[ 7.711430] lirc_dev: IR Remote Control driver registered, major 61
[ 7.716696] lirc_dev: lirc_register_driver: sample_rate: 0
[ 7.716762] lirc_it87: found IT8720.
[ 7.716776] lirc_it87: set default io 0x310
[ 7.716790] lirc_it87: set default irq 0x7
[ 7.716824] lirc_it87: I/O port 0x0310, IRQ 7.
[ 7.716834] lirc_it87: Installed.
:~$ ls /dev/lirc
lirc0 lircd
aslef Wrote:Code::~$ dmesg|grep lirc
[ 7.711430] lirc_dev: IR Remote Control driver registered, major 61
[ 7.716696] lirc_dev: lirc_register_driver: sample_rate: 0
[ 7.716762] lirc_it87: found IT8720.
[ 7.716776] lirc_it87: set default io 0x310
[ 7.716790] lirc_it87: set default irq 0x7
[ 7.716824] lirc_it87: I/O port 0x0310, IRQ 7.
[ 7.716834] lirc_it87: Installed.
:~$ ls /dev/lirc
lirc0 lircd
I've gotten a step further. Brilliant!
Asle
cat /var/log/daemon.log | grep lirc
Sep 15 13:29:52 myth lircd-0.8.4a[1821]: caught signal
Sep 15 13:47:57 myth lircd-0.8.4a[1814]: caught signal
Sep 15 13:48:05 myth lircd-0.8.4a[4379]: lircd(default) ready
Sep 15 13:49:03 myth lircd-0.8.4a[4379]: caught signal
Sep 15 13:49:21 myth lircd-0.8.4a[4421]: lircd(default) ready
Sep 15 13:49:40 myth lircd-0.8.4a[4421]: caught signal
Sep 15 13:50:06 myth lircd-0.8.4a[4595]: lircd(default) ready
Sep 15 13:51:22 myth lircd-0.8.4a[4595]: caught signal
Sep 15 13:52:58 myth lircd-0.8.4a[4640]: lircd(default) ready
Sep 15 14:01:44 myth lircd-0.8.4a[4640]: accepted new client on /dev/lircd
Sep 15 14:04:54 myth lircd-0.8.4a[4640]: removed client
Sep 15 14:11:12 myth lircd-0.8.4a[4640]: accepted new client on /dev/lircd
Sep 15 14:11:35 myth lircd-0.8.4a[4640]: removed client
Sep 15 14:47:19 myth lircd-0.8.4a[4640]: caught signal
dmesg |grep lirc
[ 7.658125] lirc_dev: IR Remote Control driver registered, major 61
[ 7.663241] lirc_dev: lirc_register_driver: sample_rate: 0
[ 7.663301] lirc_it87: found IT8720.
[ 7.663315] lirc_it87: set default io 0x310
[ 7.663329] lirc_it87: set default irq 0x7
[ 7.663361] lirc_it87: I/O port 0x0310, IRQ 7.
[ 7.663370] lirc_it87: Installed.
cat /etc/lircd.conf
#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.
#Configuration for the Windows Media Center Remotes (new version Philips et al.) remote:
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"
cat /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
REMOTE_MODULES="lirc_dev lirc_it87"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
aslef Wrote:I've gotten a bit further. The modules are loading properly although reporting IRQ 7 instead of 11 as the BIOS says. I can enter mode2 ("sudo mode2 -d /dev/lirc0") but I get no output when pressing the buttons. (I've checked the battery of the remote too...)
JS36 Wrote:Ok now i have reinstalled ubuntu jaunty again and haven't touched the synaptic lirc. I added this to /etc/modules
lirc_dev
lirc_it87
This gave me /etc/lirc0 now but still no /dev/lirc or /dev/lircd can i just link them from /usr/local/sbin where i found them?
dmesg |grep lirc
Code:[ 175.590388] lirc_dev: IR Remote Control driver registered, major 61
[ 180.828797] lirc_dev: lirc_register_driver: sample_rate: 0
[ 180.828862] lirc_it87: found IT8720.
[ 180.828876] lirc_it87: set default io 0x310
[ 180.828890] lirc_it87: set default irq 0x7
[ 180.828922] lirc_it87: I/O port 0x0310, IRQ 7.
Can this be an issue ? In bios my CIR have IRQ11 and it's only possible to choose IRQ 11 or 5. Can i force it to choose IRQ 11 by addinginto /etc/modules?Code:options lirc_it87 irq=11 io=0x0310
Sorry for all questions.
Hostis Wrote:thx for the good job sutsan.
But it would be really nice for you to post a detailed step by step guide from the beginning.
I had my friend over here and he managed to do this for me. But we got stucked here
Test irw - are the signals decoded correctly by lircd
irw /dev/lircd and start pressing buttons on the remote
you should get an output similar to the following:
000000037ff07bf2 00 Home mceusb
000000037ff07bf2 00 Home mceusb
000000037ff07bde 00 Right mceusb
000000037ff07bde 01 Right mceusb
000000037ff07bdf 00 Left mceusb
000000037ff07bdf 01 Left mceusb
Nothing happens when we pressed buttons at this stage.
Don´t know what else i can do for now.
bra gjort btw