[sane-devel] loosing contact to scanner

Oliver Schwartz Oliver.Schwartz@gmx.de
Fri, 24 May 2002 08:09:13 +0200


> i have successfully (seemingly) installed my snapscan e40 agfa
> scanner to my redhat linux 7.2 system.  and i'm able to scan
> images as long as i like.  but overnight, the system seems to
> forget something.
> the next day, when i try it again, when xsane tried to find the scanner,
> the green light on the front just flashes on and off for 5 or 10 minutes
> then quits.  i.e., overnight i leave the system running, (the scanner
> has
> no on/off switch) and i leave xsane running, simply walk away from the
> system for 10 hours or so
> here is the contents of /proc/bus/usb/devices when this has occured.
> Notice the I: line.  Driver=hub.  i belive it used to be
> Driver=usbscanner
> while it was scanning correctly.
> [jimka@localhost usb]# cat /proc/bus/usb/devices
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=d400
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms

If that's the whole contents of /proc/bus/usb/devices then your scanner is no 
longer recognized on the USB bus. This may be either a kernel or a scanner 

Which version of SANE are you running (try "scanimage --version"). There have 
been some problems with the waiting for scanner warm up in older releases of 
the Snapscan backend (sane <= 1.0.5, I believe).