On Fri, 2005-02-04 at 01:13, HaJo Schatz wrote:
On Thu, 2005-01-27 at 17:18 +0800, Ow Mun Heng wrote:
> Does anyone on either of this list know how to properly configure LIRC
> esp on a laptop?
Yeah, tricky thanks to the limited lirc documentation.
> and also /dev/lirc/0
>
> if I start lircd via
>
> sudo lircd -n -d /dev/lirc/0 on a console and then
> I start "irw" on another, pressing _any_ buttons on the remote (any
> remote) doesn't give me any output.
>
> Addition to that, using irrecord also does not work.
You have insmod'ed lirc_sir, have you? Poorly documented, but you'll
need the module to have ir-support. It has to be configured properly and
-- and that was the tricky part -- the UART has to be prepared. For my
laptop this means the following in /etc/modprobe.conf:
# Lirc remote control
alias char-major-61 lirc_sir
options lirc_sir irq=3 io=0x2f8
install lirc_sir { /bin/setserial /dev/ttyS1 uart none
|| : ; }; /sbin/modprobe --ignore-install lirc_sir
I guess you know what that means... If no,. ask me.
I've finally gotten it working. I'm not sure if it's because I compiled
SMSC_?? into the kernel and not as a module or otherwise.
but it works now
> If I can't get this to work, Mythtv will be of not much use :-(
Yeah, same here, but with freevo instead.
The wiki of freevo gives some more hints about LIRC.
HaJo
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!
Neuromancer 10:48:29 up 1:27, 6 users,
load average: 1.00, 0.87, 1.13