[sane-devel] Boeder SmartScan Slim Edition on SuSE

Jim George jim.george at blueyonder.co.uk
Thu Feb 12 09:08:08 GMT 2004


Allan,

answers to your questions.
>
> do you have a file called /usr/include/usb.h ?

No.  Where can I get it?
>
> 1. usb support in the kernel makes you able to see usb stuff in the
> output  of lsmod and do things like insmod usb-uhci

tassi:/usr/local/etc/sane.d # lsmod | grep usb
usbserial              18492   0  (autoclean) (unused)
usb-uhci               21612   0  (unused)
usbcore                56768   1  [scanner usbserial snd usb-uhci]
tassi:/usr/local/etc/sane.d #

>
> 2. usbdevfs (or usbfs) being mounted gives you files in /proc/bus/usb
> that  user-land apps can use to talk to the devices thru the kernel.
>
tassi:/usr/local/etc/sane.d # ls /proc/bus/usb
.  ..  001  devices  drivers
tassi:/usr/local/etc/sane.d #

> 3. libusb being installed gives you /usr/lib/libusb.so and friends. this
>  enables you to run apps that are compiled with libusb support.

tassi:/usr/local/etc/sane.d # ls /usr/lib | grep usb
libusb-0.1.so.4
libusb-0.1.so.4.3.0
tassi:/usr/local/etc/sane.d #

>
> 4. the libusb header files are in /usr/include/usb.h and friends. these
> enable you to BUILD apps that use libusb support.

Nothing returned from ls /usr/include | grep usb

>
> do you have all four of these things?
>

No.








More information about the sane-devel mailing list