You are not logged in.
Pages: 1
I can not get the lirc_serial module to load
Running kernel 3.0.8
/usr/bin/setserial /dev/ttyS0 uart none
/usr/bin/setserial /dev/ttyS1 uart none
/sbin/modprobe lirc_serial
Results in:
FATAL: Error inserting lirc_serial (/lib/modules/3.0.8-ARCH/kernel/drivers/staging/lirc/lirc_serial.ko): Device or resource busy
modinfo lirc_serial | grep irq
parm: irq:Interrupt (4 or 3) (int)
parm: share_irq:Share interrupts (0 = off, 1 = on) (bool)
I googled but everybody tells you to fix it using setserial yet it does not work.
The problem occurs for both ttyS0 and ttyS1 (with ttyS0 the busy IRQ is 4)
In DSMEG I see:
[ 515.065475] lirc_dev: IR Remote Control driver registered, major 252
[ 515.066251] lirc_serial: module is from the staging directory, the quality is unknown, you have been warned.
[ 515.078414] lirc_serial: IRQ 3 busy
[ 616.022858] lirc_serial: bad vermagic: kernel tainted.
[ 616.022881] Disabling lock debugging due to kernel taint
cat /proc/interrupts
CPU0
0: 2395202 XT-PIC-XT-PIC timer
1: 2 XT-PIC-XT-PIC i8042
2: 0 XT-PIC-XT-PIC cascade
3: 0 XT-PIC-XT-PIC
4: 2 XT-PIC-XT-PIC
6: 1 XT-PIC-XT-PIC
7: 1 XT-PIC-XT-PIC
8: 0 XT-PIC-XT-PIC rtc0
9: 1 XT-PIC-XT-PIC
10: 20825 XT-PIC-XT-PIC ehci_hcd:usb1
11: 184892 XT-PIC-XT-PIC uhci_hcd:usb4, VIA8233
12: 0 XT-PIC-XT-PIC uhci_hcd:usb3
14: 9207 XT-PIC-XT-PIC pata_via
15: 2546714 XT-PIC-XT-PIC uhci_hcd:usb2, pata_via, yenta, cx88[0], cx88[0], eth0
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
SPU: 0 Spurious interrupts
PMI: 0 Performance monitoring interrupts
IWI: 0 IRQ work interrupts
RES: 0 Rescheduling interrupts
CAL: 0 Function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
THR: 0 Threshold APIC interrupts
MCE: 0 Machine check exceptions
MCP: 0 Machine check polls
ERR: 0
MIS: 0
Last edited by casacristo (2011-11-07 10:09:39)
Offline
Have you lircd in your services list in /etc/rc.conf? I have removed it and added
/usr/bin/setserial /dev/ttyS0 uart none
/sbin/modprobe lirc_serial
/etc/rc.d/lircd start
to /etc/rc.local - all works fine for me.
"I exist" is the best myth I know..
Offline
same problem here, did you solve this?
Offline
I removed references to UART in the kernel config and then no more errrors but alas no more /dev/ttyS0 or ttyS1 either
Still the lirc_serial module was able to create /dev/lirc0 after this even without ttyS0 or ttyS1
So not a very elegant solution in short
Offline
Pages: 1