[PATCH] Add one VID/PID to ftdi_sio

From: Colin Leroy
Date: Tue Jul 11 2006 - 05:35:24 EST


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@xxxxxxxxxx>

--- 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/