zte: fix udev rules
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="nm_zte_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="nm_zte_port_types_end"
|
||||
ACTION!="add|change", GOTO="mm_zte_port_types_end"
|
||||
SUBSYSTEM!="tty", GOTO="mm_zte_port_types_end"
|
||||
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", GOTO="nm_zte_port_types_vendorcheck"
|
||||
GOTO="nm_zte_port_types_end"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", GOTO="mm_zte_port_types_vendorcheck"
|
||||
GOTO="mm_zte_port_types_end"
|
||||
|
||||
LABEL="nm_zte_port_types_vendorcheck"
|
||||
LABEL="mm_zte_port_types_vendorcheck"
|
||||
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"
|
||||
|
||||
ATTRS{idProduct}=="0001", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_ZTE_PORT_TYPE_MODEM}="1"
|
||||
|
Reference in New Issue
Block a user