[sane-devel] Trouble with HP 6300C

Tim Wescott tim at wescottdesign.com
Fri Jan 2 20:58:09 UTC 2015


I just bought a used HP 6300C, and I can't get SANE to see it.  If
someone could read my tale of woe and suggest a next step, I'd
appreciate the effort.

It shows up on lsusb with what appears to be the correct vendor:product
code, but does not show up in sane-find-scanner, even via sudo.

I'm using Lubuntu, version 14.04. Running scanimage --version returns
"scanimage (sane-backends) 1.0.23; backend version 1.0.23".

Since this is a used scanner I can see that it may be a problem with the
hardware -- but it shows up on lsusb and matches a line
in /lib/udev/rules.d/40-libsane.rules, so I would expect that it would
at least show up on sane-find-scanner.

The only oddity that I can see is that the 6300C shows up twice
in /lib/udev/rules.d/40-libsane.rules: once with the USB vendor:product
numbers, and again with some attributes which do not appear in the
scanner's lsusb detail.

tim:~$ sudo sane-find-scanner
[sudo] password for tim: 

  # 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
  # No USB scanners found. If you expected something different, make
sure that
  # you have loaded a kernel driver for your USB host controller and
have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary
ports
  # can't be detected by this program.
tim:~$ lsusb
Bus 001 Device 009: ID 05ad:0fba Y.C. Cable U.S.A., Inc. 
Bus 001 Device 008: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 007: ID 0483:3748 STMicroelectronics ST-LINK/V2
Bus 001 Device 006: ID 15ba:002a Olimex Ltd. ARM-USB-TINY-H JTAG
interface
Bus 001 Device 005: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port
Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 051d:0002 American Power Conversion
Uninterruptible Power Supply
Bus 003 Device 003: ID 03f0:0601 Hewlett-Packard ScanJet 6300c
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

tim:~$ lsusb -v -d03f0:0601

Bus 003 Device 003: ID 03f0:0601 Hewlett-Packard ScanJet 6300c
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x03f0 Hewlett-Packard
  idProduct          0x0601 ScanJet 6300c
  bcdDevice            1.00
  iManufacturer           1 (error)
  iProduct                2 HP ScanJet 6300C
  iSerial                 3 SG044230G5PE
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x60
      (Missing must-be-set bit!)
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         0 (Defined at Interface level)
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             250
Device Status:     0x0001
  Self Powered

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432




More information about the sane-devel mailing list