[sane-devel] usb_control/bulk_msg: timeout
    Bill Moseley 
    moseley at hank.org
       
    Thu Jan  2 01:17:00 GMT 2003
    
    
  
Hi,
I'm having limited luck scanning on a HP ScanJet 4100C USB.  I'm trying to
use xsane.
Running "xscanimage hp" seems to work most of the time, but I still get
the message:
      Jan  1 16:14:06 bumby kernel: usb_control/bulk_msg: timeout
      Jan  1 16:14:26 bumby kernel: usb_control/bulk_msg: timeout
      Jan  1 16:15:34 bumby kernel: usb_control/bulk_msg: timeout
      Jan  1 16:15:34 bumby kernel: scanner.c: write_scanner: NAK received.
That NAK message is rare -- the timeout message happens every attempt to
scan.
When first testing I also received these errors in syslog, just in case if
gives any clues:
      Jan  1 16:10:11 bumby kernel: usbdevfs: USBDEVFS_CONTROL failed dev
               3 rqt 128 rq 6 len 100 ret -110
Trying to use xsane it also generates the messages, but it never completes
the scan and reports the probably not very helpful message:
    Error during read: Error during device I/O.
Any suggestions on things to try to get xsane working?
Here's my setup.  I don't understand the "scsi HP" line in the hp.conf
since this is usb.  I tried "usb HP" but didn't see any change.
(Frankly, just starting I'm a bit fuzzy on how the parts fit together --
how backends are selected and so on.  I just seems to work ;).
$ cat hp.conf
scsi HP
#/dev/scanner
# uncomment this if you're using a usb scanner
/dev/usb/scanner0
option connect-device
I'm running Debian testing/unstable with 2.4.20.
ii  libsane        1.0.9-4        API library for scanners
ii  sane           1.0.9-4        Scanner graphical frontends
ii  sane-utils     1.0.9-4        API library for scanners -- utilities
ii  xsane          0.84-2         a gtk based X11 frontend for SANE
$ sane-find-scanner
  # No SCSI scanners found. If you expected something different, make sure
that
  # you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0, product=0x0101) at /dev/usb/scanner0
found USB scanner (vendor=0x03f0, product=0x0101) at libusb:003:003
$ scanimage -L
device `hp:/dev/usb/scanner0' is a Hewlett-Packard MODELx flatbed scanner
-- 
Bill Moseley moseley at hank.org
    
    
More information about the sane-devel
mailing list