Re: [PATCH] USB: ftdi_sio: add PID for OCT DK201 docking station

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you very much.

Johan Hovold wrote:
Add PID 0x0103 for serial port of the OCT DK201 docking station.

Reported-by: Jan Hoogenraad<jan@xxxxxxxxxxxxxx>
Signed-off-by: Johan Hovold<jhovold@xxxxxxxxx>
---

Jan has been using the serial port of the DK201 with ftdi_sio by specifying the
vid/pid when loading the driver. I don't have this hardware myself so this is
compile-only tested.

Thanks,
Johan

  drivers/usb/serial/ftdi_sio.c     |    1 +
  drivers/usb/serial/ftdi_sio_ids.h |    1 +
  2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index a973c7a..dc08321 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -525,6 +525,7 @@ static struct usb_device_id id_table_combined [] = {
  	{ USB_DEVICE(SEALEVEL_VID, SEALEVEL_2803_8_PID) },
  	{ USB_DEVICE(IDTECH_VID, IDTECH_IDT1221U_PID) },
  	{ USB_DEVICE(OCT_VID, OCT_US101_PID) },
+	{ USB_DEVICE(OCT_VID, OCT_DK201_PID) },
  	{ USB_DEVICE(FTDI_VID, FTDI_HE_TIRA1_PID),
  		.driver_info = (kernel_ulong_t)&ftdi_HE_TIRA1_quirk },
  	{ USB_DEVICE(FTDI_VID, FTDI_USB_UIRT_PID),
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
index c543e55..563adca 100644
--- a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/drivers/usb/serial/ftdi_sio_ids.h
@@ -572,6 +572,7 @@
  /* Note: OCT US101 is also rebadged as Dick Smith Electronics (NZ) XH6381 */
  /* Also rebadged as Dick Smith Electronics (Aus) XH6451 */
  /* Also rebadged as SIIG Inc. model US2308 hardware version 1 */
+#define OCT_DK201_PID		0x0103	/* OCT DK201 USB docking station */
  #define OCT_US101_PID		0x0421	/* OCT US101 USB to RS-232 */

  /*


--
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux