public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Davies <jjd27@cam.ac.uk>
To: greg@kroah.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] ftdi_sio driver - new PIDs
Date: Fri, 04 Aug 2006 15:34:25 +0100	[thread overview]
Message-ID: <44D35AF1.2040200@cam.ac.uk> (raw)

Hello,

I have come across some USB Serial FTDI-based devices which are not automatically detected by ftdi_sio, as of Linux 2.6.17, because their Product IDs are not recognised by the driver.

The devices are:

1. AlphaMicro Components AMC-232USB01 (serial to USB converter cable)
   - http://www.alphamicro.net/components/product~line~4~id~224.asp
   - vendor ID 0x0403
   - product ID 0xff00

2. Lawicel CANUSB (CAN bus to USB converter dongle)
   - http://www.canusb.com/
   - vendor ID 0x0403
   - product ID 0xffa8

Below is the patch for drivers/usb/serial/ftdi_sio.{c,h} against Linux 2.6.17 which includes these Product IDs.

Signed-off-by: Jonathan Davies <jjd27@cam.ac.uk>


diff -uprN -X dontdiff linux-vanilla/drivers/usb/serial/ftdi_sio.c linux-2.6.17/drivers/usb/serial/ftdi_sio.c
--- linux-vanilla/drivers/usb/serial/ftdi_sio.c 2006-08-04 15:12:02.000000000 +0100
+++ linux-2.6.17/drivers/usb/serial/ftdi_sio.c  2006-08-04 15:07:43.000000000 +0100
@@ -17,6 +17,9 @@
   * See http://ftdi-usb-sio.sourceforge.net for upto date testing info
   * and extra documentation
   *
+ * (04/Aug/2006) Jonathan Davies
+ *      Added PIDs for AMC232 and Lawicel CANUSB.
+ *
   * (21/Jul/2004) Ian Abbott
   *      Incorporated Steven Turner's code to add support for the FT2232C chip.
   *      The prelimilary port to the 2.6 kernel was by Rus V. Brushkoff.  I have
@@ -307,6 +310,8 @@ static struct ftdi_sio_quirk ftdi_HE_TIR


  static struct usb_device_id id_table_combined [] = {
+   { USB_DEVICE(FTDI_VID, FTDI_AMC232_PID) },
+   { USB_DEVICE(FTDI_VID, FTDI_CANUSB_PID) },
     { USB_DEVICE(FTDI_VID, FTDI_ACTZWAVE_PID) },
     { USB_DEVICE(FTDI_VID, FTDI_IRTRANS_PID) },
     { USB_DEVICE(FTDI_VID, FTDI_IPLUS_PID) },
diff -uprN -X dontdiff linux-vanilla/drivers/usb/serial/ftdi_sio.h linux-2.6.17/drivers/usb/serial/ftdi_sio.h
--- linux-vanilla/drivers/usb/serial/ftdi_sio.h 2006-08-04 15:12:02.000000000 +0100
+++ linux-2.6.17/drivers/usb/serial/ftdi_sio.h  2006-08-04 15:08:39.000000000 +0100
@@ -31,6 +31,8 @@
  #define FTDI_NF_RIC_VID    0x0DCD  /* Vendor Id */
  #define FTDI_NF_RIC_PID    0x0001  /* Product Id */

+#define FTDI_CANUSB_PID 0xFFA8 /* Lawicel CANUSB Product Id */
+#define FTDI_AMC232_PID 0xFF00 /* AlphaMicro Components AMC-232USB01 Product Id */

  /* ACT Solutions HomePro ZWave interface (http://www.act-solutions.com/HomePro.htm) */
  #define FTDI_ACTZWAVE_PID  0xF2D0



             reply	other threads:[~2006-08-04 14:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 14:34 Jonathan Davies [this message]
2006-08-04 17:23 ` [PATCH] ftdi_sio driver - new PIDs Greg KH
2006-08-07 13:44   ` Jonathan Davies
2006-08-07 18:32     ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2006-08-09  9:48 Jonathan Davies

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=44D35AF1.2040200@cam.ac.uk \
    --to=jjd27@cam.ac.uk \
    --cc=greg@kroah.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