]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
USB: ftdi_sio: add vendor and product id for Bayer glucose meter serial converter...
authorMarko Hänninen <bugitus@gmail.com>
Fri, 31 Jul 2009 19:32:39 +0000 (22:32 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Aug 2009 23:05:13 +0000 (16:05 -0700)
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/

Signed-off-by: Marko Hänninen <bugitus@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.h

index b574878c78b27b633a056d96cf3eb36a25d098b6..500087ea58a519803219ef15a6c13be57a9b74f6 100644 (file)
@@ -699,6 +699,7 @@ static struct usb_device_id id_table_combined [] = {
                .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
        { USB_DEVICE(LARSENBRUSGAARD_VID, LB_ALTITRACK_PID) },
        { USB_DEVICE(GN_OTOMETRICS_VID, AURICAL_USB_PID) },
+       { USB_DEVICE(BAYER_VID, BAYER_CONTOUR_CABLE_PID) },
        { },                                    /* Optional parameter entry */
        { }                                     /* Terminating entry */
 };
index 24dbd99e87d722a95beac152af27a475c46cac2b..f203b2a51302759f00da994d1c1af8c4e5eb82db 100644 (file)
 #define GN_OTOMETRICS_VID      0x0c33  /* Vendor ID */
 #define AURICAL_USB_PID                0x0010  /* Aurical USB Audiometer */
 
+/*
+ * 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