Comment 5 for bug 281335

Revision history for this message
Sergiu Bivol (sergiu-bivol) wrote : Re: 3g Device must be manually switched before usage

It is possible to switch Zero-CD devices automatically. For this, udev needs a rule that sends the "eject" command to the device.

For ZTE MF6xx devices (19d2:2000 in CD-ROM mode), the following rule is all that is needed to do mode-switching (tested in Karmic):

SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000", RUN+="/usr/bin/eject %k"

Developers: Please add this rule to the standard udev rules.
Users: Please create a file "ZTE.rules" in /etc/udev/rules.d containing the above rule and test it. Don't forget to give feedback :)