Aleksander Morgado <aleksan...@aleksander.es> writes: > On Thu, Sep 6, 2018 at 11:29 AM, Tore Anderson <t...@fud.no> wrote: >> * Aleksander Morgado >> >>> Oh wait, this is a Intel based MBIM modem, right? If so, we need >>> AT-based reset operations. I believe I still have the HPlt4120 around >>> here, will try to implement that. Tracking it here: >>> https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/86 >> >> I don't really know, to be honest. I'm using qmicli to manage it and that >> works (including «--dms-set-operating-mode=foo»). ModemManager says it's >> MBIM, however. Is MBIM/QMI an either/or thing? It seems to me that this >> modem is both. >> >> ------------------------- >> Hardware | manufacturer: 'HP' >> | model: 'MBIM [03F0:9D1D]' >> | revision: 'T77W595.F0.0.0.6.6.GC.029' >> | H/W revision: 'HP lt4120 Snapdragon X5 LTE' >> | supported: 'gsm-umts, lte' >> | current: 'gsm-umts, lte' >> | equipment id: '358894065774253' >> ------------------------- >> System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3' >> | drivers: 'cdc_mbim' >> | plugin: 'Generic' >> | primary port: 'cdc-wdm0' >> | ports: 'cdc-wdm0 (mbim), wwp0s20f0u3c3 (net)' >> ------------------------- >> > > Ok, then no, this is not Intel based, it's Qualcomm based. And now > that I recall, this is the one for which the firmware upgrade is done > using PDC service. > It is indeed doing QMI over MBIM, if you're using qmicli nicely. I now > wonder why the reset operation didn't work for you.
It doesn't work for me either, if that helps ;-) bjorn@miraculix:~$ mmcli -m 34 /org/freedesktop/ModemManager1/Modem/34 (device id '2044c6a3d2d068ca9f96e9bbc50c30b56e90ee91') ------------------------- Hardware | manufacturer: 'Sierra Wireless, Incorporated' | model: 'MBIM [1199:9079]' | revision: 'SWI9X30C_02.24.05.06' | H/W revision: 'EM7455' | supported: 'gsm-umts, lte' | current: 'gsm-umts, lte' | equipment id: '01458200078xxxx' ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2' | drivers: 'cdc_mbim, qcserial' | plugin: 'Sierra' | primary port: 'cdc-wdm0' | ports: 'ttyUSB0 (qcdm), ttyUSB1 (unknown), ttyUSB2 (at), cdc-wdm0 (mbim), wwan0 (net)' ------------------------- Numbers | own : 'unknown' ------------------------- Status | lock: 'none' | unlock retries: 'sim-puk2 (10)' | state: 'connected' | power state: 'on' | access tech: 'lte' | signal quality: '32' (cached) ------------------------- Modes | supported: 'allowed: 3g, 4g; preferred: none' | current: 'allowed: 3g, 4g; preferred: none' ------------------------- Bands | supported: 'unknown' | current: 'unknown' ------------------------- IP | supported: 'ipv4, ipv6, ipv4v6' ------------------------- 3GPP | imei: '01458200078xxxx' | enabled locks: 'sim, fixed-dialing' | operator id: '24201' | operator name: 'TELENOR' | subscription: 'unknown' | registration: 'home' | EPS UE mode: 'csps-2' ------------------------- SIM | path: '/org/freedesktop/ModemManager1/SIM/33' ------------------------- Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/33' bjorn@miraculix:~$ mmcli -m 34 -r error: couldn't reset the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot reset the modem: operation not supported' I seem to be running a Frankenstein libqmi version, but modemmanager and libmbim are plain Debian sid packages: bjorn@miraculix:~$ dpkg -l modemmanager libmbim\* libqmi\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================================================-=============================-=============================-======================================================================================================= ii libmbim-glib-dev:amd64 1.17.0-0 amd64 Header files for adding MBIM support to applications that use glib ii libmbim-glib-doc 1.17.0-0 all API documentation for the MBIM protocol library ii libmbim-glib4:amd64 1.17.0-0 amd64 Support library to use the MBIM protocol un libmbim-glib4-dbg <none> <none> (no description available) ii libmbim-glib4-dbgsym:amd64 1.17.0-0 amd64 Debug symbols for libmbim-glib4 ii libmbim-proxy 1.17.0-0 amd64 Proxy to communicate with MBIM ports ii libmbim-proxy-dbgsym 1.17.0-0 amd64 Debug symbols for libmbim-proxy ii libmbim-utils 1.17.0-0 amd64 Utilities to use the MBIM protocol from the command line ii libmbim-utils-dbgsym 1.17.0-0 amd64 Debug symbols for libmbim-utils ii libqmi-glib-dev:amd64 1.21.0-0bjorn amd64 Header files for adding QMI support to applications that use glib ii libqmi-glib-doc 1.21.0-0bjorn all API documentation for libqmi-glib ii libqmi-glib5:amd64 1.21.0-0bjorn amd64 Support library to use the Qualcomm MSM Interface (QMI) protocol un libqmi-glib5-dbg <none> <none> (no description available) ii libqmi-glib5-dbgsym:amd64 1.21.0-0bjorn amd64 Debug symbols for libqmi-glib5 ii libqmi-proxy 1.21.0-0bjorn amd64 Proxy to communicate with QMI ports ii libqmi-proxy-dbgsym 1.21.0-0bjorn amd64 Debug symbols for libqmi-proxy ii libqmi-utils 1.21.0-0bjorn amd64 Utilities to use the QMI protocol from the command line ii libqmi-utils-dbgsym 1.21.0-0bjorn amd64 Debug symbols for libqmi-utils ii modemmanager 1.7.990-1 amd64 D-Bus service for managing modems Bjørn _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel