View previous topic :: View next topic |
Author |
Message |
linut n00b
Joined: 07 Dec 2002 Posts: 18
|
Posted: Fri Dec 20, 2002 5:22 pm Post subject: can't load parport_pc |
|
|
When I try to insmod the parport_pc.o module for my printer, I get the error Code: | /lib/modules/2.4.19-gentoo-r10/kernel/drivers/parport/parport_pc.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
|
dmesg doesn't say anything about a parport device, and neither does /var/log/kernel/current (syslog?). Where do I go from here?
-Thanks |
|
Back to top |
|
|
bashnix n00b
Joined: 23 Oct 2002 Posts: 66
|
Posted: Sat Dec 21, 2002 9:27 pm Post subject: |
|
|
I would recommend compiling it into the kernel. I haven't had much luck as far as parrel port being a module. I have an asus a7v266-e on the via kt266 chipset.
Compile it in and see if it detects it.
If the printer is USB capabale and you have a port, do that. It is much easier.
Bashnix |
|
Back to top |
|
|
krt Tux's lil' helper
Joined: 27 Nov 2002 Posts: 102 Location: Earth
|
Posted: Thu Jan 02, 2003 6:26 am Post subject: Re: can't load parport_pc |
|
|
linut wrote: | When I try to insmod the parport_pc.o module for my printer, I get the error Code: | /lib/modules/2.4.19-gentoo-r10/kernel/drivers/parport/parport_pc.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
|
dmesg doesn't say anything about a parport device, and neither does /var/log/kernel/current (syslog?). Where do I go from here?
-Thanks |
try specifying the irq and IO address of your parallel port when you load the modules. Auto-detection of parallel port stuff is iffy.
For more information, check out the documentation in
/usr/src/linux/Documentation/parport.txt
it has some examples, etc. _________________ Everyone has something clever for a signature but me. |
|
Back to top |
|
|
linut n00b
Joined: 07 Dec 2002 Posts: 18
|
Posted: Sat Jan 04, 2003 4:35 pm Post subject: |
|
|
Quote: |
try specifying the irq and IO address of your parallel port when you load the modules. Auto-detection of parallel port stuff is iffy.
For more information, check out the documentation in
/usr/src/linux/Documentation/parport.txt
it has some examples, etc. |
Thanks for the help, Krt. I've got parport_pc loading now and a /dev/lp0. No response yet from the printer but I'm one step closer |
|
Back to top |
|
|
|