[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5273AC0E.3010005@yandex.ru>
Date: Fri, 01 Nov 2013 17:26:38 +0400
From: Алексей Крамаренко
<alexeyk13@...dex.ru>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: FTDI custom VID/PID patch
Hello Greg.
It's my first patch, sorry if something wrong.
Custom VID/PID for Z3X Box device, popular tool for cellphone flashing.
diff -uprN -X linux-3.11.6-vanilla/Documentation/dontdiff
linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio.c
linux-3.11.6-devel/drivers/usb/serial/ftdi_sio.c
--- linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio.c 2013-10-18
22:24:16.000000000 +0400
+++ linux-3.11.6-devel/drivers/usb/serial/ftdi_sio.c 2013-11-01
16:53:25.518999202 +0400
@@ -906,6 +906,7 @@ static struct usb_device_id id_table_com
{ USB_DEVICE(FTDI_VID, FTDI_LUMEL_PD12_PID) },
/* Crucible Devices */
{ USB_DEVICE(FTDI_VID, FTDI_CT_COMET_PID) },
+ { USB_DEVICE(FTDI_VID, FTDI_Z3X_PID) },
{ }, /* Optional parameter
entry */
{ } /* Terminating entry */
};
diff -uprN -X linux-3.11.6-vanilla/Documentation/dontdiff
linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio_ids.h
linux-3.11.6-devel/drivers/usb/serial/ftdi_sio_ids.h
--- linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio_ids.h
2013-10-18 22:24:16.000000000 +0400
+++ linux-3.11.6-devel/drivers/usb/serial/ftdi_sio_ids.h
2013-11-01 16:52:37.288999208 +0400
@@ -1307,3 +1307,9 @@
* Manufacturer: Crucible Technologies
*/
#define FTDI_CT_COMET_PID 0x8e08
+
+/*
+ * Product: Z3X Box
+ * Manufacturer: Smart GSM Team
+ */
+#define FTDI_Z3X_PID 0x0011
Signed-off-by: Alexey E. Kramarenko <alexeyk13@...dex.ru>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists