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: New
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 11.2-RELEASE
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-usb mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-10-03 14:14 UTC by gineste pierre-jean
Modified: 2018-10-06 21:04 UTC (History)
1 user (show)

See Also:


Attachments
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 
https://github.com/freebsd/freebsd/blob/master/sys/dev/usb/usbdevs

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 :
https://pastebin.com/uWqg1MPx

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
Hi,

Have a look at existing commits for adding new devices:

https://svnweb.freebsd.org/base/head/sys/dev/usb/serial/u3g.c

--HPS
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.