[sane-devel] Beginning work on new Scanner

Joseph Simone averagejoey2000 at tfwno.gf
Thu Jan 12 19:21:55 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

To whom it may concern,

My name is Joseph Simone, and I wish to contribute to the SANE project.
About 5 days ago, I found a Panasonic KX-MB2030 multi function printer
gathering dust in my attic from the previous owners of my house. I
have packaged the existing Panasonic panamfs drivers as a PKGBUILD for
arch linux (my every day OS). That package can be found at
https://aur.archlinux.org/packages/panamfs-scan/ .
I haven't found any ink, so I can't test the printer functions, but I
have been able to do some scanning, and XSANE seems to play nice with
it. I have not figured out how to get it to scan over network, but the
usb scanning is working just fine.

The automatic document feeder will always take priority if a document
is detected, but does not support double sided, only up to 20 sheets.
Color works on scanner bed and document feeder. Let me know if you
need me to attach examples, or if there are specific tests you'd like
me to run. I do not want to open the scanner to look at the hardware
though.

Hope this all helps.

Sincerest regards,
Joseph Simone
keybase.io/averagejoey2000

WARNING: LARGE WALLS OF TEXT COMING:

sudo sane-find-scanner -v -v

This is sane-find-scanner from sane-backends 1.0.25

  # 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.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/sg0... failed to open (Invalid argument)
checking /dev/sg1... failed to open (Invalid argument)
checking /dev/sg2... failed to open (Invalid argument)
checking /dev/sg3... failed to open (Invalid argument)
checking /dev/sg4... failed to open (Invalid argument)
checking /dev/sg5... failed to open (Invalid argument)
checking /dev/sg6... failed to open (Invalid argument)
checking /dev/sg7... failed to open (Invalid argument)
checking /dev/sg8... failed to open (Invalid argument)
checking /dev/sg9... failed to open (Invalid argument)
checking /dev/sga... failed to open (Invalid argument)
checking /dev/sgb... failed to open (Invalid argument)
checking /dev/sgc... failed to open (Invalid argument)
checking /dev/sgd... failed to open (Invalid argument)
checking /dev/sge... failed to open (Invalid argument)
checking /dev/sgf... failed to open (Invalid argument)
checking /dev/sgg... failed to open (Invalid argument)
checking /dev/sgh... failed to open (Invalid argument)
checking /dev/sgi... failed to open (Invalid argument)
checking /dev/sgj... failed to open (Invalid argument)
checking /dev/sgk... failed to open (Invalid argument)
checking /dev/sgl... failed to open (Invalid argument)
checking /dev/sgm... failed to open (Invalid argument)
checking /dev/sgn... failed to open (Invalid argument)
checking /dev/sgo... failed to open (Invalid argument)
checking /dev/sgp... failed to open (Invalid argument)
checking /dev/sgq... failed to open (Invalid argument)
checking /dev/sgr... failed to open (Invalid argument)
checking /dev/sgs... failed to open (Invalid argument)
checking /dev/sgt... failed to open (Invalid argument)
checking /dev/sgu... failed to open (Invalid argument)
checking /dev/sgv... failed to open (Invalid argument)
checking /dev/sgw... failed to open (Invalid argument)
checking /dev/sgx... failed to open (Invalid argument)
checking /dev/sgy... failed to open (Invalid argument)
checking /dev/sgz... failed to open (Invalid argument)
  # No SCSI scanners found. If you expected something different, make
sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
checking /dev/usb/scanner1... failed to open (Invalid argument)
checking /dev/usb/scanner2... failed to open (Invalid argument)
checking /dev/usb/scanner3... failed to open (Invalid argument)
checking /dev/usb/scanner4... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner5... failed to open (Invalid argument)
checking /dev/usb/scanner7... failed to open (Invalid argument)
checking /dev/usb/scanner8... failed to open (Invalid argument)
checking /dev/usb/scanner9... failed to open (Invalid argument)
checking /dev/usb/scanner10... failed to open (Invalid argument)
checking /dev/usb/scanner11... failed to open (Invalid argument)
checking /dev/usb/scanner12... failed to open (Invalid argument)
checking /dev/usb/scanner13... failed to open (Invalid argument)
checking /dev/usb/scanner14... failed to open (Invalid argument)
checking /dev/usb/scanner15... failed to open (Invalid argument)
checking /dev/usbscanner... failed to open (Invalid argument)
checking /dev/usbscanner0... failed to open (Invalid argument)
checking /dev/usbscanner1... failed to open (Invalid argument)
checking /dev/usbscanner2... failed to open (Invalid argument)
checking /dev/usbscanner3... failed to open (Invalid argument)
checking /dev/usbscanner4... failed to open (Invalid argument)
checking /dev/usbscanner5... failed to open (Invalid argument)
checking /dev/usbscanner6... failed to open (Invalid argument)
checking /dev/usbscanner7... failed to open (Invalid argument)
checking /dev/usbscanner8... failed to open (Invalid argument)
checking /dev/usbscanner9... failed to open (Invalid argument)
checking /dev/usbscanner10... failed to open (Invalid argument)
checking /dev/usbscanner11... failed to open (Invalid argument)
checking /dev/usbscanner12... failed to open (Invalid argument)
checking /dev/usbscanner13... failed to open (Invalid argument)
checking /dev/usbscanner14... failed to open (Invalid argument)
checking /dev/usbscanner15... failed to open (Invalid argument)
trying libusb:

<device descriptor of 0x0408/0x03b2 at 002:005 (QCM HP Webcam)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          239
bDeviceSubClass       2
bDeviceProtocol       1
bMaxPacketSize0       64
idVendor              0x0408
idProduct             0x03B2
bcdDevice             1.03
iManufacturer         2 (QCM)
iProduct              1 (HP Webcam)
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         407
 bNumInterfaces       2
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         128 ()
 MaxPower             500 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 1
   bInterfaceProtocol 0
   iInterface         4 (HP Webcam)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x83 (in 0x03)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    16
    bInterval         6 ms
    bRefresh          0
    bSynchAddress     0
  <interface 1>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  0
   bNumEndpoints      0
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
   <altsetting 1>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  1
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      5 (isochronous)
    wMaxPacketSize    128
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0
   <altsetting 2>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  2
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      5 (isochronous)
    wMaxPacketSize    256
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0
   <altsetting 3>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  3
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      5 (isochronous)
    wMaxPacketSize    800
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0
   <altsetting 4>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  4
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      5 (isochronous)
    wMaxPacketSize    2848
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0
   <altsetting 5>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  5
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      5 (isochronous)
    wMaxPacketSize    4896
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0
   <altsetting 6>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  6
   bNumEndpoints      1
   bInterfaceClass    14
   bInterfaceSubClass 2
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      5 (isochronous)
    wMaxPacketSize    5120
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x138a/0x0005 at 002:004>
bLength               18
bDescriptorType       1
bcdUSB                1.10
bDeviceClass          255
bDeviceSubClass       16
bDeviceProtocol       255
bMaxPacketSize0       8
idVendor              0x138A
idProduct             0x0005
bcdDevice             12.90
iManufacturer         0 ()
iProduct              0 ()
could not fetch string descriptor: Pipe error
iSerialNumber         1 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         39
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         160 (Remote Wakeup)
 MaxPower             100 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      3
   bInterfaceClass    255
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x01 (out 0x01)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 2>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x82 (in 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    64
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0

<trying to find out which USB chip is used>
    checking for LM983[1,2,3] ...
    this is not a LM983x (bDeviceSubClass = 0x10)
    checking for GT-6801 ...
    this is not a GT-6801 (bDeviceSubClass = 0x10)
    checking for GT-6816 ...
    this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
    checking for GLxxx ...
    this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)
    this is not a GLxxx (bDeviceSubClass = 0x10)
<Couldn't determine the type of the USB chip (result from
sane-backends 1.0.25)>

found USB scanner (vendor=0x138a, product=0x0005) at libusb:002:004

