Hello everyone, I am trying to activate the GPS functionality under UBUNTU 22.04.
Even if i try to communicate with the modem i get an “WrongState” response.
$ sudo mmcli -m 0 --enable
error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'
The only way to get information is from the mmcli command:
$ sudo mmcli -m 0 –location-status
-----------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: f415afcae9a3c9978fd35460293a407556b817e9
-----------------------------
Hardware | manufacturer: Sierra Wireless, Incorporated
| model: EM7305
| firmware revision: SWI9X15C_05.05.78.00
| h/w revision: EM7305
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 357726090562884
-----------------------------
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2
| drivers: cdc_mbim
| plugin: sierra
| primary port: cdc-wdm2
| ports: cdc-wdm2 (mbim), wwan0 (net)
-----------------------------
Status | state: failed
| failed reason: sim-missing
| power state: low
-----------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g; preferred: 3g
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| allowed: 3g, 4g; preferred: 4g
| allowed: 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 2g
| current: allowed: 2g, 3g, 4g; preferred: 4g
-----------------------------
Bands | supported: egsm, dcs, pcs, g850, utran-1, utran-5, utran-8, utran-2,
| eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
| current: egsm, dcs, pcs, g850, utran-1, utran-5, utran-8, utran-2,
| eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
-----------------------------
IP | supported: ipv4, ipv6, ipv4v6
and
$ sudo qmicli -p -d /dev/cdc-wdm2 --dms-swi-get-usb-composition
[/dev/cdc-wdm2] Successfully retrieved USB compositions:
USB composition 1: HIP, DM, NMEA, AT, MDM1, MS
USB composition 6: DM, NMEA, AT, QMI
USB composition 7: DM, NMEA, AT, RMNET1, RMNET2, RMNET3
USB composition 8: DM, NMEA, AT, MBIM
USB composition 9: MBIM
USB composition 10: NMEA, MBIM
USB composition 11: DM, MBIM
USB composition 12: DM, NMEA, MBIM
[*] USB composition 14: Dual configuration: USB composition 6 and USB composition 9
USB composition 19: Dual configuration: USB composition 7 and USB composition 9
Devices are shown as /dev/ttyUSB0 and /dev/cdc-wdm2.
Any help would be great.