|
|
Re: kernel tainted/device busy for ttyS1?: msg#00028
hardware.lirc
|
Subject: |
Re: kernel tainted/device busy for ttyS1? |
Thanks! I don't think I should be playing around with ttyS0, since that's got a serial cable that's been changing channels just fine on my set top box. Would I put this in /etc/modprobe.d/lirc? (And would /etc/init.d/irda-utils or /../irda-setup play into this at all?)
Thanks again! On 2/6/06, francis belanger <francis.belanger-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
The quick answer is that you need to disable standard serial port, try that before loading your driver:
setserial /dev/ttyS0 uart none setserial /dev/ttyS1 uart none
and try it again
On 2/6/06, John Brooks <iresprite-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
Hi, all. I've been trying to look into this a little further before posting, and here's what I have.
I am using Ubuntu Breezy Badger with the 2.6.12-10-k7 kernel. I configured, then did make and make install for lirc
0.8.0.
I created /etc/modprobe.d/lirc: ### install lirc_sir /usr/local/sbin/smcinit; /sbin/modprobe --ignore-install lirc_sir alias char-major-61 lirc_sir options lirc_sir io=0x3f8 irq=4 ###
It does not come up with lirc_sir at startup, though, and when I go to modprobe it, I get the following error (and corresponding output in dmesg)
sh: /usr/local/sbin/smcinit: No such file or directory FATAL: Error inserting lirc_sir (/lib/modules/2.6.12-10-k7/misc/lirc_sir.ko): Device or resource busy FATAL: Error running install command for lirc_sir
from dmesg: lirc_dev: IR Remote Control driver registered, at major 61 lirc_sir: no version for "lirc_unregister_plugin" found: kernel tainted. lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_sir: i/o port 0x03f8 already in use.
According to fuser, irattach has grabbed ttyS1 yet again:
root 7655 0.0 0.0 1544 492 ? S 14:12 0:00 /usr/sbin/irattach /dev/ttyS1 none -s
I'm assuming that's why 0x3f8 is busy.
Can anyone help me out here? I'm really lost... thanks.
|
|