summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2008-12-31 14:25:14 +0000
committerluigi <luigi@FreeBSD.org>2008-12-31 14:25:14 +0000
commit0e452256601fd1d74676df847c0ebc715ec5f41c (patch)
treecbe3c0ec93102d1ccacb102c39a27e6961985735 /sys
parent23fc4ea35d322a8b5a53b49c99014d0cfcd98c0f (diff)
downloadFreeBSD-src-0e452256601fd1d74676df847c0ebc715ec5f41c.zip
FreeBSD-src-0e452256601fd1d74676df847c0ebc715ec5f41c.tar.gz
add some USB scanner IDs for recent Epson multifunction devices.
Add support to uscanner.c for known-working devices (the same should be done for uscanner2.c). Waiting for 7.1 to be released before the merge. MFC after: 3 weeks
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usbdevs18
-rw-r--r--sys/dev/usb/uscanner.c15
2 files changed, 27 insertions, 6 deletions
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 607c0be..383bfdd 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1239,12 +1239,18 @@ product EPSON STYLUS_895 0x0602 Stylus Photo 895 Card Reader
product EPSON CX5400 0x0808 CX5400 scanner
product EPSON 3500 0x080e CX-3500/3600/3650 MFP
product EPSON RX425 0x080f Stylus Photo RX425 scanner
-product EPSON 4800 0x0819 CX4800 MP scanner
-product EPSON 4200 0x0820 CX4200 MP scanner
-product EPSON 5000 0x082b DX-50x0 MFP scanner
-product EPSON 6000 0x082e DX-60x0 MFP scanner
-product EPSON DX7400 0x0838 DX7400/CX7300 scanner
-product EPSON DX8400 0x0839 DX8400 scanner
+product EPSON DX3800 0x0818 CX3700/CX3800/DX38x0 MFP scanner
+product EPSON 4800 0x0819 CX4700/CX4800/DX48x0 MFP scanner
+product EPSON 4200 0x0820 CX4100/CX4200/DX4200 MFP scanner
+product EPSON 5000 0x082b CX4900/CX5000/DX50x0 MFP scanner
+product EPSON 6000 0x082e CX5900/CX6000/DX60x0 MFP scanner
+product EPSON DX4000 0x082f DX4000 MFP scanner
+product EPSON DX7400 0x0838 CX7300/CX7400/DX7400 MFP scanner
+product EPSON DX8400 0x0839 CX8300/CX8400/DX8400 MFP scanner
+product EPSON SX100 0x0841 SX100/NX100 MFP scanner
+product EPSON NX300 0x0848 NX300 MFP scanner
+product EPSON SX200 0x0849 SX200/SX205 MFP scanner
+product EPSON SX400 0x084a SX400/NX400/TX400 MFP scanner
/* e-TEK Labs products */
product ETEK 1COM 0x8007 Serial
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index 1589bfd..bff3a48 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -90,6 +90,15 @@ struct uscan_info {
/* Table of scanners that may work with this driver. */
static const struct uscan_info uscanner_devs[] = {
+
+ /*
+ * These first two entries are duplicates of known-working units,
+ * so one can patch them to test support for newer devices
+ * without rebuilding the module.
+ */
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_6000 }, 0 }, /* duplicate */
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_6000 }, 0 }, /* duplicate */
+
/* Acer Peripherals */
{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_320U }, 0 },
{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_4300U }, 0 },
@@ -217,6 +226,12 @@ static const struct uscan_info uscanner_devs[] = {
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_CX5400 }, 0 },
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_DX7400 }, 0 },
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_DX8400 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_CX5400 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_DX3800 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_DX4000 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_NX300 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_SX200 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_SX400 }, 0 },
/* UMAX */
{{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 },
OpenPOWER on IntegriCloud