I’m trying to enable a data connection on an EM9291 in Fedora Core 40.
The device is functional and shows up in ModemManager as connected. I can send SMSes through it and I can get an IP through NetworkManager but I can’t ping over it. I switched to a Windows install with the SW drivers installed and had the modem come up as “No service”. Finally I tried AT!IMPREF=”AUTO-SIM"
and powered cycled and the data connection started working. I put the Linux image back on and it could ping over the modem interface.
Unfortunately, I can’t use this procedure for production. I’m limited using the default Linux drivers because the SW drivers are not signed and I can’t use USB because of hardware issues. The default drivers expose the following devices wwan0mbim0
, wwan0qmi0
and another device, I can’t remember. No serial devices are exposed including wwan0at0
or any ttyUSB0.
I can interact with the device via mbim using mmcli or qmicli.
My question is, is there a way to put the firmware in “AUTO-SIM” mode, like I can with the AT command AT!IMPREF=”AUTO-SIM"
?
I tried the the following with no luck:
# sudo qmicli -d /dev/wwan0mbim0 --client-no-release-cid --dms-set-firmware-preference="carrier=auto-sim,config-version=0,firmware-version=0"
error: couldn't select stored image: QMI protocol error (48): 'InvalidArgument' [/dev/wwan0mbim0] Client ID not released: Service: 'dms' CID: '1'
# sudo qmicli -d /dev/wwan0mbim0 --client-no-release-cid --dms-set-firmware-preference="0,0,AUTO-SIM"
[25 Nov 2024, 01:30:41] -Warning ** [/dev/wwan0mbim0] couldn't enable QMI indications via MBIM: Transaction timed out error: couldn't open the QmiDevice: Transaction timed out