|
From: <ssc...@wo...> - 2006-01-20 19:32:30
|
I'm guessing that the built in infrared module is really and IrDA port.
If so, in the setup.sh try,
driver configuration -> 6 IrDA hardware -> (choose appropriate)
Otherwise, give us some more details about the built in port.
----- Original Message -----
From: John Mann <joh...@gm...>
Date: Friday, January 20, 2006 2:22 pm
Subject: lirc Installation Question
> 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=/usr/src/kernel-source-2.4.27 --
> with-driver=sir
> # 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=/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
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD
> SPLUNK!http://sel.as-
> us.falkag.net/sel?cmdgk&kid3432&bid#0486&dat1642
|