Only thing that reacts to remote button presses is:
Starts printing weird chars for each button press.Code:sudo cat /dev/hidraw3
Only thing that reacts to remote button presses is:
Starts printing weird chars for each button press.Code:sudo cat /dev/hidraw3
The kernel still thinks lirc_i2c.ko is in /lib/modules/2.6.24.16-generic/updates/dkms. That directory is probably empty since you removed dkms early in this thread. Module dependencies need to be rebuilt:
FYI, the location of my lirc_i2c.ko is /lib/modules/2.6.24-16-generic/kernel/drivers/input/misc/lirc_i2c.koCode:$ sudo depmod
Yippee, we are moving forward again!
So rebuilding the dependencies has worked to get lirc_i2c.ko linked correctly.
After restarting lirc, I see that the lsmod and dmesg are finally showing entries!
modinfo shows the correct entry now.
Now we just need to get irw working!
What shall I do next?
Code:$ sudo depmod $ sudo /etc/init.d/lirc restart * Stopping remote control mouse daemon: LIRCMD [fail] * Stopping remote control daemon(s): LIRC [fail] * Starting remote control daemon(s) : LIRC [ OK ] * Starting remote control mouse daemon : LIRCMD [ OK ] $ lsmod | grep -i lirc lirc_dev 15732 0 $ dmesg | grep -i lirc [96316.930489] lirc_dev: IR Remote Control driver registered, at major 61 $ sudo modinfo lirc_i2c filename: /lib/modules/2.6.24-16-generic/kernel/drivers/input/misc/lirc_i2c.ko license: GPL author: Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus, Ulrich Mueller, Stefan Jahn, Jerome Brock description: Infrared receiver driver for Hauppauge and Pixelview cards (i2c stack) srcversion: BD764D95FF7997B3F7B4F3E depends: i2c-core,lirc_dev vermagic: 2.6.24-16-generic SMP mod_unload 586 parm: minor:Preferred minor device number (int) parm: debug:Enable debugging messages (bool) $ irw connect: Connection refused
Only lirc_dev is getting loaded when you start the daemon; lirc_i2c is not. Try
If that helps, do you have both lirc_dev and lirc_i2c listed in /etc/lirc/hardware.conf?Code:$ sudo modprobe lirc_i2c
We're in business!
So 'sudo modprobe lirc_i2c' seems to get lirc_dev running.
And to answer your question, yes both lirc_dev and lirc_i2c are in /etc/lirc/hardware.conf.Code:$ sudo modprobe lirc_i2c $ dmesg | grep -i lirc [96316.930489] lirc_dev: IR Remote Control driver registered, at major 61 [242744.936685] lirc_i2c: chip 0x10020 found @ 0x18 (Hauppauge IR) [242744.936714] lirc_dev: lirc_register_plugin: sample_rate: 10 $ irw 00000000000017c1 00 1 hauppauge_pvr 00000000000017c2 00 2 hauppauge_pvr 00000000000017c3 00 3 hauppauge_pvr 00000000000017c4 00 4 hauppauge_pvr 00000000000017c4 01 4 hauppauge_pvr 00000000000017c5 00 5 hauppauge_pvr 00000000000017c6 00 6 hauppauge_pvr 00000000000017c7 00 7 hauppauge_pvr 00000000000017c8 00 8 hauppauge_pvr 00000000000017c9 00 9 hauppauge_pvr 00000000000017c9 01 9 hauppauge_pvr 00000000000017c0 00 0 hauppauge_pvr 00000000000017c0 01 0 hauppauge_pvr 00000000000017c0 02 0 hauppauge_pvr 00000000000017e0 00 Ch+ hauppauge_pvr 00000000000017e1 00 Ch- hauppauge_pvr 00000000000017e1 01 Ch- hauppauge_pvr 00000000000017d0 00 Vol+ hauppauge_pvr 00000000000017d1 00 Vol- hauppauge_pvr
Code:$ more /etc/lirc/hardware.conf REMOTE="Hauppauge TV card" REMOTE_MODULES="lirc_dev lirc_i2c" REMOTE_DRIVER="" REMOTE_DEVICE="/dev/lirc0" REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge" REMOTE_LIRCD_ARGS="" TRANSMITTER="None" TRANSMITTER_MODULES="" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="" TRANSMITTER_LIRCD_CONF="" TRANSMITTER_LIRCD_ARGS="" START_LIRCD="true" START_LIRCMD="" LOAD_MODULES="" LIRCMD_CONF="" FORCE_NONINTERACTIVE_RECONFIGURATION="false"
Great so far!
Ok, so how do I ensure that both modules load at startup?
And how did the upgrade from Gutsy to Hardy break this?
Thanks again.
Got it working!
Minor change needed in the /etc/lirc/hardware.conf file:
/dev/lirc0 needed to be /dev/lirc/0
Thanks everyone for all your help.
$ cat /etc/lirc/hardware.conf
Code:REMOTE="Hauppauge TV card" REMOTE_MODULES="lirc_dev lirc_i2c" REMOTE_DRIVER="" REMOTE_DEVICE="/dev/lirc/0" REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge" REMOTE_LIRCD_ARGS="" TRANSMITTER="None" TRANSMITTER_MODULES="" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="" TRANSMITTER_LIRCD_CONF="" TRANSMITTER_LIRCD_ARGS="" START_LIRCD="true" START_LIRCMD="" LOAD_MODULES="" LIRCMD_CONF="" FORCE_NONINTERACTIVE_RECONFIGURATION="false"
thanks everyone, I also had the problem after upgrading and editing hardware.conf to replace REMOTE_DEVICE="/dev/lirc0"
by REMOTE_DEVICE="/dev/lirc/0" fixed it for me
Bookmarks