Comment 0 for bug 373821

Cleber Santz (clebersantz) wrote :

  Like discuted here https://bugs.launchpad.net/ubuntu/+source/hal-info/+bug/305968 the ZTE MF 622 Modem and some others 3G Modens have 2 devices using same USB port, in ZTE MF 622 case: ZeroCD (19d2:2000) and Modem (19d2:0001).

  When ZTE Modem is powered on first mount device 19d2:2000 (ZeroCD). When device 19d2:2000 is ejected ZTE Modem switch to device 19d2:0001 (Modem).

  But if ZeroCD are blocked by the Kernel the ZeroCD is never mounted, so ZTE Modem do not switch to device 19d2:0001 (Modem) this cause two problems:

  1) When plug the modem on system already up and running, the ZeroCD are not mounted so you cannot switch to Modem device;

  2) Many BIOS not detect USB devices at BOOT, so when Linux boot ZTE Modem still have device 19d2:2000 active

  The problem one can be solved pluging device before power on the machine, but in the second case the modem cannot be used.

  The better way to solve this is removing ZTE Modem from unusual_devs.h and let user eject the ZeroCD to use the modem, or make a UDEV rule to automatic eject the device when this is mounted.

  Until Ubuntu 8.04 release this work fine.

unusual_devs.h:
++++++++++++++++++++++++++++++++++++++++++++++
/* Reported by Mauro Andreolini <email address hidden>
 * This entry is needed to bypass the ZeroCD mechanism
 * and to properly load as a modem device.
 */
/*UNUSUAL_DEV( 0x19d2, 0x2000, 0x0000, 0x0000,
                "Onda ET502HS",
                "USB MMC Storage",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_IGNORE_DEVICE),
*/
++++++++++++++++++++++++++++++++++++++++++++++

$ lsb_release
Distributor ID: Ubuntu
Release: 9.04
Codename: jaunty

$ uname -a
Linux 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux