summaryrefslogtreecommitdiff
path: root/backend/epsonds-usb.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-27 06:51:24 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-27 06:51:24 +0200
commitf3843702a12cf46f9cd4d1be772055ec6893a1bb (patch)
tree3f3d8fe1f2b756dc2cd9fcff7b2e8e53539278ba /backend/epsonds-usb.c
parentb2802d98d4486d6afc585062f4ca02fddf829dc5 (diff)
Release 1.0.25+git20150425-1
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);
+}