Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[lirc] : invalid module format
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
yaz
n00b
n00b


Joined: 25 Feb 2003
Posts: 38

PostPosted: Thu Oct 13, 2005 6:37 am    Post subject: [lirc] : invalid module format Reply with quote

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"
...


Code:
emerge lirc


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
View user's profile Send private message
Fredde
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2005
Posts: 98

PostPosted: Thu Oct 13, 2005 9:28 am    Post subject: Reply with quote

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
View user's profile Send private message
yaz
n00b
n00b


Joined: 25 Feb 2003
Posts: 38

PostPosted: Thu Oct 13, 2005 7:23 pm    Post subject: Reply with quote

Well I tried your tips Fredde.

WHEN I RUN mode2, I GET an answer telling me /dev/lirc is missing.
Back to top
View user's profile Send private message
Fredde
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2005
Posts: 98

PostPosted: Fri Oct 14, 2005 10:47 am    Post subject: Reply with quote

try to specify which device mode2 should use
Code:
mode2 -d /dev/ttyS0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum