]> git.hungrycats.org Git - linux/commitdiff
[PATCH] USB: mark the scanner driver as obsolete
authorTom Rini <trini@kernel.crashing.org>
Tue, 9 Dec 2003 01:42:34 +0000 (17:42 -0800)
committerTom Rini <trini@kernel.crashing.org>
Tue, 9 Dec 2003 01:42:34 +0000 (17:42 -0800)
On Mon, Dec 01, 2003 at 11:21:58AM -0800, Greg KH wrote:
> Can't you use xsane without the scanner kernel driver?  I thought the
> latest versions used libusb/usbfs to talk directly to the hardware.
> Because of this, the USB scanner driver is marked to be removed from the
> kernel sometime in the near future.

After a bit of mucking around (and possibly finding a bug with debian's
libusb/xsane/hotplug interaction, nothing seems to run
/etc/hotplug/usb/libusbscanner and thus only root can scan, anyone whose
got this working please let me know), the problem does not exist if I
only use  libusb xsane.

How about the following:

drivers/usb/image/Kconfig

index efe964efe12eb51baf3d60ba5f85130b584182f1..6263370d3ed9883ff7326ec62e9d4af4770d6d08 100644 (file)
@@ -18,13 +18,15 @@ config USB_MDC800
          module will be called mdc800.
 
 config USB_SCANNER
-       tristate "USB Scanner support"
+       tristate "USB Scanner support (OBSOLETE)"
        depends on USB
        help
          Say Y here if you want to connect a USB scanner to your computer's
          USB port. Please read <file:Documentation/usb/scanner.txt> for more
          information.
 
+         This driver has been obsoleted by support via libusb.
+
          To compile this driver as a module, choose M here: the
          module will be called scanner.