[sane-devel] libusb and sane backend

2007-08-02 Thread Miguel
Hello, Currently i'm trying to migrate a standalone program to a sane backend, i thought that the task would be simpler to migrate it in two stages: first to make the program a backend but using the libusb calls, after that and having a working backend, convert all the libusb stuff to sanei_usb.

[sane-devel] libusb and sane backend

2007-08-02 Thread Gerald Murray
however, the backend doesn't work, the port aparently opens well, but the calls to usb_get_descriptor, usb_control_msg never return. Any one knows if there is any -bad- interaction between calling directly libusb and other sane libraries? This is dependent on the individual scanner. When