diff options
Diffstat (limited to 'plugins/tplink/77-mm-tplink-port-types.rules')
-rw-r--r-- | plugins/tplink/77-mm-tplink-port-types.rules | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/tplink/77-mm-tplink-port-types.rules b/plugins/tplink/77-mm-tplink-port-types.rules new file mode 100644 index 00000000..f5c8894e --- /dev/null +++ b/plugins/tplink/77-mm-tplink-port-types.rules @@ -0,0 +1,15 @@ +# do not edit this file, it will be overwritten on update + +ACTION!="add|change|move|bind", GOTO="mm_tplink_port_types_end" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="2357", GOTO="mm_tplink_port_types" +GOTO="mm_tplink_port_types_end" + +LABEL="mm_tplink_port_types" +SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}" + +# D-Link DWM-222 +ATTRS{idVendor}=="2357", ATTRS{idProduct}=="9000", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="2357", ATTRS{idProduct}=="9000", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_PORT_IGNORE}="1" +ATTRS{idVendor}=="2357", ATTRS{idProduct}=="9000", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" + +LABEL="mm_tplink_port_types_end" |