HP5300C setup problems

From: Remco van 't Veer (rwvtveer@xs4all.nl)
Date: Mon Dec 04 2000 - 15:30:50 PST

  • Next message: Andy Angrick: "RE: ADF-support in hp-backend"

    Hi,

    I've been trying to get a HP5300c to work on my Linux machine. I
    installed a 2.2.18pre24 kernel to get the lastest USB backport and
    sane-1.0.3 but I can't get it to work. Here's what klog catches when
    I run scanimage with the avision backend:

      Dec 5 00:11:53 azrael kernel: usb_control/bulk_msg: timeout
      Dec 5 00:11:53 azrael kernel: scanner.c: write_scanner: NAK received.

    And here's what scanimage outputs with debugging enabled:

      # SANE_DEBUG_AVISION=255 scanimage > /dev/null
      [sanei_debug] Setting debug level of avision to 255.
      [avision] attach
      [avision] attach: opening /dev/usb/scanner0
      [avision] attach: sending INQUIRY
      [avision] attach: inquiry failed (Error during device I/O)
      [avision] sane_get_devices
      scanimage: no SANE devices found
      [avision] sane_exit

    Does anybody know what is wrong here? My USB printer works fine..
    BTW. I'm using a intel P3 system with a VIA VT82C693 chipset.

    TIA,
    Remco

    PS. here's the rest of my klog USB messages:

      Dec 5 00:08:19 azrael kernel: usb.c: registered new driver usbdevfs
      Dec 5 00:08:19 azrael kernel: usb.c: registered new driver hub
      Dec 5 00:08:24 azrael kernel: uhci.c: USB UHCI at I/O 0xe400, IRQ 11
      Dec 5 00:08:24 azrael kernel: uhci.c: detected 2 ports
      Dec 5 00:08:24 azrael kernel: usb.c: new USB bus registered, assigned bus number 1
      Dec 5 00:08:24 azrael kernel: usb.c: USB new device connect, assigned device number 1
      Dec 5 00:08:24 azrael kernel: usb.c: kmalloc IF d4d947a0, numif 1
      Dec 5 00:08:24 azrael kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
      Dec 5 00:08:24 azrael kernel: usb.c: USB device number 1 default language ID 0x0
      Dec 5 00:08:24 azrael kernel: Product: USB UHCI-alt Root Hub
      Dec 5 00:08:24 azrael kernel: SerialNumber: e400
      Dec 5 00:08:24 azrael kernel: hub.c: USB hub found
      Dec 5 00:08:24 azrael kernel: hub.c: 2 ports detected
      Dec 5 00:08:24 azrael kernel: hub.c: ganged power switching
      Dec 5 00:08:24 azrael kernel: hub.c: standalone hub
      Dec 5 00:08:24 azrael kernel: hub.c: global over-current protection
      Dec 5 00:08:24 azrael kernel: hub.c: power on to power good time: 2ms
      Dec 5 00:08:24 azrael kernel: hub.c: hub controller current requirement: 0mA
      Dec 5 00:08:24 azrael kernel: hub.c: port 1 is removable
      Dec 5 00:08:24 azrael kernel: hub.c: port 2 is removable
      Dec 5 00:08:24 azrael kernel: hub.c: local power source is good
      Dec 5 00:08:24 azrael kernel: hub.c: no over-current condition exists
      Dec 5 00:08:24 azrael kernel: hub.c: enabling power on all ports
      Dec 5 00:08:24 azrael kernel: usb.c: hub driver claimed interface d4d947a0
      Dec 5 00:08:24 azrael kernel: usb.c: kusbd: /sbin/hotplug add 1
      Dec 5 00:08:24 azrael kernel: usb.c: kusbd policy returned 0x0
      Dec 5 00:08:24 azrael kernel: hub.c: port 1 connection change
      Dec 5 00:08:24 azrael kernel: hub.c: portstatus 300, change 3, 1.5 Mb/s
      Dec 5 00:08:24 azrael kernel: hub.c: port 1 enable change, status 300
      Dec 5 00:08:24 azrael kernel: hub.c: port 2 connection change
      Dec 5 00:08:24 azrael kernel: hub.c: portstatus 101, change 3, 12 Mb/s
      Dec 5 00:08:25 azrael kernel: hub.c: portstatus 103, change 0, 12 Mb/s
      Dec 5 00:08:25 azrael kernel: usb.c: USB new device connect, assigned device number 2
      Dec 5 00:08:25 azrael kernel: usb.c: kmalloc IF d4d94920, numif 1
      Dec 5 00:08:25 azrael kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
      Dec 5 00:08:25 azrael kernel: usb.c: USB device number 2 default language ID 0x409
      Dec 5 00:08:28 azrael kernel: usb_control/bulk_msg: timeout
      Dec 5 00:08:31 azrael kernel: usb_control/bulk_msg: timeout
      Dec 5 00:08:31 azrael kernel: SerialNumber: TW08W21961VE
      Dec 5 00:08:31 azrael kernel: usb.c: unhandled interfaces on device
      Dec 5 00:08:31 azrael kernel: usb.c: USB device 2 (prod/vend 0x3f0/0x701) is not claimed by any active driver.
      Dec 5 00:08:31 azrael kernel: Length = 18
      Dec 5 00:08:31 azrael kernel: DescriptorType = 01
      Dec 5 00:08:31 azrael kernel: USB version = 1.00
      Dec 5 00:08:31 azrael kernel: Vendor:Product = 03f0:0701
      Dec 5 00:08:31 azrael kernel: MaxPacketSize0 = 8
      Dec 5 00:08:31 azrael kernel: NumConfigurations = 1
      Dec 5 00:08:31 azrael kernel: Device version = 0.01
      Dec 5 00:08:31 azrael kernel: Device Class:SubClass:Protocol = 00:00:00
      Dec 5 00:08:31 azrael kernel: Per-interface classes
      Dec 5 00:08:31 azrael kernel: Configuration:
      Dec 5 00:08:31 azrael kernel: bLength = 9
      Dec 5 00:08:31 azrael kernel: bDescriptorType = 02
      Dec 5 00:08:31 azrael kernel: wTotalLength = 0027
      Dec 5 00:08:31 azrael kernel: bNumInterfaces = 01
      Dec 5 00:08:31 azrael kernel: bConfigurationValue = 01
      Dec 5 00:08:31 azrael kernel: iConfiguration = 00
      Dec 5 00:08:31 azrael kernel: bmAttributes = 40
      Dec 5 00:08:31 azrael kernel: MaxPower = 100mA
      Dec 5 00:08:31 azrael kernel:
      Dec 5 00:08:31 azrael kernel: Interface: 0
      Dec 5 00:08:31 azrael kernel: Alternate Setting: 0
      Dec 5 00:08:31 azrael kernel: bLength = 9
      Dec 5 00:08:31 azrael kernel: bDescriptorType = 04
      Dec 5 00:08:31 azrael kernel: bInterfaceNumber = 00
      Dec 5 00:08:31 azrael kernel: bAlternateSetting = 00
      Dec 5 00:08:31 azrael kernel: bNumEndpoints = 03
      Dec 5 00:08:31 azrael kernel: bInterface Class:SubClass:Protocol = 00:00:00
      Dec 5 00:08:31 azrael kernel: iInterface = 00
      Dec 5 00:08:31 azrael kernel: Endpoint:
      Dec 5 00:08:31 azrael kernel: bLength = 7
      Dec 5 00:08:31 azrael kernel: bDescriptorType = 05
      Dec 5 00:08:31 azrael kernel: bEndpointAddress = 01 (out)
      Dec 5 00:08:31 azrael kernel: bmAttributes = 02 (Bulk)
      Dec 5 00:08:31 azrael kernel: wMaxPacketSize = 0008
      Dec 5 00:08:31 azrael kernel: bInterval = 00
      Dec 5 00:08:31 azrael kernel: Endpoint:
      Dec 5 00:08:31 azrael kernel: bLength = 7
      Dec 5 00:08:31 azrael kernel: bDescriptorType = 05
      Dec 5 00:08:31 azrael kernel: bEndpointAddress = 82 (in)
      Dec 5 00:08:31 azrael kernel: bmAttributes = 03 (Interrupt)
      Dec 5 00:08:31 azrael kernel: wMaxPacketSize = 0008
      Dec 5 00:08:31 azrael kernel: bInterval = 0a
      Dec 5 00:08:31 azrael kernel: Endpoint:
      Dec 5 00:08:31 azrael kernel: bLength = 7
      Dec 5 00:08:31 azrael kernel: bDescriptorType = 05
      Dec 5 00:08:31 azrael kernel: bEndpointAddress = 83 (in)
      Dec 5 00:08:31 azrael kernel: bmAttributes = 02 (Bulk)
      Dec 5 00:08:31 azrael kernel: wMaxPacketSize = 0040
      Dec 5 00:08:31 azrael kernel: bInterval = 00
      Dec 5 00:08:31 azrael kernel: usb.c: kusbd: /sbin/hotplug add 2
      Dec 5 00:08:31 azrael kernel: usb.c: kusbd policy returned 0x0
      Dec 5 00:08:31 azrael kernel: hub.c: port 2 enable change, status 101
      Dec 5 00:08:31 azrael kernel: hub.c: already running port 2 disabled by hub (EMI?), re-enabling...
      Dec 5 00:08:31 azrael kernel: hub.c: portstatus 103, change 0, 12 Mb/s
      Dec 5 00:08:31 azrael kernel: usb.c: USB disconnect on device 2
      Dec 5 00:08:31 azrael kernel: usb.c: kusbd: /sbin/hotplug remove 2
      Dec 5 00:08:31 azrael kernel: usb.c: kusbd policy returned 0x0
      Dec 5 00:08:32 azrael kernel: hub.c: portstatus 103, change 0, 12 Mb/s
      Dec 5 00:08:32 azrael kernel: usb.c: USB new device connect, assigned device number 2
      Dec 5 00:08:32 azrael kernel: usb.c: kmalloc IF d4d949e0, numif 1
      Dec 5 00:08:32 azrael kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
      Dec 5 00:08:32 azrael kernel: usb.c: USB device number 2 default language ID 0x409
      Dec 5 00:08:32 azrael kernel: Manufacturer: Hewlett Packard
      Dec 5 00:08:32 azrael kernel: Product: Hewlett Packard ScanJet 5300C/5370C
      Dec 5 00:08:32 azrael kernel: SerialNumber: TW08W21961VE
      Dec 5 00:08:32 azrael kernel: usb.c: unhandled interfaces on device
      Dec 5 00:08:32 azrael kernel: usb.c: USB device 2 (prod/vend 0x3f0/0x701) is not claimed by any active driver.
      Dec 5 00:08:32 azrael kernel: Length = 18
      Dec 5 00:08:32 azrael kernel: DescriptorType = 01
      Dec 5 00:08:32 azrael kernel: USB version = 1.00
      Dec 5 00:08:32 azrael kernel: Vendor:Product = 03f0:0701
      Dec 5 00:08:32 azrael kernel: MaxPacketSize0 = 8
      Dec 5 00:08:32 azrael kernel: NumConfigurations = 1
      Dec 5 00:08:32 azrael kernel: Device version = 0.01
      Dec 5 00:08:32 azrael kernel: Device Class:SubClass:Protocol = 00:00:00
      Dec 5 00:08:32 azrael kernel: Per-interface classes
      Dec 5 00:08:32 azrael kernel: Configuration:
      Dec 5 00:08:32 azrael kernel: bLength = 9
      Dec 5 00:08:32 azrael kernel: bDescriptorType = 02
      Dec 5 00:08:32 azrael kernel: wTotalLength = 0027
      Dec 5 00:08:32 azrael kernel: bNumInterfaces = 01
      Dec 5 00:08:32 azrael kernel: bConfigurationValue = 01
      Dec 5 00:08:32 azrael kernel: iConfiguration = 00
      Dec 5 00:08:32 azrael kernel: bmAttributes = 40
      Dec 5 00:08:32 azrael kernel: MaxPower = 100mA
      Dec 5 00:08:32 azrael kernel:
      Dec 5 00:08:32 azrael kernel: Interface: 0
      Dec 5 00:08:32 azrael kernel: Alternate Setting: 0
      Dec 5 00:08:32 azrael kernel: bLength = 9
      Dec 5 00:08:32 azrael kernel: bDescriptorType = 04
      Dec 5 00:08:32 azrael kernel: bInterfaceNumber = 00
      Dec 5 00:08:32 azrael kernel: bAlternateSetting = 00
      Dec 5 00:08:32 azrael kernel: bNumEndpoints = 03
      Dec 5 00:08:32 azrael kernel: bInterface Class:SubClass:Protocol = 00:00:00
      Dec 5 00:08:32 azrael kernel: iInterface = 00
      Dec 5 00:08:32 azrael kernel: Endpoint:
      Dec 5 00:08:32 azrael kernel: bLength = 7
      Dec 5 00:08:32 azrael kernel: bDescriptorType = 05
      Dec 5 00:08:32 azrael kernel: bEndpointAddress = 01 (out)
      Dec 5 00:08:32 azrael kernel: bmAttributes = 02 (Bulk)
      Dec 5 00:08:32 azrael kernel: wMaxPacketSize = 0008
      Dec 5 00:08:32 azrael kernel: bInterval = 00
      Dec 5 00:08:32 azrael kernel: Endpoint:
      Dec 5 00:08:32 azrael kernel: bLength = 7
      Dec 5 00:08:32 azrael kernel: bDescriptorType = 05
      Dec 5 00:08:32 azrael kernel: bEndpointAddress = 82 (in)
      Dec 5 00:08:32 azrael kernel: bmAttributes = 03 (Interrupt)
      Dec 5 00:08:32 azrael kernel: wMaxPacketSize = 0008
      Dec 5 00:08:32 azrael kernel: bInterval = 0a
      Dec 5 00:08:32 azrael kernel: Endpoint:
      Dec 5 00:08:32 azrael kernel: bLength = 7
      Dec 5 00:08:32 azrael kernel: bDescriptorType = 05
      Dec 5 00:08:32 azrael kernel: bEndpointAddress = 83 (in)
      Dec 5 00:08:32 azrael kernel: bmAttributes = 02 (Bulk)
      Dec 5 00:08:32 azrael kernel: wMaxPacketSize = 0040
      Dec 5 00:08:32 azrael kernel: bInterval = 00
      Dec 5 00:08:32 azrael kernel: usb.c: kusbd: /sbin/hotplug add 2
      Dec 5 00:08:32 azrael kernel: usb.c: kusbd policy returned 0x0
      Dec 5 00:10:25 azrael kernel: usb.c: registered new driver usbscanner
      Dec 5 00:10:25 azrael kernel: scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 3f0:701
      Dec 5 00:10:25 azrael kernel: usb.c: bw_alloc increased by 17 to 17 for 1 requesters
      Dec 5 00:10:25 azrael kernel: usb.c: usbscanner driver claimed interface d4d949e0
      Dec 5 00:10:25 azrael kernel: scanner.c: USB Scanner support registered.
      Dec 5 00:11:53 azrael kernel: usb_control/bulk_msg: timeout
      Dec 5 00:11:53 azrael kernel: scanner.c: write_scanner: NAK received.

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon Dec 04 2000 - 15:34:11 PST