[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lirc on Debian with AMD64



Hi Andrew,

Andrew Sackville-West wrote:
On Sun, Sep 23, 2007 at 05:14:36PM +1000, Greg Vickers wrote:
Hi all,

I'm trying to get lirc to work with my Hauppauge on my Debian installation on AMD64. I've used module assistant to create the lirc kernel modules and the modules install and modprobe successfully:
# lsmod | grep lirc
lirc_i2c               14980  0
lirc_dev               20264  1 lirc_i2c
i2c_core 27776 6 lirc_i2c,cx88xx,bttv,i2c_algo_bit,tveeprom,i2c_nforce2

relevant logs from the module insertion would be good. ON my knoppmyth
box all these modules produce pretty copious and useful output.

# grep lirc /var/log/messages | tail
Sep 24 08:10:19 wushu kernel: lirc_dev: IR Remote Control driver registered, at major 61 Sep 24 08:10:19 wushu kernel: lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.

# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.

A bit of a dearth of log information :(

Once the modules are loaded, I can't talk to the /dev/lirc file with mode2 or anything else, so I think there may be something wrong with the udev rules, the only entry I can find is in the /etc/udev/permissions.rules file:
KERNEL=="lirc[0-9]*",                           GROUP="video"

what device nodes are created?

# ll /dev/lirc*
crw-rw---- 1 root root 61, 0 2007-09-23 16:27 /dev/lirc
srw-rw-rw- 1 root root     0 2007-09-23 16:22 /dev/lircd
prw-r--r-- 1 root root     0 2007-09-23 16:22 /dev/lircm

But lirc dissappears after a reboot, and sometimes lircd and lircm go as well, until I remove the kernel modules package and reinstall. (?)

how are you taking to /dev/lirc?

With the lirc programs mode2 or irrecord, even though /dev/lirc is present, these programs complain about:
mode2: error opening /dev/lirc
mode2: No such device

Even though permissions are 666 on /dev/lirc.

FTR, I'v ehad lots of trouble with hauppage IR stuff. Some of it has
been physical (the jack port is pretty crappy and sometimes you have
to just fiddle with the darn thing), and some of it has been software
(I lost remote usage from upgrade to the next. Its curently working
with the latest knoppmyth

Oh, good :p

andrew@mythtv:~$ dpkg -l lirc
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name                                         Version
Description
+++-============================================-============================================-========================================================================================================
ii  lirc                                         0.8.0-9.2
Linux Infra-red Remote Control support

# dpkg -l lirc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  lirc           0.8.0-9.2      Linux Infra-red Remote Control support

hth, oh and this is not AMD64

Yeah, I'm guessing that this may be a problem, the AMD64 bit. I do have a fallback position, I have a DVB card that has an IR receive on it, so I can try that instead of the Hauppauge.

Although I may have the same problems with any other card as with the Hauppauge, so any suggestions you may have would be great!

Thanks,
Greg



Reply to: