From: Onur <on...@si...> - 2006-10-28 22:39:43
|
Hi. I try modprobe lirc_serial I get this error: FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-1-686/misc/lirc_serial.ko): Device or resource busy setserial is not working. What can i do? |
From: Onur <on...@si...> - 2006-10-29 11:25:50
|
Lee Veal wrote: > try rmmod lirc_dev first Joel Means wrote: > Remove the serial driver from your kernel (or modularize it). debian:~# rmmod lirc_dev debian:~# rmmod lirc_serial ERROR: Module lirc_serial does not exist in /proc/modules debian:~# modprobe lirc_dev debian:~# modprobe lirc_serial FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-1-686/misc/lirc_serial.ko): Device or resource busy debian:~# rmmod lirc_dev debian:~# modprobe lirc_serial FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-1-686/misc/lirc_serial.ko): Device or resource busy debian:~# setserial /dev/ttyS1 uart none debian:~# modprobe lirc_serial debian:~# mode2 -d /dev/lirc0 But i dont get any output from mode2. I need using ttyS0. But i get Device or resource busy error message. |
From: Onur <on...@si...> - 2006-10-29 23:40:30
|
Lee Veal wrote: > Is your IR device on com1 or com2 ? > > /dev/ttyS0 =com1 (0x3f8, irq 4) > /dev/ttyS1 =com2 (0x2f8, irq 3) > > by default settings > > root@found# cat /proc/tty/driver/serial > > Will list the information for you > > then you can > > root@found#modprobe lirc_serial io=0x3f8 irq=3 > > the io= and the irq= need to be filled in with your settings , make sure > you also setserial on /dev/ttyS0 befor you insmod > > once you figure out the right io/irq just recomplie lircd with the right > settings . > > > > On 10/29/06, *Onur* <on...@si... <mailto:on...@si...>> wrote: > > Lee Veal wrote: > > try rmmod lirc_dev first > > Joel Means wrote: > > Remove the serial driver from your kernel (or modularize it). > > debian:~# rmmod lirc_dev > debian:~# rmmod lirc_serial > ERROR: Module lirc_serial does not exist in /proc/modules > debian:~# modprobe lirc_dev > debian:~# modprobe lirc_serial > FATAL: Error inserting lirc_serial > (/lib/modules/2.6.18-1-686/misc/lirc_serial.ko): Device or resource busy > debian:~# rmmod lirc_dev > debian:~# modprobe lirc_serial > FATAL: Error inserting lirc_serial > (/lib/modules/2.6.18-1-686/misc/lirc_serial.ko): Device or resource busy > > debian:~# setserial /dev/ttyS1 uart none > debian:~# modprobe lirc_serial > debian:~# mode2 -d /dev/lirc0 > > But i dont get any output from mode2. I need using ttyS0. But i get > Device or resource busy error message. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > > > > -- > Lee Veal > 312.515.4000 Thank you very very much. It's worked. |