Comment 8 for bug 992639

Revision history for this message
Carlos GarcĂ­a (carlos-garcia-o) wrote : Re: Regression: 12.04 update breaks support for Internet Sticks (3G modems): Nokia CS-15, Nokia cs-17 and perhaps many others

You can create a custom rule in /etc/udev/rules.d directory to do the eject automatically with the following content

#custom rule /etc/udev/rules.d/98-nokia-cs-10.rules
#in the case of Nokia CS-10
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="060c", ACTION=="add", RUN+="/usr/bin/eject -s %k", OPTIONS+="last_rule"

source: http://blog.nielshorn.net/2010/02/using-a-nokia-cs-10-gsm-modem-on-slackware