-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Gernot Hassenpflug @ 03/22/2010 09:07 PM: > On Tue, Mar 23, 2010 at 12:49 PM, scar <scar at drigon.com> wrote: >> Gernot Hassenpflug @ 03/22/2010 07:42 PM: >>> See if as root you can get a result from: >>> scanimage -L >> even as root, it doesn't detect any scanners. >> >> sane-find-scanner does detect it though: >> >> found USB scanner (vendor=0x055f [Hewlett-Packard. ], >> product=0x040b [USB2.0 Scanner ], chip=SQ113) at libusb:001:009 >> > > Yes, in order for the backend to detect it you would need to register > the Vendor ID and Product ID with that backend, if I understand > correctly. That means editing the recommended backend code (preferably > in a CVS version of SANE) and recompiling it (goes into /usr/local so > no interference with system SANE). Then scanimage -L should find the > scanner with whatever backend the Vid/Pid was registered with, and try > to work with it.
from what i've read, i just need to add a line like 'usb 0x055f 0x040b' to the configuration file. i already have a bunch of config files in /etc/sane.d. however, mustek_usb2 doesn't seem to have a configuration file according to the man page[1]. just mustek_usb does (mustek_usb.conf). i did try putting 'usb 0x055f 0x040b' in there for the heck of it but scanimage -L still isn't detecting it. is there something i need to run to reload the config files? i did also try clone'ing the sane-backends git repository, but i can't get past the configure script: sane-backends$ export BACKENDS="mustek_usb2" sane-backends$ ./configure [...] *** mustek_usb2 backend requires pthread library - aborting libpthread-stubs0-dev is already the newest version (0.1-2). 1. http://www.sane-project.org/man/sane-mustek_usb2.5.html -----BEGIN PGP SIGNATURE----- iEYEAREIAAYFAkuoag4ACgkQXhfCJNu98qB5eACg9ZLyPpJOJlIDL4/nVd3RW8ub 2nwAn1leQDtYbkvqiHMx1Ncgnm2nmxOU =XK/6 -----END PGP SIGNATURE-----