[sane-devel] scanimage picking wrong/invalid device

Vince Radice vhradice at cfl.rr.com
Thu Sep 22 18:51:59 UTC 2016


Hello,

     I am having a problem trying to get my scanner to work.  I am 
running Fedora FC24 64 bit with the latest updates.

     When I tried to scan an image recently using xsane I got a message 
that there was an invalid argument.  I have spent the last 4 days 
searching for an answer but I have not found one that works.

Here is the output from the commands that show the problem.

Here is a list of the usb devices:

[vince at Vince2 ~]$ lsusb
Bus 002 Device 002: ID 8087:8002 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 045b:0210 Hitachi, Ltd
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 045e:07b2 Microsoft Corp.
Bus 003 Device 004: ID 1b1c:1c0d Corsair
Bus 003 Device 014: ID 0480:a202 Toshiba America Inc Canvio Basics HDD
Bus 003 Device 012: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 003: ID 045b:0209 Hitachi, Ltd
Bus 003 Device 002: ID 04b8:084f Seiko Epson Corp. ME OFFICE 510
Bus 003 Device 010: ID 04f9:01ab Brother Industries, Ltd MFC-240C
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have 2 multifunction devices attached right now (mine and my wife's).  
The Brother is mine and the Epson is hers.  Both are attached using usb 
cables.

Next command :

[vince at Vince2 ~]$ sane-find-scanner

   # sane-find-scanner will now attempt to detect your scanner. If the
   # result is different from what you expected, first make sure your
   # scanner is powered up and properly connected to your computer.

   # No SCSI scanners found. If you expected something different, make 
sure that
   # you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04b8, product=0x084f) at libusb:003:002
found USB scanner (vendor=0x04f9, product=0x01ab) at libusb:003:010
   # Your USB scanner was (probably) detected. It may or may not be 
supported by
   # SANE. Try scanimage -L and read the backend's manpage.

   # Not checking for parallel port scanners.

   # Most Scanners connected to the parallel port or other proprietary ports
   # can't be detected by this program.

   # You may want to run this program as root to find all devices. Once you
   # found the scanner devices, be sure to adjust access permissions as
   # necessary.

It appears that the 2 scanners have been found at valid usb addresses.
Next command:

[vince at Vince2 ~]$ scanimage -L
device `brother2:bus4;dev8' is a Brother MFC-240C USB scanner
device `epkowa:usb:003:002' is a Epson Stylus NX210/SX210/TX210/ME 
OFFICE 510 Series flatbed scanner
device `epson2:libusb:003:002' is a Epson PID 084F flatbed scanner


It looks like scanimage has the right addresses for the Epson scanner 
but a non-existent address for the Brother scanner.  I have uninstalled 
the Brother drivers and reinstalled them using the Brother install program.

If I try xsane it gets the same address for the Brother scanner.

Where is scanimage getting the bogus address?

Thank you,
Vince Radice



More information about the sane-devel mailing list