Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc_serial kernel module won't load [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Mon Nov 04, 2013 12:59 pm    Post subject: lirc_serial kernel module won't load [solved] Reply with quote

I had Lirc working with my hauppauge PV350, but I want to move the card to a dedicated mythbackend in my server, so as not to have the frontend running needlessly. So I soldered a serial receiver and reemerged lirc with LIRC_DEVICES="serial".
Now when I want to load lirc_serial I get:
Code:
modprobe: ERROR: could not insert 'lirc_serial' : Device or resource busy


In dmesg I see the serialports being found:
Code:
[    2.133769] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.154515] 00:01: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    2.420285] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A


I know it's the first one, the other is not connected, but both give the error.
I have been looking around and found something about:
Code:
setserial /dev/ttyS0 uart none

to release the serial port, but I don't know which package to emerge to get setserial.
Can anybody give me a hint?

Hika


Last edited by hika on Mon Nov 04, 2013 4:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Mon Nov 04, 2013 4:10 pm    Post subject: Reply with quote

OK, searching on 'setserial' I found an old post from 2010
https://forums.gentoo.org/viewtopic-t-812680-highlight-setserial.html and he had a similar problem

Quote:
Device Drivers --- Character devices --- Serial drivers --- < > 8250/16550 and compatible serial support should be disabled.


This is something that is enabled in the kernel by default.
I don't know what to do if you want one serial port as character device (console) and the other not.
Anyway lirc_serial now loads and I can go further in getting it to work

Hika
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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