[PATCH] usb/serial: enabling support for Segway RMP in ftdi_sio

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

 



From: John G. Rogers <jgrogers[AT]gmail[DOT]com>

I have added the ProductID=0xe729 VendorID=FTDI_VID=0x0403 which will enable support for the Segway Robotic Mobility Platform (RMP200) in the ftdi_sio kernel module.  Currently, users of the Segway RMP200 must use a RUN+="/sbin/modprobe -q ftdi-sio product=0xe729 vendor=0x0403" in a udev rule to get the ftdi_sio module to handle the usb interface and mount it on /dev/ttyXXX.  This is not a good solution because some users will have multiple USB to Serial converters which will use the ftdi_sio module.

Signed-off-by: John Rogers <jgrogers[AT]gmail[DOT]com>
---
diff -uprN -X vanilla_kernel/Documentation/dontdiff vanilla_kernel/drivers/usb/serial/ftdi_sio.c kernel_dev/drivers/usb/serial/ftdi_sio.c
--- vanilla_kernel/drivers/usb/serial/ftdi_sio.c	2010-07-24 08:51:11.000000000 -0400
+++ kernel_dev/drivers/usb/serial/ftdi_sio.c	2010-07-23 13:27:11.000000000 -0400
@@ -737,6 +737,7 @@ static struct usb_device_id id_table_com
 	{ USB_DEVICE(FTDI_VID, MJSG_SR_RADIO_PID) },
 	{ USB_DEVICE(FTDI_VID, MJSG_HD_RADIO_PID) },
 	{ USB_DEVICE(FTDI_VID, MJSG_XM_RADIO_PID) },
+	{ USB_DEVICE(FTDI_VID, SEGWAY_RMP200_PID) },
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 };
diff -uprN -X vanilla_kernel/Documentation/dontdiff vanilla_kernel/drivers/usb/serial/ftdi_sio_ids.h kernel_dev/drivers/usb/serial/ftdi_sio_ids.h
--- vanilla_kernel/drivers/usb/serial/ftdi_sio_ids.h	2010-07-24 08:51:15.000000000 -0400
+++ kernel_dev/drivers/usb/serial/ftdi_sio_ids.h	2010-07-24 09:00:51.000000000 -0400
@@ -1017,3 +1017,9 @@
 #define MJSG_SR_RADIO_PID	0x9379
 #define MJSG_XM_RADIO_PID	0x937A
 #define MJSG_HD_RADIO_PID	0x937C
+
+/*
+ * Segway Robotic Mobility Platform USB interface (using VID 0x0403)
+ * Submitted by John G. Rogers
+ */
+#define SEGWAY_RMP200_PID	0xe729

--
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