[PATCH] blacklist: remove OpenMoko Hubs from the blacklist
Aleksander Morgado
aleksander at aleksander.es
Tue Jul 10 16:27:11 UTC 2018
On 10/07/18 16:03, Alexander Couzens wrote:
> 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.
> ---
Pushed, thanks.
> src/77-mm-usb-device-blacklist.rules | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/77-mm-usb-device-blacklist.rules b/src/77-mm-usb-device-blacklist.rules
> index 854739a6f385..758b4bf522ff 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"
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list