<device descriptor of 0x046d/0xc31c at 002:003 (Logitech USB Keyboard)>
bLength               18
bDescriptorType       1
bcdUSB                1.10
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       8
idVendor              0x046D
idProduct             0xC31C
bcdDevice             100.00
iManufacturer         1 (Logitech)
iProduct              2 (USB Keyboard)
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         59
 bNumInterfaces       2
 bConfigurationValue  1
 iConfiguration       3 (U64.00_B0001)
 bmAttributes         160 (Remote Wakeup)
 MaxPower             90 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    3
   bInterfaceSubClass 1
   bInterfaceProtocol 1
   iInterface         2 (USB Keyboard)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    8
    bInterval         10 ms
    bRefresh          0
    bSynchAddress     0
  <interface 1>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    3
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         2 (USB Keyboard)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x82 (in 0x02)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    4
    bInterval         255 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x8087/0x0020 at 002:002>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       1
bMaxPacketSize0       64
idVendor              0x8087
idProduct             0x0020
bcdDevice             0.00
iManufacturer         0 ()
iProduct              0 ()
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         224 (Self-poweredRemote Wakeup)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    2
    bInterval         12 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x1d6b/0x0002 at 002:001 (Linux 4.8.13-1-ARCH
ehci_hcd EHCI Host Controller)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       64
idVendor              0x1D6B
idProduct             0x0002
bcdDevice             4.08
iManufacturer         3 (Linux 4.8.13-1-ARCH ehci_hcd)
iProduct              2 (EHCI Host Controller)
iSerialNumber         1 (0000:00:1d.0)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         224 (Self-poweredRemote Wakeup)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    4
    bInterval         12 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x04da/0x0f07 at 001:013 (Panasonic KX-MB2030)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       64
