[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
This is not a NetworkManager problem. It is also reported by me in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950385 and it is probably kernel bug. The problem is described by ModemManager's developer in our discussion: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/463#note_1157289 as a broken USB communication. According to diagnosis from kernel 5.1x the qmi_wwan module resets modem firmware in endless loop: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/463#note_1157919 although it was worked flawlessly earlier in kernel 5.8.x The workaround is to use udev script for a modem to switch it to the MBIM mode which works ok under ModemManager & NetworkManager. Reboot. Recreate connection profile for modem in Network Manager Mobile Broadband Settings for your GSM Network Provider to make it binded with new MBiM devid config. Tested on kernels 5.8, 5,11, 5.13. Place the attached udev script file in: /etc/udev/rules.d instead of any old one. It uses usb_modeswitch to do the "magic" correctly. ** Attachment removed: "Udev script for switching modem" https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+attachment/5541060/+files/99-hp-lt4120.rules ** Attachment added: "udev script for modem" https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+attachment/5541062/+files/99-hp-lt4120.rules -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
This is not a NetworkManager problem. It is also reported by me in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950385 and it is probably kernel bug. The problem is described by ModemManager's developer in our discussion: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/463#note_1157289 as a broken USB communication. According to diagnosis from kernel 5.1x the qmi_wwan module resets modem firmware in endless loop: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/463#note_1157919 although it was worked flawlessly earlier in kernel 5.8.x The workaround is to use udev script for a modem to switch it to the MBIM mode which works ok under ModemManager & NetworkManager. Tested on kernels 5.8, 5,11, 5.13. Place the attached config file in: /etc/udev/rules.d instead of any old one. It uses usb_modeswitch to do the "magic" correctly. ** Bug watch added: gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues #463 https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/463 ** Attachment added: "Udev script for switching modem" https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+attachment/5541060/+files/99-hp-lt4120.rules -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
Does not work here, too :-( Ubuntu 21.04 (upgraded) HP EliteBook 840 G3 after adding udev rule I get dmesg error: [ 1318.326793] usb 1-3: unknown number of interfaces: 5 [ 1318.333270] qmi_wwan 1-3:1.1: cdc-wdm0: USB WDM device [ 1318.333610] qmi_wwan 1-3:1.1 wwan0: register 'qmi_wwan' at usb-:00:14.0-3, WWAN/QMI device, fa:9c:a4:df:ff:eb [ 1318.333702] qmi_wwan 1-3:1.2: bogus CDC Union: master=0, slave=0 [ 1318.334491] qmi_wwan 1-3:1.2: cdc-wdm1: USB WDM device [ 1318.334790] qmi_wwan 1-3:1.2 wwan1: register 'qmi_wwan' at usb-:00:14.0-3, WWAN/QMI device, fa:9c:a4:df:ff:eb [ 1318.334870] qmi_wwan 1-3:1.3: bogus CDC Union: master=0, slave=0 [ 1318.336461] qmi_wwan 1-3:1.3: cdc-wdm2: USB WDM device [ 1318.336702] qmi_wwan 1-3:1.3 wwan2: register 'qmi_wwan' at usb-:00:14.0-3, WWAN/QMI device, fa:9c:a4:df:ff:eb [ 1318.339062] qmi_wwan 1-3:1.4: bogus CDC Union: master=0, slave=0 [ 1318.339838] qmi_wwan 1-3:1.4: cdc-wdm3: USB WDM device [ 1318.340172] qmi_wwan 1-3:1.4 wwan3: register 'qmi_wwan' at usb-:00:14.0-3, WWAN/QMI device, fa:9c:a4:df:ff:eb [ 1318.370397] qmi_wwan 1-3:1.1 wwan0: unregister 'qmi_wwan' usb-:00:14.0-3, WWAN/QMI device [ 1318.389216] qmi_wwan 1-3:1.2 wwan1: unregister 'qmi_wwan' usb-:00:14.0-3, WWAN/QMI device [ 1318.413358] qmi_wwan 1-3:1.3 wwan2: unregister 'qmi_wwan' usb-:00:14.0-3, WWAN/QMI device [ 1318.437003] qmi_wwan 1-3:1.4 wwan3: unregister 'qmi_wwan' usb-:00:14.0-3, WWAN/QMI device -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
In 18.04 I was able to configure the modem properly using following steps: XXX@XXX-HP-EliteBook-840-G3:~$ uname -a Linux XXX-HP-EliteBook-840-G3 5.0.0-23-generic #24~18.04.1-Ubuntu SMP Mon Jul 29 16:12:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Step 1: Check if the LTE module is properly detected by the NetworkManager XXX@XXX-HP-EliteBook-840-G3:~$ mmcli -L /org/freedesktop/ModemManager1/Modem/0 [HP] HP lt4120 Snapdragon X5 LTE XXX@XXX-HP-EliteBook-840-G3:~$ mmcli -m 0 -- General | dbus path: /org/freedesktop/ModemManager1/Modem/0 | device id: -- Hardware | manufacturer: HP | model: HP lt4120 Snapdragon X5 LTE | revision: T77W595.F0.0.0.3.4.GC.020 1 [Jul 01 2015 06:00:00] | h/w revision: V055 | supported: gsm-umts, lte | cdma-evdo, lte | lte | cdma-evdo, gsm-umts, lte |current: cdma-evdo, gsm-umts, lte | equipment id: XXX -- System | device: /sys/devices/pci:00/:00:14.0/usb1/1-3 |drivers: qmi_wwan | plugin: Generic | primary port: cdc-wdm0 | ports: cdc-wdm0 (qmi), wwp0s20f0u3i1 (net) -- Numbers |own: X -- Status | lock: sim-pin2 | unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10) | state: connected |power state: on |access tech: lte | signal quality: 49% (recent) -- Modes| supported: allowed: 2g; preferred: none | allowed: 3g; preferred: none | allowed: 2g, 3g; preferred: 3g | allowed: 2g, 3g; preferred: 2g | allowed: 2g, 4g; preferred: 4g | allowed: 2g, 4g; preferred: 2g | allowed: 3g, 4g; preferred: 3g | allowed: 3g, 4g; preferred: 4g | allowed: 2g, 3g, 4g; preferred: 4g | allowed: 2g, 3g, 4g; preferred: 3g | allowed: 2g, 3g, 4g; preferred: 2g |current: allowed: 2g, 3g, 4g; preferred: 4g -- Bands| supported: egsm, dcs, pcs, g850, utran-1, utran-4, utran-5, utran-8, | utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, | eutran-8, eutran-12, eutran-13, eutran-17, eutran-20, cdma-bc0, | cdma-bc1 |current: egsm, dcs, pcs, g850, utran-1, utran-4, utran-5, utran-8, | utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, | eutran-8, eutran-12, eutran-13, eutran-17, eutran-20, cdma-bc0, | cdma-bc1 -- IP | supported: ipv4, ipv6, ipv4v6 -- 3GPP | imei: XXX |operator id: 23203 | operator name: HoT | registration: home -- CDMA | meid: XX |esn: | activation: not-activated -- SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0 -- Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/0 Step 2: (only necessary, if no LTE module is detected under Step 1) Get the the vendor and product ID of the LTE module XXX@XXX-HP-EliteBook-840-G3:~$ lsusb Bus 002 Device 001: ID : ZZ Bus 001 Device 006: ID : ZZ Bus 001 Device 005: ID : ZZ Bus 001 Device 007: ID : ZZ Bus 001 Device 003: ID 03f0:9d1d Hewlett-Packard Bus 001 Device 001: ID : ZZ Step 3: (only necessary, if no LTE module is detected under Step 1) Create a specific udev rules file (e.g., 99-hp-lt4120.rules) under /etc/udev/rules.d/ ACTION!="add|change", GOTO="mbim_to_qmi_rules_end" SUBSYSTEM!="usb|drivers", GOTO="mbim_to_qmi_rules_end" # force HP lt4120 to configuration #1 SUBSYSTEM=="usb", \ ATTR{idVendor}=="03f0", ATTR{idProduct}=="9d1d", \ ATTR{bConfigurationValue}="1" # load qmi_wwan module SUBSYSTEM=="usb", \ ATTR{idVendor}=="03f0", ATTR{idProduct}=="9d1d", \ RUN+="/sbin/modprobe -b qmi_wwan" # add the new id in the qmi_wwan driver SUBSYSTEM=="drivers", \ ENV{DEVPATH}=="/sys/bus/usb/drivers/qmi_wwan", \ ATTR{new_id}="03f0 9d1d" # load qcserial module SUBSYSTEM=="usb", \ ATTR{idVendor}=="03f0", AT
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
In 18.04 I can get the modem working by: sudo usb_modeswitch -v 0x03f0 -p 0x9d1d -u3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
This modem require configuration loaded in order to work. One of the options is loading Windows, waiting while it configure modem and then restart. Other option is described here: https://abarouski.blogspot.com/2016/07 /configuring-hp-lt4120-in-linux-as-i.html This solution not yet in upstream (but I'm working on it). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
Felix, '99-XXX.rules' file used to work for me on lt4120 and HP EliteBook 840 G3 few weeks ago on 16.04LTS. Unfortunatelly, it does not work now. I have absolutely no idea what has changed. (mmcli -L finds my modem, however, I am unable to communicate with it. mmcli -L shows "unknown modem"). Are you able to initiate your modem via this commands? sudo sh -c 'echo "1" > /sys/bus/usb/devices/usbX/X-X/bConfigurationValue' (find and use appropiate Xes for you) sudo modprobe -b qmi_wwan sudo sh -c 'echo "03f0 9d1d" > /sys/bus/usb/drivers/qmi_wwan' Then mmcli -L Petr -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
Hi, We have the HP EliteBook 820 G3 with the HP lt4120 Qualcomm® Snapdragon™ X5 LTE Mobile Broadband Module and it is also not being recognised in any flavour of Ubuntu 16.04. After a clean setup, the lt4120 is recognized as a second ethernet card. We had the same issue on another HP laptop, ProBook 640 G2, and solved for Ubuntu 14.04.4 LTS creating a '99-XXX.rules' file on '/etc/udev/rules.d/' folder. (Attached in case is useful for someone) This solution doesn't work for the EliteBook 820 G3 and Ubuntu 16.04, neither Ubuntu 14.04: After adding the '99-XXX.rules' file now we can see the 'Mobile broadband enable' options under the Network Manager system bar, so the card is not recognized as ethernet. But it does nothing when selecting it: always appears as "Disabled Mobile Broadband". ** Attachment added: "Possible solution with 99-XXX.rules" https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+attachment/4683030/+files/99-XXX.rules -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
** Changed in: network-manager (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
I have an HP EliteBook 745 G3 with the HP lt4120 Qualcomm® Snapdragon™ X5 LTE Mobile Broadband Module and it is not recognized by Xubuntu 16.04 as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574582] Re: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network-manager
I have the HP Elite x2 1012 with the HP lt4120 Qualcomm® Snapdragon™ X5 LTE Mobile Broadband Module and it is also not being recognised in any flavour of Ubuntu 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574582 Title: HP lt4120 Snapdragon X5 LTE USB modem not recognized by network- manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs