Bug 231909 - [request] USB Device Support : HP lt4132 (aka rebranded Huawei 906s-158)
Summary: [request] USB Device Support : HP lt4132 (aka rebranded Huawei 906s-158)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 11.2-RELEASE
Hardware: arm Any
: --- Affects Only Me
Assignee: Hans Petter Selasky
Keywords: easy, patch
Depends on:
Reported: 2018-10-03 14:14 UTC by gineste pierre-jean
Modified: 2021-06-11 11:09 UTC (History)
1 user (show)

See Also:

usbdevs ID patch (589 bytes, patch)
2018-10-03 17:05 UTC, gineste pierre-jean
no flags Details | Diff
u3g support patch (603 bytes, patch)
2018-10-03 17:08 UTC, gineste pierre-jean
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gineste pierre-jean 2018-10-03 14:14:55 UTC
The HP lt4132 LTEHSPA+ 4G Module is a Mini PCIE Module not recognized by u3g and doesn't expose the virtual serial port it should.

The Device identifier (0x03f0 : HP, 0xa31d : lt4132) is not present in 

The usb_modeswitching is working but there doesn't seem to be the recognition from the driver to enable the modem.
usb_modeswitch -v 0x03f0 -p 0xa31d -u 3

This device is a rebranded Huawei ME906s-158 that is itself supported.

So here is the output of the usbconfig :

How-To-Repeat: Just plug the PCIe modem into the machine.
Comment 1 Hans Petter Selasky freebsd_committer 2018-10-03 15:14:56 UTC

Have a look at existing commits for adding new devices:


Comment 2 gineste pierre-jean 2018-10-03 17:05:48 UTC
Created attachment 197759 [details]
usbdevs ID patch
Comment 3 gineste pierre-jean 2018-10-03 17:08:10 UTC
Created attachment 197760 [details]
u3g support patch

So, it might seem weird that a non standard huawei init method, but from what I could've gathered, this modem and ME909 share this quirk.
Comment 4 Hans Petter Selasky freebsd_committer 2021-06-11 11:08:46 UTC
See commit message below.
Comment 5 commit-hook freebsd_committer 2021-06-11 11:09:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=a7cf31da5a29a762848c367aced61910efda95c1

commit a7cf31da5a29a762848c367aced61910efda95c1
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-06-11 10:53:22 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-06-11 11:05:58 +0000

    Add new USB ID to u3g(4).

    Submitted by:   pierre-jean.gineste@nuabee.fr
    PR:             231909
    MFC after:      1 week
    Sponsored by:   Mellanox Technologies // NVIDIA Networking

 sys/dev/usb/serial/u3g.c | 1 +
 sys/dev/usb/usbdevs      | 1 +
 2 files changed, 2 insertions(+)