[sane-devel] FreeBSD and a Epson Perfection 1260

Michael Lestinsky michael@lestinsky.de
Thu, 16 Jan 2003 17:15:33 +0100


Am 16.01.'03 schrieb Henning Meier-Geinitz:
> Edit sanei/sanei_usb.c, search for the call to usb_set_altinterface
> and comment it out (including the if (result < 0) test after the call).

Hmm, ok:

[sanei_usb] sanei_usb_find_devices: found matching libusb device (bus=/dev/usb0, device=/dev/ugen0, vendor=0x04b8, product=0x011d)
[sanei_usb] sanei_usb_open: trying to open device `libusb:/dev/usb0:/dev/ugen0'
[sanei_usb] sanei_usb_open: chosing first altsetting (0) without checking
[sanei_usb] sanei_usb_open: ignoring interrupt-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: 0x04b8, productID: 0x011d
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 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 error: usb_clear_halt called, unimplemented on BSD
USB error: usb_clear_halt called, unimplemented on BSD
usb_os_close: closing endpoint 5
usb_os_close: closing endpoint 4

> > [sanei_usb] sanei_usb_get_vendor_product: device 0: Your OS doesn't seem to support detection of vendor+product ids
> 
> Well, your OS really doesn't support detection of vendor + product ids :-)
> 
> You can give the ids in plustek.conf as far as I know.

I've done this already, it doesn't help.

michael@zaphod:~> cat /usr/local/etc/sane.d/plustek.conf
[usb] 0x04b8 0x011d
device auto

Thanks again,
Michael