I need some help here installing lirc and getting it to work with mandrake
9.1. If you have succesfully done this please reply!
First off the myth guide about setting up lirc using the source does not
work. Here is what I am doing now, and what happens. I uninstalled the lirc
package that comes with mandrake, as that was causing a lot of conflicts and
cleaned everything to do with lirc to start fresh. Now I built the IR
improved transmitter and simple receiver on the lirc site, both work
perfectly under windows and I have had the receiver work on mandrake before.
1. Downloaded & Extracted lirc-0.6.6 to a directory
2. #./setup.sh & selected Home-brew (16x50 UART compatible serial port),
then COM1 (0x3f8, 4), then selected "with transmitter diode & software
generated carrier", save configure & run config. After it is done, it
reports: "You will have to use the lirc_serial kernel module." Now nobody
can tell me what to do with lirc_serial, do I have to compile the kernel
with that module in mandrake 9.1? If so how, if not why won't it work?
3. make, make install
4. check "ls -l /dev/li*" and this appears:
prw-rw-rw- 1 root root 0 may 27... /dev/lircd |
prw-r--r-- 1 root root 0 may .... /dev/lircm|
5. So make a link manually "ln -sf ttyS0 lirc", and:
lr-xr-xr-x 1 root root 5 may 27 ... /dev/lirc -> ttyS0 in yellow
prw-rw-rw- 1 root root 0 may 27... /dev/lircd |
prw-r--r-- 1 root root 0 may .... /dev/lircm|
6. setserial /dev/ttyS0 uart none
7. modprode lirc_serial
*********errors***********
/lib/modules/2.4.21-0.13mdk/kernel/3rdparty/lirc/lirc_serial.o.gz:
init_module: Input/output error
Hint: insmod errors can be caused by incorrect module parameteres, including
invalid IO or IRQ parameters. You may find more information in syslog or the
out from dmesg modprobe: insmod
/lib/modules/2.4.21-0.13mdk/kernel/3rdparty/lirc/lirc_serial.o.gz failed
modprobe: insmod lirc_serial failed
ok so check out log at /var/log/messages:
localhost: kernel: lirc_serial: auto-detected active low receiver
localhost: kernel: _devfs_append_entry(serial): dir: "lirc" is not a
directory
localhost: kernel: devfs_register(lirc/serial): could not append to parent,
err: -20
localhost: kernel: lirc_serial: devfs_register failed!
that does not look good, what is going on? I am pretty sure it is on that
com port, irq and address, but I could be wrong. It is on the same port it
was working on before. Also when I disconnect it and run the same test, it
reports "auto-deteced active high receiver" instead of low, interesting so i
think that means its on the right port.
8. launch lirc, /usr/local/sbin/lircd
9. Try "mode2"
******error***********
"This program is only intended for receivers supporting the pulse/space
layer. Note that this is no error, but this program simply makes no sense
for your receiver."
10. Try "irw", returns to prompt, the lirc process terminates and has to be
restarted.
Help! What am I doing wrong? Do I have to compile the kernel, if so how?,
Chris
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
9.1. If you have succesfully done this please reply!
First off the myth guide about setting up lirc using the source does not
work. Here is what I am doing now, and what happens. I uninstalled the lirc
package that comes with mandrake, as that was causing a lot of conflicts and
cleaned everything to do with lirc to start fresh. Now I built the IR
improved transmitter and simple receiver on the lirc site, both work
perfectly under windows and I have had the receiver work on mandrake before.
1. Downloaded & Extracted lirc-0.6.6 to a directory
2. #./setup.sh & selected Home-brew (16x50 UART compatible serial port),
then COM1 (0x3f8, 4), then selected "with transmitter diode & software
generated carrier", save configure & run config. After it is done, it
reports: "You will have to use the lirc_serial kernel module." Now nobody
can tell me what to do with lirc_serial, do I have to compile the kernel
with that module in mandrake 9.1? If so how, if not why won't it work?
3. make, make install
4. check "ls -l /dev/li*" and this appears:
prw-rw-rw- 1 root root 0 may 27... /dev/lircd |
prw-r--r-- 1 root root 0 may .... /dev/lircm|
5. So make a link manually "ln -sf ttyS0 lirc", and:
lr-xr-xr-x 1 root root 5 may 27 ... /dev/lirc -> ttyS0 in yellow
prw-rw-rw- 1 root root 0 may 27... /dev/lircd |
prw-r--r-- 1 root root 0 may .... /dev/lircm|
6. setserial /dev/ttyS0 uart none
7. modprode lirc_serial
*********errors***********
/lib/modules/2.4.21-0.13mdk/kernel/3rdparty/lirc/lirc_serial.o.gz:
init_module: Input/output error
Hint: insmod errors can be caused by incorrect module parameteres, including
invalid IO or IRQ parameters. You may find more information in syslog or the
out from dmesg modprobe: insmod
/lib/modules/2.4.21-0.13mdk/kernel/3rdparty/lirc/lirc_serial.o.gz failed
modprobe: insmod lirc_serial failed
ok so check out log at /var/log/messages:
localhost: kernel: lirc_serial: auto-detected active low receiver
localhost: kernel: _devfs_append_entry(serial): dir: "lirc" is not a
directory
localhost: kernel: devfs_register(lirc/serial): could not append to parent,
err: -20
localhost: kernel: lirc_serial: devfs_register failed!
that does not look good, what is going on? I am pretty sure it is on that
com port, irq and address, but I could be wrong. It is on the same port it
was working on before. Also when I disconnect it and run the same test, it
reports "auto-deteced active high receiver" instead of low, interesting so i
think that means its on the right port.
8. launch lirc, /usr/local/sbin/lircd
9. Try "mode2"
******error***********
"This program is only intended for receivers supporting the pulse/space
layer. Note that this is no error, but this program simply makes no sense
for your receiver."
10. Try "irw", returns to prompt, the lirc process terminates and has to be
restarted.
Help! What am I doing wrong? Do I have to compile the kernel, if so how?,
Chris
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus