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 9f47231..9116b25 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"