GNOME Bugzilla – Bug 685011
ModemManager probe wrong tty on Haier CE81B
Last modified: 2014-10-14 14:47:27 UTC
Modem Type: Haier CE81B Modem Vendor: 0x201e Modem Product: 0x10f8 After successful probe using command: sudo modprobe usbserial vendor=0x201e product=0x10f8 ModemManager start scanning for right ttyUSB. However, ModemManager confused by ttyUSB02 that responded to AT command. The right tty for ppp dialing is ttyUSB03. Below is my udev rule to block ModemManager scan on ttyUSB00-ttyUSB02. As a side effect, blocking port will speed up ModemManager detection.
Created attachment 225302 [details] udev modemmanager port blacklist
Instead of ignoring the port that responds to AT but confusingly, I suggest we fix ModemManager to handle the port correctly. We do this for a lot of other devices that don't have full parsers on some AT port, or that only provide PPP connections on a specific port. To do this, can we: 1) get a ModemManager debug log of device detection 2) before the modeswitch runs tar up the fake CD and email it to me so I can determine what AT commands the device uses and what the Windows driver does with the ports
With number 1 do you mean something like https://wiki.ubuntu.com/DebuggingModemmanager? For number 2, do you need the content of fake CD? It seems I can't mount the fake CD, so I think I will copy it from windows machine. Is that still counts?
Yes for both.
Created attachment 226235 [details] Modem manager log without udev port-ban rules
Created attachment 226236 [details] Network manager log without udev port-ban rules.
Created attachment 226238 [details] Modem manager log WITH udev port-ban rules.
Here all the log, two log for network and modem manager without blocking port udev rule. One log for modem manager with block port rule. Link for setup file: http://www.mediafire.com/download.php?l39t0qk2kad9l02
I wrote a patch to try to handle this issue; which you can find in the new bugreport created in the new ModemManager bugzilla in freedesktop.org: https://bugs.freedesktop.org/show_bug.cgi?id=85001 Could you please try with that patch? Also, I'm moving over all bugs to the new bugzilla, and hence I'll close this bug (but the issue is NOT closed!). Please follow the status of the fix in the freedesktop.org bugzilla from now on, and comment there the results of your tests.