Dnia "środa" 2003/07/23, 14:30:39 -0500, "Greg KH" napisał(a):
> On Wed, Jul 23, 2003 at 01:44:32AM -0500, Michal Sabala wrote:
> > 
> > How can I force my kernel (2.4.21) to load scanner.o when device
> > 180,48 is opened?
> 
> You can't, we do not support that in the usb core code, sorry.
> You should be able to safely leave a module in your kernel just fine, if
> not then it needs to be fixed.
> 

Hi Greg,

I would like to help fix it. Here is what I found out so far.

After furter experimentation I found out that reloading usb-uhci right
before using the USB scanner always allows me to use it.

My current way of doing things is loading following modules on startup:

usb-uhci
input
hid
keybdev
mousedev
usb-storage
sg
scanner
lp
printer

then when I need to use the scanner I have a script that does:

sudo /sbin/rmmod usb-uhci
sudo /sbin/modprobe usb-uhci
sleep 15s
xsane

This convinces me that the problem lies in usb-uhci (uhci as well).
If I can be of any assistance please let me know. Fixing this problem
would help me and other USB users.

Thanks,

Michal


PS. Right now I'm running 2.4.21-ac3 on PIII/800 Speedstep notebook with
i440ZX chipset. I have following usb devices: keyb, mouse, CF reader,
CDRW, printer and scanner, 4port mini-usb-hub.

-- 
Michał "Saahbs" Sabała |  Moje Słoneczko, podróże, fotografia, FSF/EFF
 gpg key: http://www.students.uiuc.edu/~sabala/pgp.txt

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to