idVendor              0x04DA
idProduct             0x0F07
bcdDevice             1.00
iManufacturer         1 (Panasonic)
iProduct              2 (KX-MB2030)
iSerialNumber         3 (01CZ08008423)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         69
 bNumInterfaces       2
 bConfigurationValue  1
 iConfiguration       4 (Default Configurataion)
 bmAttributes         192 (Self-powered)
 MaxPower             2 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      5
   bInterfaceClass    6
   bInterfaceSubClass 1
   bInterfaceProtocol 255
   iInterface         6 (Scanner USB Interface)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    32
    bInterval         11 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x82 (in 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 2>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x03 (out 0x03)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 3>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x05 (out 0x05)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 4>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x86 (in 0x06)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
  <interface 1>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   1
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    7
   bInterfaceSubClass 1
   bInterfaceProtocol 1
   iInterface         5 (Printer USB Interface)
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x04 (out 0x04)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x0781/0x5575 at 001:012 (SanDisk Cruzer Glide)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          0
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       64
idVendor              0x0781
idProduct             0x5575
bcdDevice             1.27
iManufacturer         1 (SanDisk)
iProduct              2 (Cruzer Glide)
iSerialNumber         3 (20043513600A5AE349EC)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         32
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         128 ()
 MaxPower             200 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      2
   bInterfaceClass    8
   bInterfaceSubClass 6
   bInterfaceProtocol 80
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         0 ms
    bRefresh          0
    bSynchAddress     0
    <endpoint 1>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x02 (out 0x02)
    bmAttributes      2 (bulk)
    wMaxPacketSize    512
    bInterval         1 ms
    bRefresh          0
    bSynchAddress     0
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error

<device descriptor of 0x2109/0x2812 at 001:011>
bLength               18
bDescriptorType       1
bcdUSB                2.10
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       1
bMaxPacketSize0       64
idVendor              0x2109
idProduct             0x2812
bcdDevice             144.80
iManufacturer         1 ()
iProduct              2 ()
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         224 (Self-poweredRemote Wakeup)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    1
    bInterval         12 ms
    bRefresh          0
    bSynchAddress     0
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error

<device descriptor of 0x2109/0x2812 at 001:010>
bLength               18
bDescriptorType       1
bcdUSB                2.10
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       1
bMaxPacketSize0       64
idVendor              0x2109
idProduct             0x2812
bcdDevice             144.80
iManufacturer         1 ()
iProduct              2 ()
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         224 (Self-poweredRemote Wakeup)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    1
    bInterval         12 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x8087/0x0020 at 001:002>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       1
bMaxPacketSize0       64
idVendor              0x8087
idProduct             0x0020
bcdDevice             0.00
iManufacturer         0 ()
iProduct              0 ()
iSerialNumber         0 ()
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         224 (Self-poweredRemote Wakeup)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    1
    bInterval         12 ms
    bRefresh          0
    bSynchAddress     0

<device descriptor of 0x1d6b/0x0002 at 001:001 (Linux 4.8.13-1-ARCH
ehci_hcd EHCI Host Controller)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          9
bDeviceSubClass       0
bDeviceProtocol       0
bMaxPacketSize0       64
idVendor              0x1D6B
idProduct             0x0002
bcdDevice             4.08
iManufacturer         3 (Linux 4.8.13-1-ARCH ehci_hcd)
iProduct              2 (EHCI Host Controller)
iSerialNumber         1 (0000:00:1a.0)
bNumConfigurations    1
 <configuration 0>
 bLength              9
 bDescriptorType      2
 wTotalLength         25
 bNumInterfaces       1
 bConfigurationValue  1
 iConfiguration       0 ()
 bmAttributes         224 (Self-poweredRemote Wakeup)
 MaxPower             0 mA
  <interface 0>
   <altsetting 0>
   bLength            9
   bDescriptorType    4
   bInterfaceNumber   0
   bAlternateSetting  0
   bNumEndpoints      1
   bInterfaceClass    9
   bInterfaceSubClass 0
   bInterfaceProtocol 0
   iInterface         0 ()
    <endpoint 0>
    bLength           7
    bDescriptorType   5
    bEndpointAddress  0x81 (in 0x01)
    bmAttributes      3 (interrupt)
    wMaxPacketSize    4
    bInterval         12 ms
    bRefresh          0
    bSynchAddress     0
  # Your USB scanner was (probably) detected. It may or may not be
supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary
ports
  # can't be detected by this program.
done


lsusb

Bus 002 Device 005: ID 0408:03b2 Quanta Computer, Inc. HP Webcam
Bus 002 Device 004: ID 138a:0005 Validity Sensors, Inc. VFS301
Fingerprint Reader
Bus 002 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hu
b
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 013: ID 04da:0f07 Panasonic (Matsushita)
Bus 001 Device 012: ID 0781:5575 SanDisk Corp. Cruzer Glide
Bus 001 Device 011: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 010: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hu
b
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

scanimage -L (drivers already installed)

device `brother4:net1;dev0' is a Brother *Brother brother-mfc-9340cdw
device `v4l:/dev/video0' is a Noname HP Webcam virtual device
device `panamfs:libusb:001:013' is a Panasonic KX-MB2030 sheetfed scanne
r


Hope this helps.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYd9dSAAoJEBY+HuRAk2dszoMQAKpORxRST3mS0WZwG3lF9H6H
FUnlJv2PMC9wrNMjK77aNvvh9h3OhdYasbQLn6YQ9bzjIYUzOcpH0s8nbvA2cZf4
5RGxUgaDX7doGvBKQDc8Ygds6d63JcCFBu1fUOnNG1tpNqxianL6bcO0FiyPx4oK
bY+SR4IVpBiFaZ48b1t6wuXo56AgiuAb3SeVrKkPM2Z9WJdiyL5qWMPGbTPitnXZ
CYXgVbRdJ+AFl2plSVomRkUI1HAd7MMRm/irbxN6KhFMIsBPwkraHComIZye/QYY
ljuZq3LNti/DNKh7R65cR5Z7ODRkoZ/CZ19ominOH2At4+br79+TESi1eUaChkh5
UhwCjw4cq6oXn5DhmLtFvps27PrdAdMhhbSeqIYlXyemXvneDNktQGzNl048OIT9
31Rbawx+Vs7xi5nyn1OqzLo0T+A4v+orr4WNimEngSgEHUXL+XZbT6pnR3R0c6Y6
P1BGEdZiSWrXyS/P1bRSLpXYijPpZixWM8G0dkoeIAAXisWLTiwzjpDBmnWHY9uS
4m9ql0fpYGwj0oNaL8FGZuOgxdV5EXWaLmoLdmgR78NsGTZwjOxxWeZarz2sYXP4
MDiGybsC42j6KcKDvA9C30FuKoQcfkl7vV0Vkr7Jba9v7wy0+NTWfHgxLewKQDCm
6ZKwDvvB4gW+XvKHdNjv
=A/2z
-----END PGP SIGNATURE-----



More information about the sane-devel mailing list