1README for the USB hotplug scripts for sane-backends : 2------------------------------------------------------ 3 4If you intend to use a USB scanner with libusb and older versions of Linux, you 5should install the hotplug package, and then take the following steps. For 6current Linux kernels, "udev" is state of the art, see the "udev" directory 7instead. 8 9 o Copy the libsane.usermap and libusbscanner files from this directory to 10 /etc/hotplug/usb/ 11 o If you use Linux 2.6.3 or older, add scanner to /etc/hotplug/blacklist so 12 that the scanner.o kernel driver won't be loaded by hotplug. With later 13 kernel versions there is no scanner module and therefore it's not necessary 14 to use the blacklist. 15 o Check if /etc/hotplug/usb/libsane.usermap already knows about your scanner. 16 If your scanner is not in this list,add a line similar to the other ones 17 using the vendor ID and the product ID of your scanner. Please contact the 18 sane-devel mailing list in this case so the ids of your scanner can be added. 19 o Make sure that the "scanner" group exists on your system and that every user 20 who should be allowed to access the scanner is a member of that group. 21 Alternatively, you can enable access for every user of your system in 22 libusbscanner. 23 24The vendor ID and product ID of your scanner can be obtained by running 25sane-find-scanner (you might need to run it as root). 26 27Please note that the scanner.o (or scanner.ko in Linux 2.6) kernel module is 28now deprecated and marked as obsolete in Linux 2.6. It is recommended to switch 29to libusb. 30 31If the hotplug support doesn't work for you once you have taken the steps 32described above, check that your kernel has been built with hotplug support. 33Otherwise, you'll need to rebuild your kernel. 34 35 -- Julien BLACHE <jb@jblache.org>, Sat, 28 Feb 2004 10:01:02 +0000 36