summaryrefslogtreecommitdiff
path: root/backend/epsonds-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epsonds-usb.c')
-rw-r--r--backend/epsonds-usb.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/backend/epsonds-usb.c b/backend/epsonds-usb.c
new file mode 100644
index 0000000..c7e514c
--- /dev/null
+++ b/backend/epsonds-usb.c
@@ -0,0 +1,33 @@
+/*
+ * epsonds-usb.c - Epson ESC/I-2 driver, USB device list.
+ *
+ * Copyright (C) 2015 Tower Technologies
+ * Author: Alessandro Zummo <a.zummo@towertech.it>
+ *
+ * This file is part of the SANE package.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, version 2.
+ */
+
+#include "epsonds-usb.h"
+
+SANE_Word epsonds_usb_product_ids[] = {
+ 0x0145, /* DS-5500, DS-6500, DS-7500 */
+ 0x0146, /* DS-50000, DS-60000, DS-70000 */
+ 0x014c, /* DS-510 */
+ 0x014d, /* DS-560 */
+ 0x0150, /* DS-40 */
+ 0x0152, /* DS-760, DS-860 */
+ 0x0154, /* DS-520 */
+ 0x08bc, /* PX-M7050 Series, WF-8510/8590 Series */
+ 0x08cc, /* PX-M7050FX Series, WF-R8590 Series */
+ 0 /* last entry - this is used for devices that are specified
+ in the config file as "usb <vendor> <product>" */
+};
+
+int epsonds_get_number_of_ids(void)
+{
+ return sizeof (epsonds_usb_product_ids) / sizeof (SANE_Word);
+}