git clone
[email protected]:9673924.git linux-add-asante-porter-ftdi-pid
Last active
May 17, 2024 02:21
-
-
Save bewest/9673924 to your computer and use it in GitHub Desktop.
asante ftdi linux patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 82bf3dcd649af33d8f41aa2098bd61bfa94cbc04 Mon Sep 17 00:00:00 2001 | |
From: Ben West <[email protected]> | |
Date: Wed, 19 Mar 2014 20:34:33 -0700 | |
Subject: [PATCH] Add AsantePorter PID 0x7F38 to FTDI list | |
This patch allows the ftdi usb serial module to create a device when | |
an Asante Porter usb data cable is plugged in. | |
Signed-off-by: Ben West <[email protected]> | |
--- | |
drivers/usb/serial/ftdi_sio.c | 1 + | |
drivers/usb/serial/ftdi_sio_ids.h | 5 +++++ | |
2 files changed, 6 insertions(+) | |
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c | |
index 44ab129..7f26fa1 100644 | |
--- a/drivers/usb/serial/ftdi_sio.c | |
+++ b/drivers/usb/serial/ftdi_sio.c | |
@@ -688,6 +688,7 @@ static const struct usb_device_id id_table_combined[] = { | |
{ USB_DEVICE(EVOLUTION_VID, EVO_HYBRID_PID) }, | |
{ USB_DEVICE(EVOLUTION_VID, EVO_RCM4_PID) }, | |
{ USB_DEVICE(FTDI_VID, FTDI_ARTEMIS_PID) }, | |
+ { USB_DEVICE(FTDI_VID, FTDI_ASANTE_PORTER_PID) }, | |
{ USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16_PID) }, | |
{ USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16C_PID) }, | |
{ USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16HR_PID) }, | |
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h | |
index e599fbf..0602fd6 100644 | |
--- a/drivers/usb/serial/ftdi_sio_ids.h | |
+++ b/drivers/usb/serial/ftdi_sio_ids.h | |
@@ -194,6 +194,11 @@ | |
#define FTDI_ARTEMIS_PID 0xDF28 /* All Artemis Cameras */ | |
/* | |
+ * Definitions for Asante Porter, data cable for insulin pump. | |
+ */ | |
+#define FTDI_ASANTE_PORTER_PID 0x7F38 /* Asante Porter */ | |
+ | |
+/* | |
* Definitions for ATIK Instruments astronomical USB based cameras | |
* Check it at http://www.atik-instruments.com/ | |
*/ | |
-- | |
1.8.3.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment