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.
Well, maybe they should match, but they don't. Actually, *none* of them matches.
Instead, this works:
SUBSYSTEMS=="usb", ATTRS{bDeviceCl ass}==" 00|ff", ATTRS{bDeviceSu bClass} =="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.