diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-07-28 00:13:57 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-06 10:41:52 +0200 |
commit | 7ff57f9808f35d434b638a67b84481271c67c90e (patch) | |
tree | ff235894ae74f05f1b7a1a30abd61b2490852534 /plugins/cinterion | |
parent | 0b35e71d464fd8e422ddb8b7260d44969e1812f4 (diff) |
udev: replace ENV{.MM_USBIFNUM} conditions with ATTRS{bInterfaceNumber}
Diffstat (limited to 'plugins/cinterion')
-rw-r--r-- | plugins/cinterion/77-mm-cinterion-port-types.rules | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/cinterion/77-mm-cinterion-port-types.rules b/plugins/cinterion/77-mm-cinterion-port-types.rules index d345badc..9e5d5f59 100644 --- a/plugins/cinterion/77-mm-cinterion-port-types.rules +++ b/plugins/cinterion/77-mm-cinterion-port-types.rules @@ -4,8 +4,6 @@ ACTION!="add|change|move", GOTO="mm_cinterion_port_types_end" SUBSYSTEM!="tty", GOTO="mm_cinterion_port_types_end" ATTRS{idVendor}!="1e2d", GOTO="mm_cinterion_port_types_end" -SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}" - -ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="0053", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_CINTERION_PORT_TYPE_GPS}="1" +ATTRS{idVendor}=="1e2d", ATTRS{idProduct}=="0053", ATTRS{bInterfaceNumber}=="01", ENV{ID_MM_CINTERION_PORT_TYPE_GPS}="1" LABEL="mm_cinterion_port_types_end" |