mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ftdi_sio driver support of bar code scanner from Diebold
@ 2009-01-09  5:52 Mhayk Whandson
  2009-01-09  8:15 ` Oliver Neukum
  0 siblings, 1 reply; 3+ messages in thread
From: Mhayk Whandson @ 2009-01-09  5:52 UTC (permalink / raw)
  To: linux-kernel, greg, kuba, bryder

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Added the product id of bcs(bar code scanner) from Diebold Procomp Brazil.

best regards,

-- 
Mhayk Whandson
Linux User #413723
E-mail: eu@mhayk.com.br

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ftdi.patch --]
[-- Type: text/x-patch; name=ftdi.patch, Size: 1391 bytes --]

diff -u ../../../../linux-2.6.28b/linux-2.6.28/drivers/usb/serial/ftdi_sio.c ./ftdi_sio.c
--- ../../../../linux-2.6.28b/linux-2.6.28/drivers/usb/serial/ftdi_sio.c	2008-12-24 19:26:37.000000000 -0400
+++ ./ftdi_sio.c	2009-01-09 00:17:50.000000000 -0400
@@ -660,6 +660,7 @@
 	{ USB_DEVICE(PAPOUCH_VID, PAPOUCH_QUIDO4x4_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_DOMINTELL_DGQG_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_DOMINTELL_DUSB_PID) },
+	{ USB_DEVICE(FTDI_VID, DIEBOLD_BCS_SE923_PID) },
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 };
diff -u ../../../../linux-2.6.28b/linux-2.6.28/drivers/usb/serial/ftdi_sio.h ./ftdi_sio.h
--- ../../../../linux-2.6.28b/linux-2.6.28/drivers/usb/serial/ftdi_sio.h	2008-12-24 19:26:37.000000000 -0400
+++ ./ftdi_sio.h	2009-01-09 00:23:24.000000000 -0400
@@ -20,6 +20,9 @@
  * Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais
  * from Rudolf Gugler
  *
+ * Mhayk Whandson - eu@mhayk.com.br - added the Product ID of the USB Bar Code
+ * Scanner from Diebold Procomp Brazil.
+ *
  */
 
 #define FTDI_VID	0x0403	/* Vendor Id */
@@ -881,6 +884,11 @@
 #define RATOC_PRODUCT_ID_USB60F	0xb020
 
 /*
+ * DIEBOLD BCS SE923
+ */
+#define DIEBOLD_BCS_SE923_PID 0xfb99
+
+/*
  *   BmRequestType:  1100 0000b
  *   bRequest:       FTDI_E2_READ
  *   wValue:         0

Signed-off-by: Mhayk Whandson <eu@mhayk.com.br>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-09 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-09  5:52 [PATCH] ftdi_sio driver support of bar code scanner from Diebold Mhayk Whandson
2009-01-09  8:15 ` Oliver Neukum
2009-01-09 10:48   ` Mhayk Whandson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®