[sane-devel] Problem with Acer 640UT, worked before

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 18 Jul 2002 00:28:17 +0200


On Wed, Jul 17, 2002 at 02:16:19PM -0700, Matts wrote:
> I have had this scanner working fine in a previous Mandrake and sane
> version. What happens after a compleete system upgrade is that xsane
> searches for units forever at start. I have upgraded Mandrake 8.2's
> sane 1.0.7 to 1.0.8, but the same problem exactly was there before
> the upgrade too. 

I'm not a SnapScan expert...

> My devices list looks like this:
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner

Detected by the USB scanner driver, fine.

> And I have a symlink:
> [root@localhost root]# ls /dev/scanner -l
> lr-xr-xr-x    1 root     root           17 jul 18  2002 /dev/scanner -> /dev/usb
> /scanner0

Ouch! Never do that. You have just advised all the SCSI drivers to
send SCSI commands to your USB scanner. Your scanner probably doesn't
like SCSI commands :-)

With SANE 1.0.8 this shouldn't matter, but you should remove the link
nevertheless. With fairly recent Linux kernels USB scanners are
detected automatically by most SANE backends.

Does sane-find-scanner find your scanner?

> and /dev/usb/scanner0 does exist, when the scanner is plugged in.

So you use devfs (device file system)? Are the premissions set up
correctly? For testing, try as root.

Try removing/commenting out everything from dll.conf but "snapscan".
Run scanimage -L and scanimage -T. If it still hangs, try to set the
debug variables, e.g.:


and run scanimage again. Maybe you can see what's going on.