[sane-devel] Libusb support for sane-find-scanner and other changes

Bertrik Sikken bertrik@zonnet.nl
Tue, 16 Jul 2002 00:18:45 +0200


Henning Meier-Geinitz wrote:
 > Hi,
 >
 > On Mon, Jul 15, 2002 at 12:41:46AM +0200, Bertrik Sikken wrote:
 >
 >>Henning Meier-Geinitz wrote:
 >>
 >>>If it isn't, please post the output of sane-find-scanner -v.
 >>
 >>It didn't detect my scanner with libusb, a HP3300c.
 >
 >
 >>Bus 001 Device 002: ID 03f0:0205 Hewlett-Packard ScanJet 3300c
 >>Device Descriptor:
 >>  bLength                18
 >>  bDescriptorType         1
 >>  bcdUSB               1.00
 >>  bDeviceClass            0 Interface
 >>  bDeviceSubClass         0
 >>  bDeviceProtocol         0
 >>  bMaxPacketSize0         8
 >>  idVendor           0x03f0 Hewlett-Packard
 >>  idProduct          0x0205 ScanJet 3300c
 >>  bcdDevice            0.00
 >>  iManufacturer           2 Hewlett-Packard
 >>  iProduct                4 HP ScanJet 3300C
 >>  iSerial                 0
 >>  bNumConfigurations      1
 >>  Configuration Descriptor:
 >>    bLength                 9
 >>    bDescriptorType         2
 >>    wTotalLength           39
 >>    bNumInterfaces          1
 >>    bConfigurationValue     1
 >>    iConfiguration          0
 >>    bmAttributes         0x40
 >>      Self Powered
 >>    MaxPower               48mA
 >>    Interface Descriptor:
 >>      bLength                 9
 >>      bDescriptorType         4
 >>      bInterfaceNumber        0
 >>      bAlternateSetting       0
 >>      bNumEndpoints           3
 >>      bInterfaceClass        16 Data
 >
 >
 > Data? That's 10 (decimal) in usb.h. But as the 16 is from the device,
 > i have added 16 as possible interface class.
 >
 > CVS is updated, please try again.

Ok, it works now.

Bertrik