diff options
Diffstat (limited to 'plugins/haier')
-rw-r--r-- | plugins/haier/77-mm-haier-port-types.rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/haier/77-mm-haier-port-types.rules b/plugins/haier/77-mm-haier-port-types.rules index 878bfc91..d095847f 100644 --- a/plugins/haier/77-mm-haier-port-types.rules +++ b/plugins/haier/77-mm-haier-port-types.rules @@ -5,8 +5,9 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="201e", GOTO="mm_haier_port_types" GOTO="mm_haier_port_types_end" LABEL="mm_haier_port_types" +SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}" # Haier CE81B -ATTRS{idVendor}=="201e", ATTRS{idProduct}=="10f8", ATTRS{bInterfaceNumber}=="03", ENV{ID_MM_HAIER_PORT_TYPE_MODEM}="1" +ATTRS{idVendor}=="201e", ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_HAIER_PORT_TYPE_MODEM}="1" LABEL="mm_haier_port_types_end" |