View previous topic :: View next topic |
Author |
Message |
yaz n00b
Joined: 25 Feb 2003 Posts: 38
|
Posted: Thu Oct 13, 2005 6:37 am Post subject: [lirc] : invalid module format |
|
|
I am trying to install lirc on my computer : kernel 2.6.11 without any succes.
/etc/make.conf
Code: |
...
LIRC_OPTS="--with-driver=silitek"
... |
modprobe -l
Code: | ...
lirc_serial
lirc_dev
...
|
modprobe lirc_serial and modprobe lirc_dev return "... invalid module format"
Does someone have any idea on how to solve this. |
|
Back to top |
|
|
Fredde Tux's lil' helper
Joined: 08 Feb 2005 Posts: 98
|
Posted: Thu Oct 13, 2005 9:28 am Post subject: |
|
|
Hi!
As I understand silitek is a serial reciver. You should not use lirc_serial, you should use the 8250 serial driver in the kernel. It's problably already compiled in the kernel. You don't need to load any lirc_* modules for that reciver.
Make sure you have the kernel serial driver compiled, and then start lirc with:
Code: | lircd --device=/dev/ttyS0 --driver=silitek |
And, you also need the correct lircd.conf file, which you should have if you got lirc from portage (LIRC_OPTS="--with-driver=silitek") |
|
Back to top |
|
|
yaz n00b
Joined: 25 Feb 2003 Posts: 38
|
Posted: Thu Oct 13, 2005 7:23 pm Post subject: |
|
|
Well I tried your tips Fredde.
WHEN I RUN mode2, I GET an answer telling me /dev/lirc is missing. |
|
Back to top |
|
|
Fredde Tux's lil' helper
Joined: 08 Feb 2005 Posts: 98
|
Posted: Fri Oct 14, 2005 10:47 am Post subject: |
|
|
try to specify which device mode2 should use
Code: | mode2 -d /dev/ttyS0 |
|
|
Back to top |
|
|
|