22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
diff -up ModemManager-0.2/plugins/77-mm-zte-port-types.rules.udev-rule-typo ModemManager-0.2/plugins/77-mm-zte-port-types.rules
|
|
--- ModemManager-0.2/plugins/77-mm-zte-port-types.rules.udev-rule-typo 2009-07-31 21:53:07.145389914 -0400
|
|
+++ ModemManager-0.2/plugins/77-mm-zte-port-types.rules 2009-07-31 21:54:00.196600678 -0400
|
|
@@ -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"
|