Built-in LTE pci modem on HP EliteBook 850 G5 not recognized under arch linux
I'm trying to run LTE modem on HP EliteBook 850 G5. But seems that it's not recognized by the system. I got a message from modem manager:
Quote:
Code:
$ sudo systemctl status ModemManager.service |
It would be more useful to show us the device chipset and any driver that might be loaded
Code:
/sbin/lspci -nnk Code:
usb-devices |
A bit of online searching, and I found the following blog which might be helpful to you...
https://toreanderson.github.io/2017/...inux-ipv6.html Essentially a matter of adding some udev rules (eg /etc/udev/rules.d/hp-lt4132.rules) to configure the device so that ModemManager can then use it... Code:
ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="03f0", ATTR{idProduct}=="a31d", ATTR{bConfigurationValue}!="3", ATTR{bConfigurationValue}:="0" http://www.draisberghof.de/usb_modes...p=18195#p18195 Hope this helps. FWIW, those with a LT4120 device (eg similar model EliteBooks) the udev rules mentioned here might be of value... https://github.com/borovsky/x5-snapd...p-lt4120.rules |
I'm very grateful for your attention.
Code:
$ sudo /sbin/lspci -nnk Code:
$ sudo /sbin/usb-devices |
From that output, no discernible mobile broadband device is present. This might be the case if the device is powered off for any reason. You can use rfkill to find the status, (which you may need to install first if it isn't already installed).
Code:
/usr/sbin/rfkill list |
Code:
$ /usr/sbin/rfkill list |
Quote:
https://superuser.com/questions/1337...der-arch-linux |
I missed the PCI output, especially since the HP Elitebook specs talk about LT4120 and LT4132 device options, and usually I've seen these types of devices connected to the USB bus. Reviewing this thread though, I now concur with Michael's assessment about the PCI-connected device not being supported yet (no kernel driver loaded). It appears to be an Intel® XMM™ 7360 LTE device. Given time though, I expect such support to come. For now, using an external mobile broadband device is the best course of action.
|
I greatly appreciate your help. As you said, I have to be patient and wait for official support by kernel.
|
If you're in the position to do so, I would look at investigating replacing this internal card with an LT4120 or LT4123 perhaps...
http://www8.hp.com/us/en/products/oa...ml?oid=9316614 FWIW, I found a discussion involving the 7360 chipset and some users mention that the card can be put into PCI or USB mode, based on some connected pins (or possibly via a Windows driver). For Linux/Android kernel support the device must be operating in USB mode. Windows 10 supports the device in PCI mode. However, the complication seems to be that the laptop vendors have whitelists (in the BIOS) to explicitly restrict the devices to those officially sanctioned by them, and this means the devices can't be used in USB mode... https://forums.lenovo.com/t5/Linux-D...0/td-p/4067969 After reading this discussion through to the end, I'm not sure that Linux support will ever come, and choosing supported hardware is the only realistic option here. |
Disabling PCIE and enabling USB 3.0 with scotch tape.
Hello, I have an EliteBook 745 G5 with the same card, and after checking the pinout at: https://fccid.io/ZMOL860GL/User-Manu...3993200.iframe i tried to put scotch tape on the PCIE pins and plug the card again.
The problem is that the laptop says that the module is not allowed (why hp? life is complicated why do you make it even more complicated!!!). Anyway, I did the following: I turned off the computer without the WWAN card. Then once the computer was on, I suspended it and I plugged in the WWAN card with the scotch tape in the PCIE pins. The card was detected by network manager and seemed to work, but I was unable to connect successfully to the internet; nonetheless this proves that the card can be connected using USB 3.0. To make this solution permanent, I should find a way to disable the card detection during the boot process, however, before wasting more time, I bought a Huawei (HP lt4132) card compatible with my laptop from ebay to try it before going radical and putting a switch next to the kensingston hole in order to choose when to power or not the card. There's also a pin near the VCC that in theory is used to fully disable the card when is pulled down, but, in my motherboard is directly soldered to the neighbouring VCC pins. I don't like the fact that the module is directly attached to the PCIE, as I am more exposed to DMA attacks from the obscure baseband firmware. The Huawei card, in theory works with the USB interface only, but, Huawei is under the control of the mainland Chinese government (which undermines security and invades privacy). As you can see, there's no easy solution for now as the options are very limited. Previously I had a dell computer, and I could plug any card I wanted, the only reason I bought that HP was for the Ryzen 2700U Pro. Hope this comment may help. |
Quote:
Is there any workaround for that? |
Perhaps resetting the USB bus upon resume might be sufficient here. Some experimentation probably required to incorporate into a resume script.
Some examples... https://askubuntu.com/questions/645/...e-command-line https://enc.com.au/2014/02/14/resetting-usb-devices/ https://superuser.com/questions/1419...ng-it-in-linux |
See this regarding BIOS whitelists: https://www.linuxquestions.org/quest...rs-4175640056/
|
Found a perfect solution.
The udev rules are not needed anymore. usb_modeswitch actually supports HP lt4132, but somehow it is not configured to be used. So it was sufficient to edit /lib/udev/rules.d/40-usb_modeswitch.rules by adding the following lines: #HP lt4132 ATTR{idVendor}==“03f0”, ATTR{idProduct}==“a31d”, RUN+=“usb_modeswitch ‘/%k’” Now the modem activated perfectly after reboot/suspend. |
All times are GMT -5. The time now is 09:53 PM. |