Hi IMHO in sanei_usb.c in sanei_usb_open() in the libusb part there's missing something above the usb_claim_interface():
result = usb_set_configuration (devices[devcount].libusb_handle, 0); [Not sure about the '0', but libusb doen't provide an easy way to count the configs.] On OSX without this line I have to open another application (eg. an USB utility that shows the pipes) befor scanimage. Otherwise scanimage fails in the first usb_claim_interface(). On linux it seems to work without setting the config. ------- Currently scanimage hangs somewhere: [plustek] LAMP-STATUS: 0x00000001 [plustek] Lamp-Timer stopped [plustek] dwflag = 0x40000400 dwBytesPerLine = 744, dwLinesPerScan = 150 [plustek] TIME START [plustek] reader process... [plustek] reader_process started [plustek] reader_process:starting to READ data (111600 bytes) [plustek] buf = 0x00a17000 [plustek] usbDev_readImage() usb_lib_function usb_bulk_write usb_lib_function ep_to_pipeRef Converting ep 0x03 address to pipeRef. tried 1 times [plustek] sane_start done P6 # SANE data follows 248 150 255 Regards Beat H.
