diff options
author | Colin Leroy <colin@colino.net> | 2006-07-11 05:36:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-07-12 19:03:24 -0400 |
commit | e1979fef347f534c3797eaa3e10825235ed72766 (patch) | |
tree | 1c748d2a34b147d3f68e355466bb0abe5091aae5 /drivers/usb | |
parent | 7e3bd120e52971d5e255ca800f7de6bf83d8f2d1 (diff) |
[PATCH] USB: Add one VID/PID to ftdi_sio
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 1 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index ff06c01a555b..0b9baaf0da90 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -502,6 +502,7 @@ static struct usb_device_id id_table_combined [] = { | |||
502 | { USB_DEVICE(FTDI_VID, FTDI_ACG_HFDUAL_PID) }, | 502 | { USB_DEVICE(FTDI_VID, FTDI_ACG_HFDUAL_PID) }, |
503 | { USB_DEVICE(FTDI_VID, FTDI_YEI_SERVOCENTER31_PID) }, | 503 | { USB_DEVICE(FTDI_VID, FTDI_YEI_SERVOCENTER31_PID) }, |
504 | { USB_DEVICE(FTDI_VID, FTDI_THORLABS_PID) }, | 504 | { USB_DEVICE(FTDI_VID, FTDI_THORLABS_PID) }, |
505 | { USB_DEVICE(TESTO_VID, TESTO_USB_INTERFACE_PID) }, | ||
505 | { }, /* Optional parameter entry */ | 506 | { }, /* Optional parameter entry */ |
506 | { } /* Terminating entry */ | 507 | { } /* Terminating entry */ |
507 | }; | 508 | }; |
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index 024e5512d600..04ef90fcb876 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h | |||
@@ -450,6 +450,13 @@ | |||
450 | */ | 450 | */ |
451 | #define FTDI_THORLABS_PID 0xfaf0 /* ThorLabs USB motor drivers */ | 451 | #define FTDI_THORLABS_PID 0xfaf0 /* ThorLabs USB motor drivers */ |
452 | 452 | ||
453 | /* | ||
454 | * Testo products (http://www.testo.com/) | ||
455 | * Submitted by Colin Leroy | ||
456 | */ | ||
457 | #define TESTO_VID 0x128D | ||
458 | #define TESTO_USB_INTERFACE_PID 0x0001 | ||
459 | |||
453 | /* Commands */ | 460 | /* Commands */ |
454 | #define FTDI_SIO_RESET 0 /* Reset the port */ | 461 | #define FTDI_SIO_RESET 0 /* Reset the port */ |
455 | #define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */ | 462 | #define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */ |