I tried installing LIRC on my system, the last thing I need to get up
and running. I am having a bunch of problems getting this to work.
Any help would be greatly appreciated. I am very new to the whole idea
of linux so any solutions might need to be explained a bit more
thoroughly. Thanks. Here is what I did to install LIRC:
I followed section 8.2 for a Mandrake install (v9.0). I did not
download the kernel from www.kernel.org because I installed it using
urpmi kernel-source at a command prompt, which installed 2.4.19.16mdk
if I am not mistaken. Downloaded and installed LIRC per documents
section 8.2. Skipped to section 8.4 and untar'd and ran setup. I am
using a homebrew receiver, I purchased off of
http://www.zapway.de/index1.htm as listed on LIRCs page. I chose the
default Driver Configuration it had set up. It is plugged into my only
serial 9-pin port. The Driver Configuration listed driver:serial
io:0x3f8 irq:4. According to my bios, COM1 is on io 0x03f8. However, I
am not sure what irq it is using. Is there any way I can find out? I
still continued on with the install. Said I needed to run make, and
make install. I ran $ make from the lirc directory, $ su, # make
install from the lirc directory, and # chmod 666 /dev/lircd from the
lirc directory. Did a ls -l /dev/li* and /dev/lirc was not linked to
ttyS0 (which I found out by reading was COM1 (so I really am learning
things about linux)). Followed the instructions in the DOC to link it
to ttyS0 which I did and checked and confirmed. I then proceeded to
section 8.5 and added the alias char-major-61 lirc_serial line to my
modules.conf. I then did the modprobe lirc_serial and
the /sbin/ldconfig, then I ran /usr/local/sbin/lircd. I went to run
irrecord myremote but recieved the following error:
[derek@localhost derek]$ irrecord myremote
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
irrecord: could not get hardware features
irrecord: this device driver does not support the new LIRC interface
irrecord: make sure you use a current version of the driver
irrecord: could not init hardware (lircd running ? --> close it, check
permissions)
So I tried rebooting and tried loading modprobe lirc_serial again just
to make sure it loaded it and got:
[root@localhost derek]# modprobe lirc_serial
/lib/modules/2.4.19-16mdk/kernel/3rdparty/lirc/lirc_serial.o.gz:
init_module: Input/output error
Hint: insmod errors can be caused by incorrect module parameters,
including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod
/lib/modules/2.4.19-16mdk/kernel/3rdparty/lirc/lirc_serial.o.gz failed
So I ran dmesg as listed there and recieved the following output:
lirc_serial: port 03f8 already in use, proceeding anyway
lirc_serial: compile the serial port driver as module and
lirc_serial: make sure this module is loaded first
lirc_serial: auto-detected active low receiver
_devfs_append_entry(serial): dir: "lirc" is not a directory
devfs_register(lirc/serial): could not append to parent, err: -20
lirc_serial: devfs_register failed!
lirc_serial: auto-detected active low receiver
I have tried reinstalling LIRC and have the same problem. I dont know
how to uninstall LIRC if any one can let me know how to do that, so I
can try reinstalling fresh. Otherwise the only thing I can think of is
I am on the wrong irq but I do not know how to check that. Otherwise
if anyone else has a different suggestion please let me know. Thanks.
-Derek
and running. I am having a bunch of problems getting this to work.
Any help would be greatly appreciated. I am very new to the whole idea
of linux so any solutions might need to be explained a bit more
thoroughly. Thanks. Here is what I did to install LIRC:
I followed section 8.2 for a Mandrake install (v9.0). I did not
download the kernel from www.kernel.org because I installed it using
urpmi kernel-source at a command prompt, which installed 2.4.19.16mdk
if I am not mistaken. Downloaded and installed LIRC per documents
section 8.2. Skipped to section 8.4 and untar'd and ran setup. I am
using a homebrew receiver, I purchased off of
http://www.zapway.de/index1.htm as listed on LIRCs page. I chose the
default Driver Configuration it had set up. It is plugged into my only
serial 9-pin port. The Driver Configuration listed driver:serial
io:0x3f8 irq:4. According to my bios, COM1 is on io 0x03f8. However, I
am not sure what irq it is using. Is there any way I can find out? I
still continued on with the install. Said I needed to run make, and
make install. I ran $ make from the lirc directory, $ su, # make
install from the lirc directory, and # chmod 666 /dev/lircd from the
lirc directory. Did a ls -l /dev/li* and /dev/lirc was not linked to
ttyS0 (which I found out by reading was COM1 (so I really am learning
things about linux)). Followed the instructions in the DOC to link it
to ttyS0 which I did and checked and confirmed. I then proceeded to
section 8.5 and added the alias char-major-61 lirc_serial line to my
modules.conf. I then did the modprobe lirc_serial and
the /sbin/ldconfig, then I ran /usr/local/sbin/lircd. I went to run
irrecord myremote but recieved the following error:
[derek@localhost derek]$ irrecord myremote
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
irrecord: could not get hardware features
irrecord: this device driver does not support the new LIRC interface
irrecord: make sure you use a current version of the driver
irrecord: could not init hardware (lircd running ? --> close it, check
permissions)
So I tried rebooting and tried loading modprobe lirc_serial again just
to make sure it loaded it and got:
[root@localhost derek]# modprobe lirc_serial
/lib/modules/2.4.19-16mdk/kernel/3rdparty/lirc/lirc_serial.o.gz:
init_module: Input/output error
Hint: insmod errors can be caused by incorrect module parameters,
including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod
/lib/modules/2.4.19-16mdk/kernel/3rdparty/lirc/lirc_serial.o.gz failed
So I ran dmesg as listed there and recieved the following output:
lirc_serial: port 03f8 already in use, proceeding anyway
lirc_serial: compile the serial port driver as module and
lirc_serial: make sure this module is loaded first
lirc_serial: auto-detected active low receiver
_devfs_append_entry(serial): dir: "lirc" is not a directory
devfs_register(lirc/serial): could not append to parent, err: -20
lirc_serial: devfs_register failed!
lirc_serial: auto-detected active low receiver
I have tried reinstalling LIRC and have the same problem. I dont know
how to uninstall LIRC if any one can let me know how to do that, so I
can try reinstalling fresh. Otherwise the only thing I can think of is
I am on the wrong irq but I do not know how to check that. Otherwise
if anyone else has a different suggestion please let me know. Thanks.
-Derek