Dnia "środa" 2003/07/23, 04:21:17 -0500, "Henning Meier-Geinitz" napisał(a):
> Hi,
> 
> On Wed, Jul 23, 2003 at 01:44:32AM -0500, Michal Sabala wrote:
> > I'm trying to have the kernel automatically load scanner.o whenever I
> > attempt to use my scanner and autoclean (unload) when I'm done. Hotplug
> > does not fit my purpose because it will not unload the module as long as
> > the usb device (my scanner) is still plugged in.  I need to
> > automatically unload scanner.o because it seems to malfunction after
> > prolonged time in the kernel without being used.
> 
> Can you please give some details about this malfuncion? Which scanner
> and kernel version do you use?
> 

I use kernel 2.4.21 with scanner module that came with that kernel. I
have an Epson CX5200 printer/scanner/copier device. As of right now I
load all my needed usb modules on system boot. What often happens is the
scanner doesn't respond when xsane tries to scan. I have to wait for
xsane to time-out and unload/reload scanner.o. Sometimes this fixes the
problem. When it doesn't work, reloading usb-uhci does help half of the
time.  I suspect it might be a bigger usb problem than just limited to
scanner.o. I haven't tried using libusb, but since the problem doesn't
seem limited to scanner.o, I don't think it will help. The only
diagnostic message given by the kernel is:

kernel: usb_control/bulk_msg: timeout

Please tell me what else I can try, or what other information to
provide.

And out of curiosity, is there a reason why usb devices don't work with 
alias char-major-..... in /etc/modules.conf?

Thanks in Advance,

Michal Sabala


-- 
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