From: John M. <joh...@gm...> - 2006-01-20 19:22:58
|
I'm trying to install lirc 0.7.2 on Debian 3.1 linux kernel 2.4.27. The kernel has been recompiled as a custom version in order to include kernel modules and to have built-in infrared modules that are available. I downloaded lirc 0.7.2 and tried the setup.sh script, but it did not work, because it did not know where my kernel source was located at by default. I ran the setup.sh and did all of the setup for what I assume was the correct settings for my computer's IR. It is running on a Dell Latitude CPx 450Mhz with a built-in IR on the back of the unit, so I picked the SIR driver as my hardware in the setup.sh program. Exiting that without performing the configure, it saves my settings to a file. I then did a manual ./configure to show where my kernel source was located: # ./configure --with-kerneldir=3D/usr/src/kernel-source-2.4.27 --with-drive= r=3Dsir # make # make install all went without a hitch - no errors # ls /dev/lirc* /dev/lirc /dev/lircd /dev/lircm # chmod 666 /dev/lirc* # lircd lircd 0.7.2: could not open config file '/etc/lircd.conf' lircd 0.7.2: No such file or directory # # ls /etc/lirc* # (no files found!!!) So, my first error... Not sure where the lircd.conf file would have gone to, either! So, I read on the internet a little about this error, and it tells me I need to run irrecord, so I run it: # lircd ( a warning about the pid since it is running ) # kill 7282 ( which stops the lircd ) # irrecord --device=3D/dev/lirc /etc/lircd.conf irrecord - application for recording IR-codes for usage with lirc Copyright (C) 1998,1999 Christoph Bartelmus(li...@ba...) irrecord: could not open /dev/lirc irrecord: default_init(): No such device irrecord: could not init hardware (lircd running ? --> close it, check permissions) # Well, permissions on /dev/lirc* are at 666, I'm logged in as root anyhow, and lircd is not running - killed the pid before I did the irrecord. What else can I do - what am I missing? Anyone have suggestions? Thanks, John Mann |