From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Dan Williams <dcbw@redhat.com>
Cc: Zhu Yi <yi.zhu@intel.com>, linux-wireless@vger.kernel.org
Subject: Re: Question on rfkill double block
Date: Mon, 7 Jul 2008 17:47:08 -0300 [thread overview]
Message-ID: <20080707204708.GA3166@khazad-dum.debian.net> (raw)
In-Reply-To: <1215450664.17128.64.camel@localhost.localdomain>
On Mon, 07 Jul 2008, Dan Williams wrote:
> On Fri, 2008-07-04 at 16:55 -0300, Henrique de Moraes Holschuh wrote:
> > On Wed, 02 Jul 2008, Dan Williams wrote:
> > > That would be more useful than the current enum, yes.
> >
> > Dan, you do have a strong user case for "just software rfkilled", "just
> > hardware rfkilled" and "soft+hard rfkilled" as opposed to simply "software
> > rfkilled" and "hardware rfkilled, maybe software rfkilled as well" ?
>
> No, I don't have a _NetworkManager_ usecase for being able to
> distinguish between HW and HW+SW. Just an observation that stuff other
> than NM might want to figure that out for UI or something.
Ok. I will still *try* to implement the fourth state, but I will post the
patch as a RFC. If it is too messy or complex, I will recommend that we
drop it.
> But if the HW block is on, NM doesn't care about softblock because you
> can't use the radio anyway. If the HW switch is unblocked, NM will
> un-SW-block the radio anyway, since HW-unblock is definitely a
> user-initiated option and signals user intent to unblock the radio
> irregardless of SW block state from something else.
I intend to offer the *possibility* of using the HW switch like this on
rfkill-input: on block, block all (EPO). On unblock, restore previous state
(so, e.g. if WLAN was enabled and bluetooth was disabled, after a HW switch
on/off/on cycle, you will not get bluetooth and WLAN enabled). But that's
not ready yet, and I am not sure I will be able to do it cleanly. If I
can't, I will drop it.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2008-07-07 20:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-02 7:03 Question on rfkill double block Zhu Yi
2008-07-02 17:03 ` Dan Williams
2008-07-04 19:55 ` Henrique de Moraes Holschuh
2008-07-07 17:11 ` Dan Williams
2008-07-07 19:48 ` Fabien Crespel
2008-07-07 20:47 ` Henrique de Moraes Holschuh [this message]
2008-07-08 5:12 ` Andy Lutomirski
2008-07-08 15:05 ` Henrique de Moraes Holschuh
2008-07-02 19:32 ` Henrique de Moraes Holschuh
2008-07-05 21:28 ` Tomas Winkler
2008-07-06 0:20 ` Henrique de Moraes Holschuh
2008-07-07 4:44 ` Andy Lutomirski
2008-07-07 16:56 ` Henrique de Moraes Holschuh
2008-07-07 18:47 ` Andrew Lutomirski
2008-07-07 19:18 ` Andrew Lutomirski
2008-07-07 21:09 ` Andrew Lutomirski
2008-07-07 21:21 ` Henrique de Moraes Holschuh
2008-07-07 20:59 ` Henrique de Moraes Holschuh
2008-07-07 17:02 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080707204708.GA3166@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=dcbw@redhat.com \
--cc=linux-wireless@vger.kernel.org \
--cc=yi.zhu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).