After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603433 - can't recognize modem ZTE636
can't recognize modem ZTE636
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: ModemManager
0.7.x
Other Linux
: Normal blocker
: ---
Assigned To: Dan Williams
Depends on:
Blocks:
 
 
Reported: 2009-12-01 02:25 UTC by Neville A. Cross
Modified: 2009-12-07 07:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Neville A. Cross 2009-12-01 02:25:47 UTC
I am not sure if this is a bug of NetworkManager or if it is something else.

I have a laptop and a desktop that reports its DVD reader/writer as sr0 and when I plug the modem it can not be recognised by NetworkManager. I am using Fedora 12. I worked well with the liveCD.

If I use the usual eject sr0 the DVD tray opens, and I don't have other device recognized. Again I am not sure if this is something that the NetworkManager has to do or if the NetworkManager waits until other software do it.

I am not usre if it worked well before because the tray was used by the system. I also tried with a disk inside. I didn't solved my problem.

This is what I guess will be useful. If there is something else to post, I will be glad to add more information.

[root@bones dev]# ls sr*
sr0
====> Now I plug the modem ZTE MF636 in the usb connector <====
[root@bones dev]# dmesg | tail
usb 1-6: new high speed USB device using ehci_hcd and address 8
usb 1-6: New USB device found, idVendor=19d2, idProduct=2000
usb 1-6: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-6: Product: ZTE CDMA Technologies MSM
usb 1-6: Manufacturer: ZTE,Incorporated
usb 1-6: SerialNumber: 1234567890ABCDEF
usb 1-6: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
[root@bones dev]# ls sr*
sr0

I tried latter the dmesg and still the last line was the same regarding waiting for device to settle.
Comment 1 Dan Williams 2009-12-01 07:45:06 UTC
You'll want to use usb_modeswitch to flip the device to modem mode, after which it should be recognized by NetworkManager.  Let me know if that does the trick; basically NM can't get involved until the device is actually a modem.
Comment 2 Neville A. Cross 2009-12-01 14:05:49 UTC
I installed usb_modeswitch to flip as I did in early versions of Fedora. It did not worked as the device was not recogniced.

I tried with a liveUSB and I got sr0 for the DVD and then got sr1 for the modem. Ejected the disk sr1 and then it was recognized by NM.

Aparently the problem is before NM takes control, as the device never settles. Whick package deals with this?

Thanks for your help
Comment 3 Dan Williams 2009-12-02 21:20:00 UTC
I think there are some USB storage issues with 2.6.31 right now that prevent this from working on some devices (including ZTE and Huawei).  Can you do one thing for me?

In the file /lib/udev/rules.d/61-option-modem-modeswitch.rules, remove these two lines at the end that do not start with "ATTRS{idVendor}=="0af0"".  Then replug your device.  Does that help at all?
Comment 4 Neville A. Cross 2009-12-05 04:48:57 UTC
Sorry for the delay.

Yes that helped. Now the modem get recognised as sr1, and when I eject that disk the NM can get control of the modem.

Thanks a lot for your help.
Comment 5 Dan Williams 2009-12-07 07:37:51 UTC
Excellent; so it's that udev bug upstream.  I've already reverted those problem commits in  udev, so you'll want to see if your distro can update udev or patch it locally to remove those.