Hi Ilia, On 04/07/07, Ilia Sotnikov wrote: > The whole picture isn't so bright - as for now, this native Win32 > version is limited only to dll, net backends and scanimage binary. > During porting I've also tried libusb-win32 (this way device names > would be similar, I think), but it looks little, hmmm, fragile. The > reliable way is to implement SANE's own USB layer on Win32 > (sanei/sanei_usb.{c,h}), the same is true for SCSI layer. Due to > differences in OS semantics, some other internal functionality should > be also implemented as portable (eg. missing fork() under Win32 API).
LibUSB-Win32 installs the USB filter so that it can compile 'detection' support for the USB device. Unfortunately, it would appear that this only works for the computer that it was compiled on. Take Sane, compiling under Cygwin would give it access to everything that was connected to that computer at the time. If I do this, a USB mouse is detected by sane-find-scanner, and the scanner, but this will not do anything on another computer. Using LibUSB-Win32, the naming of devices is the standard Windows format, //./. Hugh Hugh