summaryrefslogtreecommitdiff
path: root/src/77-mm-usb-device-blacklist.rules
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-05-18 12:54:37 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-05-18 13:12:26 +0200
commitcab81f679f08beefc85a7582990cce2f276b6190 (patch)
treea0a29f9ee0c8068a14b81f462c64c33e2e9cc2c8 /src/77-mm-usb-device-blacklist.rules
parent5947cda9f49aad2f3c05dbe44c47fcc575156ac6 (diff)
blacklist: ignore default Linux USB Serial Gadget
Blacklist the default VID:PID for the Linux USB Serial Gadget in ACM mode: {LINUX}/drivers/usb/gadget/legacy/serial.c #define GS_VENDOR_ID 0x0525 /* NetChip */ #define GS_CDC_PRODUCT_ID 0xa4a7 /* ... as CDC-ACM */ This should never be reused for real products by hardware manufacturers, but anyway... Patch actually ported from downstream Ubuntu: https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1105352
Diffstat (limited to 'src/77-mm-usb-device-blacklist.rules')
-rw-r--r--src/77-mm-usb-device-blacklist.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/77-mm-usb-device-blacklist.rules b/src/77-mm-usb-device-blacklist.rules
index 4c6a7f90..1c688fec 100644
--- a/src/77-mm-usb-device-blacklist.rules
+++ b/src/77-mm-usb-device-blacklist.rules
@@ -188,4 +188,7 @@ ATTRS{idVendor}=="064B", ATTRS{idProduct}=="7825", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2300", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2301", ENV{ID_MM_DEVICE_IGNORE}="1"
+# Netchip Technology, Inc. Linux-USB Serial Gadget (CDC ACM mode)
+ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a4a7", ENV{ID_MM_DEVICE_IGNORE}="1"
+
LABEL="mm_usb_device_blacklist_end"