Skip to contentSkip to conversation

usb-serial: ftdi driver- add support for optical probe device

PATCH New Ed Beroset 1 participant 1 message Jan 17, 2008

Subsystems (2)
lore
Share & tools
lore

Ed Beroset

author
#0 lore raw

PATCH 1/1 usb-serial: ftdi driver- add support for optical probe device

This patch is for the 2.6.24-rc8 kernel.

Added support for the Elster Unicom III Optical Probe. The device ID has already been added to the usb.ids file.

---

diff -aur --exclude-from=a/.gitignore a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c

drivers/usb/serial/ftdi_sio.c +4 -0
@@ -17,6 +17,10 @@
  * See http://ftdi-usb-sio.sourceforge.net for upto date testing info
  *	and extra documentation
  *
+ * (16/Jan/2007) Ed Beroset
+ *      Added PID for Elster Unicom III Optical Probe
+ *      see http://www.elsterelectricity.com/ for product description
+ *
  * (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
@@ -571,6 +575,7 @@
{ USB_DEVICE(TML_VID, TML_USB_SERIAL_PID) },
{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_PID),
.driver_info = (kernel_ulong_t)&ftdi_olimex_quirk },
+ { USB_DEVICE(FTDI_VID, FTDI_ELSTER_UNICOM_PID) },
{ }, /* Optional parameter entry */
{ } /* Terminating entry */
};
diff -aur --exclude-from=a/.gitignore a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h

drivers/usb/serial/ftdi_sio.h +2 -0
@@ -534,6 +534,8 @@
 #define OLIMEX_VID			0x15BA
 #define OLIMEX_ARM_USB_OCD_PID		0x0003
 
+/* www.elsterelectricity.com Elster Unicom III Optical Probe */
+#define FTDI_ELSTER_UNICOM_PID 0xE700 /* Product Id */
 
 /*
  * The Mobility Lab (TML)