Summary: | zte: wrong ttyUSB detected | ||
---|---|---|---|
Product: | ModemManager | Reporter: | Balló György <ballogyor> |
Component: | plugins | Assignee: | ModemManager bug user <modemmanager> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Output of 'ModemManager --debug'
Output of 'ModemManager --debug' version 1.6.2 with failed connection Output of 'ModemManager --debug' version 1.6.2 with reverted commit 905ffa67 and successful connection Output of 'ModemManager --debug' git master version with successful connection Output of 'udevadm info -a -n /dev/ttyUSB*' |
For some reason the device's VID:PID is being read incorrectly, we're getting the VID:PID of the host controller instead of the modem, so the ZTE plugin doesn't catch the device: ModemManager[1853]: <debug> [1441108205.468349] [mm-device.c:457] export_modem(): (/org/freedesktop/ModemManager1/Modem/0): 'Generic' modem, VID 0x1B21 PID 0x1042 (usb) Any chance you can try with ModemManager git master instead of 1.4.10? Also, can you get us the output of the following command: $ udevadm info -a -n /dev/ttyUSB* Currently I have the following experiences: - Version 1.6.0 works well. - Version 1.6.2 is broken, but works if I revert the following commit: https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?h=mm-1-6&id=905ffa67336f5608a1e8a305d56ab9846f1c2171 - The latest version of the mm-1-6 branch is still broken. - The latest version of the master branch works well. Created attachment 127674 [details]
Output of 'ModemManager --debug' version 1.6.2 with failed connection
Created attachment 127675 [details]
Output of 'ModemManager --debug' version 1.6.2 with reverted commit 905ffa67 and successful connection
Created attachment 127676 [details]
Output of 'ModemManager --debug' git master version with successful connection
Created attachment 127677 [details]
Output of 'udevadm info -a -n /dev/ttyUSB*'
Thanks for all the tests and logs. I've backported a fix to the mm-1-6 branch which should fix the issue, please let me know if it works for you or if it doesn't. I'll release a new 1.6.x release if you tell me it worked properly. I tested modemmanager 1.6.4, and it works fine. Thank you very much! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 118031 [details] Output of 'ModemManager --debug' Recently I unable to connect with NetworkManager to the internet, because ModemManager tries to use /dev/ttyUSB1, while /dev/ttyUSB2 should be used for the connection. Hardware: ID 19d2:0117 ZTE WCDMA Technologies MSM Package versions: - linux 4.1.6 - systemd 224 - usb_modeswitch 2.2.5 - modemmanager 1.4.10 - networkmanager 1.0.6 Output of 'ModemManager --debug' is attached.