From 62334b60a24c06a9e699c7b1dde56f52c30729f8 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 10 Jul 2018 16:03:10 +0200 Subject: blacklist: remove OpenMoko Hubs from the blacklist The problem of full vendor blacklist are hubs. Because ATTRS{} matches all devices in the tree, a modem connected to a OpenMoko hub will be blacklisted as well. --- src/77-mm-usb-device-blacklist.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/77-mm-usb-device-blacklist.rules b/src/77-mm-usb-device-blacklist.rules index 854739a6..758b4bf5 100644 --- a/src/77-mm-usb-device-blacklist.rules +++ b/src/77-mm-usb-device-blacklist.rules @@ -120,8 +120,8 @@ ATTRS{idVendor}=="0fcf", ATTRS{idProduct}=="1009", ENV{ID_MM_DEVICE_IGNORE}="1" # Cypress M8-based GPS devices, UPSes, and serial converters DRIVERS=="cypress_m8", ENV{ID_MM_DEVICE_IGNORE}="1" -# All devices in the Openmoko vendor ID -ATTRS{idVendor}=="1d50", ENV{ID_MM_DEVICE_IGNORE}="1" +# All devices in the Openmoko vendor ID, except usb hubs +ATTRS{idVendor}=="1d50", ATTRS{bDeviceClass}!="09", ENV{ID_MM_DEVICE_IGNORE}="1" # All devices from 3D Robotics ATTRS{idVendor}=="26ac", ENV{ID_MM_DEVICE_IGNORE}="1" -- cgit v1.2.3-70-g09d2