Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't load parport_pc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
linut
n00b
n00b


Joined: 07 Dec 2002
Posts: 18

PostPosted: Fri Dec 20, 2002 5:22 pm    Post subject: can't load parport_pc Reply with quote

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
View user's profile Send private message
bashnix
n00b
n00b


Joined: 23 Oct 2002
Posts: 66

PostPosted: Sat Dec 21, 2002 9:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
krt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 102
Location: Earth

PostPosted: Thu Jan 02, 2003 6:26 am    Post subject: Re: can't load parport_pc Reply with quote

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
View user's profile Send private message
linut
n00b
n00b


Joined: 07 Dec 2002
Posts: 18

PostPosted: Sat Jan 04, 2003 4:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum