[sane-devel] libusb/sane on macosx/darwin (not yet working...)
Beat Birkhofer
beat.birkhofer at ilw.agrl.ethz.ch
Wed Dec 11 11:40:55 GMT 2002
hi
Any Idea why sane failed?
is it possible to get more debug information without using gdb?
Regards
Beat H.
% scanimage -d plustek:libusb:002:002
[sanei_debug] Setting debug level of sanei_usb to 128.
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
usb_os_open: 05ac:8005
USB error: could not open device
usb_os_open: 04a9:220e
usb_control_msg: 128 6 512 0 0xbfffe8f8 8 1000
usb_control_msg: 128 6 512 0 0xc44d0 39 1000
usb_os_close: 04a9:220e
usb_os_find_devices: Found 001 on 001
usb_os_open: 05ac:8005
USB error: could not open device
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:002'
usb_os_open: 04a9:220e
[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:002:002' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04a9,
productID: 0x220e
[sanei_usb] sanei_usb_close: closing device 0
usb_os_close: 04a9:220e
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:002'
usb_os_open: 04a9:220e
[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:002:002' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04a9,
productID: 0x220e
[sanei_usb] sanei_usb_close: closing device 0
usb_os_close: 04a9:220e
scanimage: open of device plustek:libusb:002:002 failed: Error during
device I/O
the same on Linux:
[sanei_debug] Setting debug level of sanei_usb to 128.
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_busses: Skipping non bus directory drivers
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 001
invalid descriptor length of 0
Unable to parse descriptors
usb_os_find_devices: Found 002 on 001
invalid descriptor length of 0
Unable to parse descriptors
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:002'
[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:001:002' (*dn=0)
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04a9,
productID: 0x220e
[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
More information about the sane-devel
mailing list