[sane-devel] What next?
Fri, 27 Jun 2003 14:12:55 +0200
On Fri, Jun 27, 2003 at 07:01:49AM -0500, Roger O Wales wrote:
> If it's possible to use libusb instead of spedific scanner modules
> wouldn't this be quicker and if so, how does one proceed?
I guess that may be of interest for the mailing list so I'm cc'ing it.
Generally speaking, it should be possible to access any scanner using
libusb. libusb is just a way to access the generic USB driver in usbfs.
How do you do it? Just unload any specific drivers (rmmod scanner) and
make sure that the kernel has support for the "Preliminary USB device
filesystem" and that filesystem in mounted. That's the default for
most distributions nowerdays. For access as non-root, see man sane-usb.
But usually libusb or the kernel scanner driver is not the problem.
What is needed is a SANE driver for the specific scanner. It doesn't
matter if libusb or the scanner driver is used in most situations.