For completeness' sake, here is the excerpt from the rules file. Only the relevant lines are included.

/lib/udev/rules.d/40-usb_modeswitch.rules
----------------------------------------------------------------------------

ACTION!="add|change", GOTO="modeswitch_rules_end"

[...]

# Don't continue on "change" event, prevent trigger by changed configuration
ACTION!="add", GOTO="modeswitch_rules_end"

# Generic entry for all Huawei devices
ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'"

[...]

LABEL="modeswitch_rules_end"

----------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to