Sierra HL7692

Dan Williams dcbw at redhat.com
Wed Mar 13 16:42:11 UTC 2019


On Wed, 2019-03-13 at 08:36 +0100, Sven Schwermer wrote:
> Hi,
> 
> I’m currently trying to get the Sierra HL7692 up and running. In my
> first attempt, I set the USB composition to AT+KUSBCOMP=2 so that I
> would get 1x MBIM + 3x CDC-ACM. This worked but the modem was only
> recognised as “generic” which didn’t allow for extended signal query,
> etc.

If all you're looking for is the extended signal query, the MBIM driver
does support this if the modem implements the ATDS (AT&T Device
Services) UUID.

What do you get for:

mbimcli -p -d /dev/cdc-wdm<whatever> --atds-query-signal

Dan

> Next, I set the USB composition to AT+KUSBCOMP=0 which enumerates 4x
> CDC-NCM + 3x CDC-ACM. The USB enumeration works ok:
> 
> usb 1-1: new high-speed USB device number 6 using ci_hdrc
> cdc_acm 1-1:1.0: ttyACM0: USB ACM device
> cdc_acm 1-1:1.2: ttyACM1: USB ACM device
> cdc_acm 1-1:1.4: ttyACM2: USB ACM device
> cdc_ncm 1-1:1.6: MAC-Address: 00:00:11:12:13:14
> cdc_ncm 1-1:1.6: setting rx_max = 16384
> cdc_ncm 1-1:1.6 wwan0: register 'cdc_ncm' at usb-ci_hdrc.0-1, Mobile
> Broadband Network Device (NO ARP), 00:00:11:12:13:14
> cdc_ncm 1-1:1.8: MAC-Address: 00:00:11:12:13:16
> cdc_ncm 1-1:1.8: setting rx_max = 16384
> cdc_ncm 1-1:1.8 wwan1: register 'cdc_ncm' at usb-ci_hdrc.0-1, Mobile
> Broadband Network Device (NO ARP), 00:00:11:12:13:16
> cdc_ncm 1-1:1.10: MAC-Address: 00:00:11:12:13:18
> cdc_ncm 1-1:1.10: setting rx_max = 16384
> cdc_ncm 1-1:1.10 wwan2: register 'cdc_ncm' at usb-ci_hdrc.0-1, Mobile
> Broadband Network Device (NO ARP), 00:00:11:12:13:18
> cdc_ncm 1-1:1.12: MAC-Address: 00:00:11:12:13:1a
> cdc_ncm 1-1:1.12: setting rx_max = 16384
> cdc_ncm 1-1:1.12 wwan3: register 'cdc_ncm' at usb-ci_hdrc.0-1, Mobile
> Broadband Network Device (NO ARP), 00:00:11:12:13:1a
> 
> The ModemManager also detects the modem correctly:
> 
> /org/freedesktop/ModemManager1/Modem/2 (device id
> '50bd7c933398deee2cfebb3b26c0bc554cf8ccdd')
>   -------------------------
>   Hardware |   manufacturer: 'Sierra Wireless'
>            |          model: 'HL7692'
>            |       revision:
> 'RHL769x.2.26.180400.201802141030.x7120m_1'
>            |   H/W revision: 'unknown'
>            |      supported: 'gsm-umts, lte'
>            |        current: 'gsm-umts, lte'
>            |   equipment id: ‘xxx'
>   -------------------------
>   System   |         device:
> '/sys/devices/platform/soc/30800000.aips-
> bus/30b10000.usb/ci_hdrc.0/usb1/1-1'
>            |        drivers: 'cdc_acm, cdc_ncm'
>            |         plugin: 'Generic'
>            |   primary port: 'ttyACM0'
>            |          ports: 'wwan3 (net), ttyACM0 (at), wwan0 (net),
> wwan1 (net), wwan2 (net), ttyACM2 (at)'
>   -------------------------
>   Numbers  |           own : 'unknown'
>   -------------------------
>   Status   |           lock: 'none'
>            | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk
> (10), sim-puk2 (10)'
>            |          state: 'registered'
>            |    power state: 'on'
>            |    access tech: 'lte'
>            | signal quality: '0' (cached)
>   -------------------------
>   Modes    |      supported: 'allowed: 2g, 3g, 4g; preferred: none'
>            |        current: 'allowed: 2g, 3g, 4g; preferred: none'
>   -------------------------
>   Bands    |      supported: 'unknown'
>            |        current: 'unknown'
>   -------------------------
>   IP       |      supported: 'ipv4, ipv6, ipv4v6'
>   -------------------------
>   3GPP     |           imei: ‘xxx'
>            |  enabled locks: 'none'
>            |    operator id: 'unknown'
>            |  operator name: 'unknown'
>            |   subscription: 'unknown'
>            |   registration: 'home'
>            |    EPS UE mode: 'csps-1'
>   -------------------------
>   SIM      |           path: '/org/freedesktop/ModemManager1/SIM/2'
> 
>   -------------------------
>   Bearers  |          paths:
> '/org/freedesktop/ModemManager1/Bearer/2’
> 
> I can even connect via --simple-connect. The problem is that
> NetworkManager always connects via pppd over the CDC-ACM port. I
> would have expected to establish the connection via one of the CDC-
> NCM ports (wwan0..4). When I create a connection like so
> 
> nmcli c add type gsm ifname wwan0 apn apn.mydomain.com
> 
> I’m getting “Error: Connection activation failed: No suitable device
> found for this connection.”
> 
> When no interface is specified, NetworkManager selects ttyACM0. How
> do I make NetworkManager select the CDC-NCM port?
> 
> I realise that this may be more related to NetworkManager but hope
> that I find better answers here. I’m using ModemManager 1.8.2,
> NetworkManager 1.12.2 and Linux 4.1.32.
> 
> Best regards,
> Sven
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel



More information about the ModemManager-devel mailing list