From: Martin Pitt Date: Mon, 7 Sep 2009 17:37:43 +0000 (+0200) Subject: modem-modeswitch rules: Match more devices X-Git-Tag: 174~783 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=bfde03a14962c380d0e43327142710718c351cdb;p=elogind.git modem-modeswitch rules: Match more devices extras/modem-modeswitch/61-mobile-action.rules: Match on device class/subclass "00" as well, some devices like the Vodafone K3565-Z have that. https://launchpad.net/bugs/281335 --- diff --git a/extras/modem-modeswitch/61-mobile-action.rules b/extras/modem-modeswitch/61-mobile-action.rules index 9f472318b..9116b25e2 100644 --- a/extras/modem-modeswitch/61-mobile-action.rules +++ b/extras/modem-modeswitch/61-mobile-action.rules @@ -1,6 +1,6 @@ ACTION!="add", GOTO="mobile_action_end" -SUBSYSTEM=="usb", ATTR{bDeviceClass}=="ff", ATTR{bDeviceSubClass}=="ff", ENV{DEVTYPE}=="usb_device", GOTO="mobile_action_switch" +SUBSYSTEM=="usb", ATTR{bDeviceClass}=="00|ff", ATTR{bDeviceSubClass}=="00|ff", ENV{DEVTYPE}=="usb_device", GOTO="mobile_action_switch" GOTO="mobile_action_end" LABEL="mobile_action_switch"