[sane-devel] Problems with libusb (WAS:Upgrading sane-backend on Mandrake 10.0)
Hi, On Sat, Oct 16, 2004 at 08:35:28AM -0700, Lloyd Sumpter wrote: > >You can check by running "sane-find-scanner -v -v". It should print > >messages about using libusb. > > Thanks for your help! But on Sept 29, you wrote: Oh, different thread, same problem? I usually don't look at the author's name :-) > > Oh. That means that SANE isn't built with libusb support. It only > > searches for /dev/usb/ but not for libusb devices. > > > > As your sane-find-scanner program finds libusb devices, maybe you have > > an old installation of the SANE backends without libusb support that's > > used by scanimage? > > Note that sane-find-scanner DOES find the scanner (using libusb), but > scanimage does not. Ok. > PLEASE, any help would be appreciated - I've been working on this for weeks! See above. Have you checked if you don't use two different installations of SANE? E.g. check sane-find-scanner: ldd /usr/bin/sane-find-scanner Check libsane: ldd /usr/lib/libsane.so.1 And to be safe, check the plustek backend: ldd /usr/lib/sane/libsane-plustek.so.1 Also check if scanimage is linked to the right sane-backend libs: ldd /usr/bin/scanimage You may need to adjust the paths. All should print something about libusb. If sane-find-scanner is linked to libusb and libsane isn't, better ask your distributer what the heck they are doing. Bye, Henning
[sane-devel] Problems with libusb (WAS:Upgrading sane-backend on Mandrake 10.0)
Henning Meier-Geinitz wrote: > Hi, > > On Fri, Nov 22, 2002 at 08:03:23AM -0800, Lloyd Sumpter wrote: > > Strange date. > Sorry, had just rebooted (from the problems between harddrake and sane-find-scanner) and hadn't run rdate yet. > >>BTW: The reason I have to upgrade is that apparently the sane-backends >>included with Mandrake 10.0 do NOT support libusb (but since the kernel >>is 2.6.x, there's no scanner.o to use instead...) > > > sane-backends supports libusb since quite some time. And it was needed > before kernel 2.6 at least for some scanners. So I'd be surprised if > the Mandrake version had no libusb support. > > You can check by running "sane-find-scanner -v -v". It should print > messages about using libusb. > Thanks for your help! But on Sept 29, you wrote: > On Tue, Sep 28, 2004 at 01:22:01PM -0700, Lloyd Sumpter wrote: > > > [sanei_debug] Setting debug level of sanei_usb to 255. > > [sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such > device > > [sanei_usb] sanei_usb_init: found 0 devices > > > Oh. That means that SANE isn't built with libusb support. It only > searches for /dev/usb/ but not for libusb devices. > > As your sane-find-scanner program finds libusb devices, maybe you have > an old installation of the SANE backends without libusb support that's > used by scanimage? Note that sane-find-scanner DOES find the scanner (using libusb), but scanimage does not. PLEASE, any help would be appreciated - I've been working on this for weeks! Lloyd Sumpter