[PATCH 07/14] longcheer,udev: single 'usb' subsystems check
Aleksander Morgado
aleksander at aleksander.es
Sat Aug 6 08:42:58 UTC 2016
On Thu, Jul 28, 2016 at 12:14 AM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
> ---
> plugins/longcheer/77-mm-longcheer-port-types.rules | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
Pushed to git master.
> diff --git a/plugins/longcheer/77-mm-longcheer-port-types.rules b/plugins/longcheer/77-mm-longcheer-port-types.rules
> index 9ad1493..895096b 100644
> --- a/plugins/longcheer/77-mm-longcheer-port-types.rules
> +++ b/plugins/longcheer/77-mm-longcheer-port-types.rules
> @@ -14,10 +14,11 @@
>
>
> ACTION!="add|change|move", GOTO="mm_longcheer_port_types_end"
> +SUBSYSTEMS!="usb", GOTO="mm_longcheer_port_types_end"
> SUBSYSTEM!="tty", GOTO="mm_longcheer_port_types_end"
>
> -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c9e", GOTO="mm_longcheer_vendorcheck"
> -SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_tamobile_vendorcheck"
> +ATTRS{idVendor}=="1c9e", GOTO="mm_longcheer_vendorcheck"
> +ATTRS{idVendor}=="1bbb", GOTO="mm_tamobile_vendorcheck"
> GOTO="mm_longcheer_port_types_end"
>
> LABEL="mm_longcheer_vendorcheck"
> --
> 2.9.0
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list