On Fri, 06 Jul 2001 20:23:35 +0200, Joost Kooij writes: >On Fri, Jul 06, 2001 at 08:09:28PM +0200, Robert Waldner wrote: >> bash-2.03# insmod lp.o irq=5 >> lp.o: init_module: Device or resource busy <...> >> Hints? FM?s? Clue!? > >First the hints: > >/sbin/modinfo -p lp >filename: /lib/modules/2.4.5-ac7/kernel/drivers/char/lp.o >description: <none> >author: <none> >parm: parport string array (min = 1, max = 8) >parm: reset int
Hmm, modinfo, didn´t know about that yet. tnx. >/sbin/modinfo -p parport_pc <...> >parm: io int array (min = 1, max = 16), description "Base I/O address ( >SPP regs)" Specifying this did the trick. >parm: io_hi int array (min = 1, max = 16), description "Base I/O addres <...> >The clue is that you need to insmod parport_pc first and it needs to know >the irq. Try this: > >echo "options parport_pc irq=5" >> /etc/modutils/local >update-modules >modprobe lp # (kmod could also load it automatically) Aeh, is this also true for 2.0-series-kernels (this box runs 2.0.38)? bash-2.03$ pwd /usr/src/linux-2.0.38 bash-2.03$ find . -name parport* -print Anyway, it was solely my own fault for not thinking to specify the I/O-port firstplace. PEBKAC <URL:http://ars.userfriendly.org/cartoons/?id=19980506> cheers, &rw -- -- "Damn and blast British Telecom!" shouted Dirk, -- the words coming easily from years of practice. -- Douglas Adams ----
pgprz378gP0KI.pgp
Description: PGP signature