[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

insmod problem with lirc_sir module



Hi

Can't initialize lirc_sir module correct. How do I know which port to choose? Is there anything else I need to know to insert the module?


I've unsucessfully tried:

home:~# insmod lirc_sir
Using /lib/modules/2.4.18-test/misc/lirc_sir.o
lirc_sir.o: i/o port 0x03f8 already in use.
/lib/.../lirc_sir.o: init_module: Device or resource busy
Hint: inmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters


Then I managed to get it initialized by first inserting lirc_serial, removing it and then inserting lirc_sir. It looks like this:

Home:~# insmod lirc_serial
Using /lib/.../misc/lirc_serial.o
lirc_serial: port 03f8 already in use, proceeding anyway
lirc_serial: compile the serial port driver as a module and
lirc_serial: make shore this module is loaded first
lirc_serial: auto-detected active higher reciver

home:~# rmmod lirc_serial

home:~# insmod lirc_sir
Using /lib/.../misc/lirc_sir.o
lirc_sir: I/O port 0x03f8, irq 4.
lirc_sir: 0x10
enable_irq(4) unbalanced from c4a608cb
lirc_sir: Installed

I also tried "insmod lirc_sir irq=4 io=0x03f8" but it gets the same errors as "insmod lirc_sir". 



Reply to: