[PATCH] ftdi_sio: add vendor and product id for Bayer glucose meter serial converter cable

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

 



Hi,

Attached patch adds USB vendor and product IDs for Bayer's USB to serial 
converter cable used by Bayer blood glucose meters. It seems to be a FT232RL 
based device and works without any problem with ftdi_sio driver when this 
patch is applied. See: http://winglucofacts.com/cables/

The patch applies to 2.6.30 kernels.

- Marko Hänninen -


Signed-off-by: Marko Hänninen <bugitus@xxxxxxxxx>


--- linux-2.6.30/drivers/usb/serial/ftdi_sio.h.orig	2009-06-10 20:02:28.285790468 +0300
+++ linux-2.6.30/drivers/usb/serial/ftdi_sio.h	2009-06-10 20:11:39.150789307 +0300
@@ -926,6 +926,13 @@
 #define MARVELL_SHEEVAPLUG_PID	0x9e8f
 
 /*
+ * Bayer Ascensia Contour blood glucose meter USB-converter cable.
+ * http://winglucofacts.com/cables/
+ */
+#define BAYER_VID                      0x1A79
+#define BAYER_CONTOUR_CABLE_PID        0x6001
+
+/*
  *   BmRequestType:  1100 0000b
  *   bRequest:       FTDI_E2_READ
  *   wValue:         0
--- linux-2.6.30/drivers/usb/serial/ftdi_sio.c.orig	2009-06-10 20:02:49.670790041 +0300
+++ linux-2.6.30/drivers/usb/serial/ftdi_sio.c	2009-06-10 20:16:58.751788842 +0300
@@ -672,6 +672,7 @@ static struct usb_device_id id_table_com
 	{ USB_DEVICE(JETI_VID, JETI_SPC1201_PID) },
 	{ USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+	{ USB_DEVICE(BAYER_VID, BAYER_CONTOUR_CABLE_PID) },
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 };

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

  Powered by Linux