From: Kalin KOZHUHAROV <kalin@thinrope.net>
To: linux-kernel@vger.kernel.org
Cc: Folkert van Heusden <folkert@vanheusden.com>
Subject: [2.6 PATCH 2/2]: add support for Papouch TMU (USB thermometer)
Date: Mon, 27 Mar 2006 01:30:55 +0900 [thread overview]
Message-ID: <4426C1BF.90802@thinrope.net> (raw)
In-Reply-To: <4426BD1A.7070204@thinrope.net>
This patch adds support for new vendor (papouch) and one of their
devices - TMU (a USB thermometer).
More information:
vendor homepage:
http://www.papouch.com/en/
product homepage (Polish):
http://www.papouch.com/shop/scripts/_detail.asp?katcislo=0188
This patch is based on the submission from Folkert van Heusden [1].
Folkert, please test it and add your ACK here.
Unfortunately I don't own such device, so this is not tested.
[1] http://article.gmane.org/gmane.linux.kernel/392970
Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net>
diff -pruN linux-2.6.16-K01/drivers/usb/serial/ftdi_sio.c linux-2.6.16-tmp/drivers/usb/serial/ftdi_sio.c
--- linux-2.6.16-K01/drivers/usb/serial/ftdi_sio.c 2006-03-20 14:53:29.000000000 +0900
+++ linux-2.6.16-tmp/drivers/usb/serial/ftdi_sio.c 2006-03-27 00:52:20.000000000 +0900
@@ -492,6 +492,7 @@ static struct usb_device_id id_table_com
{ USB_DEVICE(FTDI_VID, FTDI_WESTREX_MODEL_777_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_WESTREX_MODEL_8900F_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_PCDJ_DAC2_PID) },
+ { USB_DEVICE(PAPOUCH_VID, PAPOUCH_TMU_PID) },
{ }, /* Optional parameter entry */
{ } /* Terminating entry */
};
diff -pruN linux-2.6.16-K01/drivers/usb/serial/ftdi_sio.h linux-2.6.16-tmp/drivers/usb/serial/ftdi_sio.h
--- linux-2.6.16-K01/drivers/usb/serial/ftdi_sio.h 2006-03-27 00:49:43.000000000 +0900
+++ linux-2.6.16-tmp/drivers/usb/serial/ftdi_sio.h 2006-03-27 00:46:55.000000000 +0900
@@ -392,6 +392,15 @@
#define FTDI_WESTREX_MODEL_777_PID 0xDC00 /* Model 777 */
#define FTDI_WESTREX_MODEL_8900F_PID 0xDC01 /* Model 8900F */
+/*
+ * Papouch products (http://www.papouch.com/)
+ * Submitted by Folkert van Heusden
+ */
+
+#define PAPOUCH_VID 0x5050 /* Vendor ID */
+#define PAPOUCH_TMU_PID 0x0400 /* TMU USB Thermometer */
+
+
/* Commands */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */
--
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
next prev parent reply other threads:[~2006-03-26 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 16:11 [2.6 PATCH 0/2]: Cleanup/Update FTDI_SIO Kalin KOZHUHAROV
2006-03-26 16:30 ` Kalin KOZHUHAROV [this message]
2006-03-26 18:03 ` [2.6 PATCH 2/2]: add support for Papouch TMU (USB thermometer) Folkert van Heusden
2006-03-28 11:41 ` [2.6 PATCH] " Kalin KOZHUHAROV
2006-03-26 18:04 ` [2.6 PATCH 0/2]: Cleanup/Update FTDI_SIO Kalin KOZHUHAROV
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=4426C1BF.90802@thinrope.net \
--to=kalin@thinrope.net \
--cc=folkert@vanheusden.com \
--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