I'm running Mandrake 10, and am trying to get LIRC working with the
Actisys Irda-to-serial-port adapter. I'm currently trying two different
lines of thought to get it to work:
First, I'm trying to use the Mandrake 10 LIRC package, since it would be
ideal to be able to uninstall the LIRC easily if I needed to. However,
the Mandrake LIRC package seems to be borked. Using the lirc_sir
driver, I have successfully gotten mode2 to see my remote and irrecord
to get the buttons for it... but none of the client programs can connect
to /dev/lircd. When I try to run one, I get this response:
[colson@... colson] irexec
irexec: could not connect to socket
irexec: Connection refused
The same thing happens with any of the programs that I run, (irw,
Secondly, I'm trying to compile LIRC from the source (with version
0.6.6). setup.sh and configure run fine. When configure finishes, it
tells me I have it configured for the lirc_sir module, and to run make
and make install. However, when I do so, it gives me the error:
make: Entering directory '/home/colson/lirc-0.6.6/drivers/lirc_sir'
Makefile:378: /usr/src/linux//Rules.make: No such file or directory
and errors out. On further investigation, this Rules.make file appears
to only exist in 2.4 kernels, and be absent in all 2.6 kernels. Does
this mean that LIRC only works on 2.4? Is there any way I can get ahold
of a Rules.make for my 2.6 kernel, or circumvent the need for one, or
something? My kernel already has a lirc_sir.o module compiled, so
theoretically I shouldn't need to recompile it, I would think.
If anyone has answers to my questions, I would be much obliged... Thanks
From: Adam Nielsen <a.nielsen@op...> - 2004-08-04 21:49:57
> Using the lirc_sir driver, I have successfully gotten mode2 to see my
> remote and irrecord to get the buttons for it... but none of the
> client programs can connect to /dev/lircd.
Did you run lircd? /dev/lircd is used for communication with the LIRC
daemon, and if the daemon isn't running you get a 'connection refused'
> On further investigation, this Rules.make file appears to only exist
> in 2.4 kernels, and be absent in all 2.6 kernels. Does this mean that
> LIRC only works on 2.4?
Well I'm running it on 2.6, so I don't know why yours is looking for
this file. You compiled your own kernel source, right? I don't know
for this particular case, but usually that fixes everything ;-)
> My kernel already has a lirc_sir.o module compiled, so theoretically I
> shouldn't need to recompile it, I would think.
Maybe not, but it's always cleaner if you do.