chiark / gitweb /
modem-modeswitch rules: Match more devices
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 7 Sep 2009 17:37:43 +0000 (19:37 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 7 Sep 2009 17:37:43 +0000 (19:37 +0200)
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

extras/modem-modeswitch/61-mobile-action.rules

index 9f472318b8e219fb63b48f431b57ac031d4205d2..9116b25e2276eb8bce477c067adfa2f1d7d7f187 100644 (file)
@@ -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"