[PATCH] for FTDI SIO
"Pierre Castella" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have added to a new product based on the FTDI 232R USB/Serial transceiver, which is commercialized by The Mobility Lab. Here is a patch enclosed. Would the maintainer mind to add it to the official sources?
Might I need to change something or submit it in another form, please do not hesitate to comment
Best regards,
Pierre
--- drv_dl_from_ftdi/ftdi_sio_linux/ftdi_sio.c Thu Feb 2 11:13:34 2006 UTC
+++ drv_dl_from_ftdi/ftdi_sio_linux_MOD_TO_TEST/ftdi_sio.c Thu Aug 30 13:40:19 2007 UTC
@@ -17,6 +17,9 @@
* See http://ftdi-usb-sio.sourceforge.net for upto date testing info
* and extra documentation
*
+ * (30/Mar/2007) Pierre Castella, The Mobility Lab
+ * Added VID for The Mobility Lab and PID for its USB - Serial Converter
+ *
* (2/Feb/2006) ST
* Added support for the 232R chip.
*
@@ -364,6 +367,7 @@
{ USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0, 0x3ff) },
{ USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0, 0x3ff) },
{ USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0, 0x3ff) },
+ { USB_DEVICE_VER(TML_VID, USB_SERIAL_CONVERTER, 0, 0x3ff) },
{ } /* Terminating entry */
};
@@ -480,6 +484,7 @@
{ USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0x400, 0xffff) },
{ USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0x400, 0xffff) },
{ USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0x400, 0xffff) },
+ { USB_DEVICE_VER(TML_VID, USB_SERIAL_CONVERTER, 0, 0xffff) },
{ } /* Terminating entry */
};
@@ -490,6 +495,7 @@
static struct usb_device_id id_table_FT232R[] = {
{ USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_PID, 0x600, 0xffff) },
+ { USB_DEVICE_VER(TML_VID, USB_SERIAL_CONVERTER, 0, 0xffff) },
{ } /* Terminating entry */
};
@@ -628,6 +634,7 @@
{ USB_DEVICE(BANDB_VID, BANDB_USTL4_PID) },
{ USB_DEVICE(BANDB_VID, BANDB_USO9ML2_PID) },
{ USB_DEVICE(FTDI_VID, EVER_ECO_PRO_CDS) },
+ { USB_DEVICE(TML_VID, USB_SERIAL_CONVERTER) },
{ } /* Terminating entry */
};
--- drv_dl_from_ftdi/ftdi_sio_linux/ftdi_sio.h Tue Jan 10 15:31:04 2006 UTC
+++ drv_dl_from_ftdi/ftdi_sio_linux_MOD_TO_TEST/ftdi_sio.h Thu Aug 30 13:32:27 2007 UTC
@@ -248,6 +248,12 @@
*/
#define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */
+/*
+ * The Mobility Lab (TML) USB - Serial Converter
+ */
+#define TML_VID 0x1B91
+#define TML_USB_SERIAL_PID 0x0064
+
/* Commands */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */
--
Pierre Castella
Software R&D Manager
Le Trési 6B
1028 Préverenges
Switzerland
R&D Department : +41 (0)21 821 55 60
Direct : +41 (0)21 821 55 62
Mobile : +41 (0)76 407 62 22
Fax : +41 (0)21 811 45 01
[email protected]
Skype : pierro911
This e-mail as well as any files transmitted with it is confidential and may well contain information which is legally privileged. It is intended solely for the use of the individual or the entity to whom it is addressed. If you are not the intended recipient of this e-mail, you are hereby on notice of this status. Any disclosure, copying, distribution, dissemination or publication of the information contained therein is strictly prohibited, unless you have been permitted thereto by the sender, and might be a breach of confidence. If you are not the intended recipient, please return this e-mail immediately to the sender and then delete this message from your system. The sender is not liable for the proper transmission of this information nor for any delay in its receipt.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel