mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Add one VID/PID to ftdi_sio
@ 2006-07-11  9:36 Colin Leroy
  0 siblings, 0 replies; only message in thread
From: Colin Leroy @ 2006-07-11  9:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: lkml, linux-usb-devel

Hi,

This patch adds the Testo USB interface to the list of devices
recognized by the ftdi_sio module. This device is based on a FT232BL
chip, and is used as an interface to get data from digital sensors
(thermometer, etc). See http://www.testo.com/

Signed-Off-By: Colin Leroy <colin@colino.net>

--- a/drivers/usb/serial/ftdi_sio.h	2006-07-11 11:17:41.000000000 +0200
+++ b/drivers/usb/serial/ftdi_sio.h	2006-07-11 11:19:43.000000000 +0200
@@ -436,6 +436,13 @@
  */
 #define FTDI_ACG_HFDUAL_PID		0xDD20	/* HF Dual ISO Reader (RFID) */
 
+/*
+ * Testo products (http://www.testo.com/)
+ * Submitted by Colin Leroy
+ */
+#define TESTO_VID			0x128D
+#define TESTO_USB_INTERFACE_PID		0x0001
+
 /* Commands */
 #define FTDI_SIO_RESET 		0 /* Reset the port */
 #define FTDI_SIO_MODEM_CTRL 	1 /* Set the modem control register */
--- a/drivers/usb/serial/ftdi_sio.c	2006-07-11 11:17:30.000000000 +0200
+++ b/drivers/usb/serial/ftdi_sio.c	2006-07-11 11:20:01.000000000 +0200
@@ -500,6 +500,7 @@
 	{ USB_DEVICE(ICOM_ID1_VID, ICOM_ID1_PID) },
 	{ USB_DEVICE(PAPOUCH_VID, PAPOUCH_TMU_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_ACG_HFDUAL_PID) },
+	{ USB_DEVICE(TESTO_VID, TESTO_USB_INTERFACE_PID) },
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 };

-- 
Colin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-11  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11  9:36 [PATCH] Add one VID/PID to ftdi_sio Colin Leroy

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®