udev: replace ENV{ID_VENDOR_ID} conditions with ATTRS{idVendor}
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
ACTION!="add|change|move", GOTO="mm_cinterion_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_cinterion_port_types_end"
|
||||
ENV{ID_VENDOR_ID}!="1e2d", GOTO="mm_cinterion_port_types_end"
|
||||
ATTRS{idVendor}!="1e2d", GOTO="mm_cinterion_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
ACTION!="add|change|move", GOTO="mm_huawei_port_types_end"
|
||||
|
||||
ENV{ID_VENDOR_ID}!="12d1", GOTO="mm_huawei_port_types_end"
|
||||
ATTRS{idVendor}!="12d1", GOTO="mm_huawei_port_types_end"
|
||||
|
||||
# MU609 does not support getportmode (crashes modem with default firmware)
|
||||
ATTRS{idProduct}=="1573", ENV{ID_MM_HUAWEI_DISABLE_GETPORTMODE}="1"
|
||||
|
Reference in New Issue
Block a user