Disabling radio interface on MBIM device
aleksander at aleksander.es
Sun Dec 6 07:51:55 UTC 2020
On Fri, Dec 4, 2020 at 11:47 PM Enrico Mioso <mrkiko.rs at gmail.com> wrote:
> I wanted to disable the radio interface on a device reported as:
> Bus 002 Device 003: ID 413c:81b6 Dell Computer Corp. DW5811e Snapdragon™ X7 LTE
> I would have liked something equivalent to
> but no serial port.
> So I used something like
> mbimcli -d /dev/cdc-wdm0 --set-radio-state=off
> and now
> mbimcli -d /dev/cdc-wdm0 --query-radio-state
> [/dev/cdc-wdm0] Radio state retrieved:
> Hardware radio state: 'on'
> Software radio state: 'off'
> Was I able to do what I wanted?
Yes you did :)
> What is software vs hardware radio?
> I guess hw radio refers to locks e.g.: rfkill or something.
> Software radio means - radio turned off on software request.
Yes, hardware is a "hardware lock"; e.g. the W_DISABLE pin.
Software is a software lock to control the radio power state.
If the hardware lock is set to disable radio, the software lock is useless.
> Am I wrong?
No, you're right, you did what you wanted :)
More information about the ModemManager-devel