[PATCH 04/14] x22x,udev: single 'usb' subsystems check

Aleksander Morgado aleksander at aleksander.es
Sat Aug 6 07:39:04 UTC 2016


On Thu, Jul 28, 2016 at 12:13 AM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
> ---
>  plugins/x22x/77-mm-x22x-port-types.rules | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>

Pushed to git master.

> diff --git a/plugins/x22x/77-mm-x22x-port-types.rules b/plugins/x22x/77-mm-x22x-port-types.rules
> index 6b5938f..1237028 100644
> --- a/plugins/x22x/77-mm-x22x-port-types.rules
> +++ b/plugins/x22x/77-mm-x22x-port-types.rules
> @@ -9,10 +9,11 @@
>
>
>  ACTION!="add|change|move", GOTO="mm_x22x_port_types_end"
> +SUBSYSTEMS!="usb", GOTO="mm_x22x_port_types_end"
>  SUBSYSTEM!="tty", GOTO="mm_x22x_port_types_end"
>
> -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_x22x_generic_vendorcheck"
> -SUBSYSTEMS=="usb", ATTRS{idVendor}=="0b3c", GOTO="mm_x22x_olivetti_vendorcheck"
> +ATTRS{idVendor}=="1bbb", GOTO="mm_x22x_generic_vendorcheck"
> +ATTRS{idVendor}=="0b3c", GOTO="mm_x22x_olivetti_vendorcheck"
>  GOTO="mm_x22x_port_types_end"
>
>  # Generic JRD devices ---------------------------
> --
> 2.9.0
>



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list