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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/992639

Title:
  Regression: 12.04 update breaks support for Internet Sticks (3G
  modems):  Nokia CS-15, Nokia cs-17 and perhaps many others

Status in “network-manager” package in Ubuntu:
  Confirmed
Status in “usb-modeswitch” package in Ubuntu:
  Confirmed

Bug description:
  When "Nokia Mobile Phones CS-15 (Internet Stick 3G modem)" is plugged
  in a usb port nothing happens. No pin code is asked. Not even the
  light in the stick turns on.

  lsusb list the device as:
  Bus 002 Device 003: ID 0421:0610 Nokia Mobile Phones CS-15 (Internet Stick 3G 
modem)

  Tested wth Ubuntu 12.04 LTS.
  It worked fine with Ubuntu 11.10 so this is a regression.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: usb-modeswitch 1.2.3+repack0-1ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
  Uname: Linux 3.2.0-24-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  Date: Tue May  1 17:19:58 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 
(20120423)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  SourcePackage: usb-modeswitch
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/992639/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to