Can't use USB/PL2303-attached Zyxel Omni Mini with non-root user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
modemmanager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: modemmanager
On Ubuntu 9.04 I had no problems using old (but reliable) dialup modem Zyxel Omni Mini. I connected it to USB port using Prolific PL2303 USB-to-Serial connector. It sat on /dev/ttyUSB0 and worked just perfectly with GnomePPP & WVDial.
After upgrade to 9.10 I tried to dial my ISP and got "/dev/ttyUSB0 Device or resource is busy" (or something very similar to). With SUDO I could make wvdial to dial an ISP and establish connection, but it was not a good solution.
Thorough LSOFing gave me that the device is opened by modem-manager process. Attempts to PKILL it failed: it respawned again and again. I've apt-get remove modemmanager, then pkilled it again and got non-root usable modem!
But now NM does not auto-discover GSM-phones attached to /dev/ttyACM0
Guys, you did a great job, but do not forget about dialup users, please! Would devteam do something to make modemmanager not capturing USB-modem, if it is not GSM one?
edit: forgot to mention a package: modemmanager_
Ohhh ... so maybe modem-manager is what the Ubuntu 9.10 upgrade did to break my ppp dial up (and FAXing ... see https:/ /bugs.launchpad .net/ubuntu/ +bug/469881). I've been rebooting in the hopes that if I did nothing, there'd be nothing making /dev/ttyACM0 busy. No joy! But the nasty modem-manager *is* running on my Ubuntu 9.10 system. First, the Ubuntu 9.10 upgrade kills my X/GDM ... and now this!
~$ ps -ef | fgrep -i modem modem-manager
root 1437 1 0 01:42 ? 00:00:00 /usr/sbin/
1000 11962 5326 0 02:17 pts/0 00:00:00 fgrep -i modem
It would seem as if Ubuntu isn't testing modem support (... anymore?). Ouch. It just kills me that this just works like a charm under both MS Windows Vista and 7.
Man, I've been spoiled. For Ubuntu, Karmic Koala seems unusually ornery ;-)
======= ======= ======= ======= ======= ======= ======= ======= ======
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
WvModem<*1>: Cannot set information for serial port.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3
ttyACM0<Info>: Device or resource busy
Modem Port Scan<*1>: ACM0
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http:// open.nit. ca/wiki/ ?WvDial
If you still have problems, send mail to <email address hidden>.