Re: [PATCH] ftdi_sio driver support of bar code scanner from Diebold
From: Mhayk Whandson
Date: Fri Jan 09 2009 - 05:48:35 EST
Added the product id of bcs(bar code scanner) from Diebold Procomp Brazil.
Signed-off-by: Mhayk Whandson <eu@xxxxxxxxxxxx>
--- linux-2.6.28/drivers/usb/serial/ftdi_sio.h.orig 2009-01-09
06:34:44.000000000 -0400
+++ linux-2.6.28/drivers/usb/serial/ftdi_sio.h 2009-01-09
06:35:10.000000000 -0400
@@ -20,6 +20,9 @@
* Philipp GÃhring - pg@xxxxxxxxxxxxx - added the Device ID of the USB relais
* from Rudolf Gugler
*
+ * Mhayk Whandson - eu@xxxxxxxxxxxx - 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
--- linux-2.6.28/drivers/usb/serial/ftdi_sio.c.orig 2009-01-09
06:34:38.000000000 -0400
+++ linux-2.6.28/drivers/usb/serial/ftdi_sio.c 2009-01-09
06:35:10.000000000 -0400
@@ -660,6 +660,7 @@ static struct usb_device_id id_table_com
{ 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 */
};
--
Mhayk Whandson
Linux User #413723
E-mail: eu@xxxxxxxxxxxx
èº{.nÇ+·®+%Ëlzwm
ébëæìr¸zX§»®w¥{ayºÊÚë,j¢f£¢·hàz¹®w¥¢¸¢·¦j:+v¨wèjØm¶ÿ¾«êçzZ+ùÝj"ú!¶iOæ¬z·vØ^¶m§ÿðÃnÆàþY&