Re: [PATCH] USB Fixes for 2.6.0-test11

From: Greg KH
Date: Wed Dec 10 2003 - 21:00:09 EST


ChangeSet 1.1520, 2003/12/09 09:42:34-08:00, trini@xxxxxxxxxxxxxxxxxxx

[PATCH] USB: mark the scanner driver as obsolete

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 | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)


diff -Nru a/drivers/usb/image/Kconfig b/drivers/usb/image/Kconfig
--- a/drivers/usb/image/Kconfig Wed Dec 10 16:47:34 2003
+++ b/drivers/usb/image/Kconfig Wed Dec 10 16:47:34 2003
@@ -18,12 +18,14 @@
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/