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

Henning Meier-Geinitz henning at meier-geinitz.de
Mon Jul 15 22:43:29 BST 2002


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.

I have also added more output in verbose mode so you will get a
similar output to that of lsusb with sane-find-scanner -v -v.

Thanks for reporting.

Bye,
  Henning



More information about the sane-devel mailing list