Gmane
Gravatar
From: Folkert van Heusden <folkert <at> vanheusden.com>
Subject: Papouch USB thermometer support
Newsgroups: gmane.linux.kernel
Date: 2006-03-24 19:46:55 GMT (2 years, 29 weeks, 2 days, 20 hours and 41 minutes ago)
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 <at> vanheusden.com

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 <at> futureware.at - added the Device ID of the USB relais
  * from Rudolf Gugler
  *
+ * Folkert van Heusden - folkert <at> vanheusden.com - 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