Using a USB scanner with SANE (via libusb on -current)

Alexander Leidinger Alexander at Leidinger.net
Mon Dec 1 02:15:23 PST 2003


Hi,

is someone able to use SANE with an USB scanner on a recent -current?
I'm trying to add support for a CanoScan D660U to sane-backend 1.0.13,
but the backend isn't able to read from the USB.

This is with libusb 0.1.7_1.

---snip---
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2207
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2208
[sanei_usb] sanei_usb_open: trying to open device `libusb:/dev/usb0:/dev/ugen0'
[sanei_usb] sanei_usb_open: found interupt-in endpoint (address 1)
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 2)
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 3)
[sanei_usb] sanei_usb_open: opened usb device `libusb:/dev/usb0:/dev/ugen0' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04a9, productID: 0x2208
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 0000: 01 69 00 01                                     .i..............
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
USB error: error reading from bulk endpoint /dev/ugen0.2: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
USB error: usb_clear_halt called, unimplemented on BSD
[sanei_usb] sanei_usb_close: closing device 0
usb_os_close: closing endpoint 6
usb_os_close: closing endpoint 5
---snip---

Bye,
Alexander.

-- 
                           Reboot America.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


More information about the freebsd-multimedia mailing list