1 From afad19648f70c6493193e0a774bd754b7790b4a0 Mon Sep 17 00:00:00 2001
2 From: John G. Rogers <jgrogers@gmail.com>
3 Date: Sat, 24 Jul 2010 09:50:52 -0400
4 Subject: USB: serial: enabling support for Segway RMP in ftdi_sio
6 From: John G. Rogers <jgrogers@gmail.com>
8 commit afad19648f70c6493193e0a774bd754b7790b4a0 upstream.
10 I have added the ProductID=0xe729 VendorID=FTDI_VID=0x0403 which will
11 enable support for the Segway Robotic Mobility Platform (RMP200) in the
12 ftdi_sio kernel module. Currently, users of the Segway RMP200 must use
13 a RUN+="/sbin/modprobe -q ftdi-sio product=0xe729 vendor=0x0403 in a
14 udev rule to get the ftdi_sio module to handle the usb interface and
15 mount it on /dev/ttyXXX. This is not a good solution because some users
16 will have multiple USB to Serial converters which will use the ftdi_sio
19 Signed-off-by: John Rogers <jgrogers@gmail.com>
20 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
23 drivers/usb/serial/ftdi_sio.c | 1 +
24 drivers/usb/serial/ftdi_sio_ids.h | 5 +++++
25 2 files changed, 6 insertions(+)
27 --- a/drivers/usb/serial/ftdi_sio.c
28 +++ b/drivers/usb/serial/ftdi_sio.c
29 @@ -752,6 +752,7 @@ static struct usb_device_id id_table_com
30 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
31 { USB_DEVICE(FTDI_VID, XVERVE_SIGNALYZER_SH4_PID),
32 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
33 + { USB_DEVICE(FTDI_VID, SEGWAY_RMP200_PID) },
34 { }, /* Optional parameter entry */
35 { } /* Terminating entry */
37 --- a/drivers/usb/serial/ftdi_sio_ids.h
38 +++ b/drivers/usb/serial/ftdi_sio_ids.h
40 #define XVERVE_SIGNALYZER_SH2_PID 0xBCA2
41 #define XVERVE_SIGNALYZER_SH4_PID 0xBCA4
44 + * Segway Robotic Mobility Platform USB interface (using VID 0x0403)
45 + * Submitted by John G. Rogers
47 +#define SEGWAY_RMP200_PID 0xe729