mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mhayk Whandson" <eu@mhayk.com.br>
To: linux-kernel@vger.kernel.org, greg@kroah.com,
	kuba@mareimbrium.org, bryder@sgi.com
Subject: [PATCH] ftdi_sio driver support of bar code scanner from Diebold
Date: Fri, 9 Jan 2009 01:52:53 -0400	[thread overview]
Message-ID: <177c2b150901082152g13515bf2q9575523e28a17f92@mail.gmail.com> (raw)

[-- 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>

             reply	other threads:[~2009-01-09  5:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  5:52 Mhayk Whandson [this message]
2009-01-09  8:15 ` Oliver Neukum
2009-01-09 10:48   ` Mhayk Whandson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177c2b150901082152g13515bf2q9575523e28a17f92@mail.gmail.com \
    --to=eu@mhayk.com.br \
    --cc=bryder@sgi.com \
    --cc=greg@kroah.com \
    --cc=kuba@mareimbrium.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®