On Fri, Mar 11, 2016 at 5:18 PM, Dan Williams <d...@redhat.com> wrote:
>> making some changes in ModemManager "set power state", I observed
>> that setting
>> setting a radio interface to OFF with nmcli, the ModemManager power
>> state
>> triggered is the LOW one, while I expected it to be the OFF one. Is
>> that
>> correct? If that so, is there a way to set the modem in OFF power
>> state
>> through network manager?
>
> There are two things that 'nmcli r wwan off' does:
>
> 1) attempts to set any kernel rfkill WWAN switches to "blocked"
> 2) disables the modem with ModemManager, which sets low power state

Minor comment: 2) disables the modem with ModemManager
(mm_modem_disable()), *and* then sets low power state
(mm_modem_set_power_state (LOW)). These are 2 different steps done by
NM; just disabling doesn't set it in low-power state.

-- 
Aleksander
https://aleksander.es
_______________________________________________
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to