Hi. Libusb is already used by gphoto2 but it is rather tricky to handle the permissions of the usbfs files to let normal-users access the camera ... (I would like to see it using devfs and so control permissions by the devfsd ...). Configureing my brother's USB Epson Scanner was easier ... - But I would like to see a general way how to use the USB, too.
On Wed, 21 Nov 2001 20:07:28 +0100 Henning Meier-Geinitz <[email protected]> wrote: > Hi, > > On Tue, Nov 20, 2001 at 09:47:52PM -0600, Frank Zago wrote: > > * I used the libusb library to support usb. As a result, the backend > > autodetect the scanner and does not use /dev/usbscanner nor the > > configuration files. And it does not use the scanner driver. Is the use of > > the libusb a good idea? > > I'm not sure. I don't have any experience with libusb. The main reason > to not use it when I started the Mustek USB backend was the absence of > any documentation. Someone also mentioned that it's not possible to > restrict access to the scanner by setting permissions. I don't konw > about portability: in prociple, this library should be able to run on > everything that supports USB but I don't know what it really supports. > sanei_usb currently is tested (and works) with Linux and FreeBSD. > > My opinion is: It's just one more library that may make life harder > when compiling/linking. If you include support into the umax backend, > be sure to make it compiling and running (the SCSI part) even if the > lib isn't present. > > Concerning autodetection: This is also possible with sanei_usb and > newer Linux kernels. > > Bye, > Henning > _______________________________________________ > Sane-devel mailing list > [email protected] > http://www.mostang.com/mailman/listinfo/sane-devel > k33p h4ck1n6 René -- René Rebe (Registered Linux user: #127875 <http://counter.li.org>) eMail: [email protected] [email protected] Homepage: http://www.tfh-berlin.de/~s712059/index.html Anyone sending unwanted advertising e-mail to this address will be charged $25 for network traffic and computing time. By extracting my address from this message or its header, you agree to these terms.
