Re: nmcli radio off connected to ModemManager power state low
- From: Aleksander Morgado <aleksander aleksander es>
- To: Dan Williams <dcbw redhat com>
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: Re: nmcli radio off connected to ModemManager power state low
- Date: Sun, 13 Mar 2016 12:23:09 +0100
On Fri, Mar 11, 2016 at 5:18 PM, Dan Williams <dcbw 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]