Papouch USB thermometer support

From: Folkert van Heusden
Date: Fri Mar 24 2006 - 14:44:10 EST


Hi,

The following patch against 2.6.15 adds support for the www.Papouch.com
USB thermometer by adding the appropriate vendor and product id.


Signed off: Folkert van Heusden <folkert@xxxxxxxxxxxxxx

diff -uNrbBd old/ftdi_sio.c new/ftdi_sio.c
--- old/ftdi_sio.c 2006-03-24 20:36:19.000000000 +0100
+++ new/ftdi_sio.c 2006-03-24 20:33:20.000000000 +0100
@@ -307,6 +307,7 @@


static struct usb_device_id id_table_combined [] = {
+ { USB_DEVICE(PAPOUCHE_VENDOR, PAPOUCHE_THEM_PROD) },
{ USB_DEVICE(FTDI_VID, FTDI_IRTRANS_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
diff -uNrbBd old/ftdi_sio.h new/ftdi_sio.h
--- old/ftdi_sio.h 2006-03-24 20:36:19.000000000 +0100
+++ new/ftdi_sio.h 2006-03-24 20:37:35.000000000 +0100
@@ -20,8 +20,13 @@
* Philipp Gühring - pg@xxxxxxxxxxxxx - added the Device ID of the USB relais
* from Rudolf Gugler
*
+ * Folkert van Heusden - folkert@xxxxxxxxxxxxxx - added the device id of the
+ * temperature sensor from www.papouch.com
*/

+#define PAPOUCHE_VENDOR 0x5050
+#define PAPOUCHE_THEM_PROD 0x0400
+
#define FTDI_VID 0x0403 /* Vendor Id */
#define FTDI_SIO_PID 0x8372 /* Product Id SIO application of 8U100AX */
#define FTDI_8U232AM_PID 0x6001 /* Similar device to SIO above */


Folkert van Heusden

--
www.vanheusden.com/multitail - multitail is tail on steroids. multiple
windows, filtering, coloring, anything you can think of
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
-
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/