All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Алексей Крамаренко" <alexeyk13@yandex.ru>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org
Subject: FTDI custom VID/PID patch
Date: Fri, 01 Nov 2013 17:26:38 +0400	[thread overview]
Message-ID: <5273AC0E.3010005@yandex.ru> (raw)

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@yandex.ru>


             reply	other threads:[~2013-11-01 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-01 13:26 Алексей Крамаренко [this message]
2013-11-01 16:24 ` FTDI custom VID/PID patch Greg Kroah-Hartman

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=5273AC0E.3010005@yandex.ru \
    --to=alexeyk13@yandex.ru \
    --cc=gregkh@linuxfoundation.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.