Well, maybe they should match, but they don't. Actually, *none* of them matches.
Instead, this works:

SUBSYSTEMS=="usb", ATTRS{bDeviceClass}=="00|ff",
ATTRS{bDeviceSubClass}=="00|ff", GOTO="mobile_action_switch"

All of the above checks match, and the ZeroCD is being ejected. Please
note that I used "SUBSYSTEMS" and "ATTRS" instead of the default
"SUBSYSTEM" and "ATTR".

Unfortunately, I have no idea how to fix the fourth check,
ENV{DEVTYPE}=="usb_device", so I have removed it.

-- 
ZeroCD devices (on 3G modems) are not ejected automatically
https://bugs.launchpad.net/bugs/281335
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to