[Bug 295231] Patch to add support for the Telit LM960A18 LTE modem via u3g

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 May 2026 14:20:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295231

            Bug ID: 295231
           Summary: Patch to add support for the Telit LM960A18 LTE modem
                    via u3g
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: mike@sentex.net

Created attachment 270638
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270638&action=edit
full patch to add support

## What this change does

Adds USB vendor/product table entries for the Telit LM960A18-CP LTE
Cat-18 mPCIe modem so that FreeBSD's u3g(4) serial driver attaches
to its AT/DIAG/NMEA interfaces in two USB compositions:

  - `0x1bc7:0x1040` — RNDIS composition (7 serial ports + RNDIS data)
  - `0x1bc7:0x1042` — ECM   composition (6 serial ports + CDC-Ethernet data)

The modem can switch between these (and two others not commonly used
on FreeBSD) via the modem-side `AT#USBCFG=<n>` command.

In the ECM composition, the data interface attaches cleanly to
`cdce(4)` as `ue0` once u3g(4) has claimed the serial interfaces.
In the RNDIS composition, `urndis(4)` handles the data interface.
The current change is the minimum patch needed; no other driver
changes are required.

Without these entries the modem enumerates as a generic USB
device but no serial ports are created, leaving no host-side
way to send AT commands to the modem.

Tested on stable/14 with a PCEngines APU3 host (AMD GX-412TC)
connected to Bell Mobility LTE in Kitchener-Waterloo, Ontario.
ECM data path tested via AT#ICMCONNECT and DHCP on ue0; PPP
dial-up tested at multiple +IPR rates via /dev/cuaU0.4.

-- 
You are receiving this mail because:
You are the assignee for the bug.