From: Andrew Morton <akpm@linux-foundation.org>
To: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: Alan Jenkins <aj504@student.cs.york.ac.uk>,
lenb@kernel.org, linux-acpi@vger.kernel.org,
cezary.jackiewicz@gmail.com, andi@firstfloor.org,
randy.dunlap@oracle.com
Subject: Re: [patch 2/3] acpi: compal-laptop: use rfkill switch subsystem
Date: Tue, 4 Nov 2008 19:35:26 -0800 [thread overview]
Message-ID: <20081104193526.1e1b9c93.akpm@linux-foundation.org> (raw)
In-Reply-To: <490D7D5F.8070109@tuffmail.co.uk>
On Sun, 02 Nov 2008 10:13:51 +0000 Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
> Alan Jenkins wrote:
> > allakpm@linux-foundation.org wrote:
> >
> >> From: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
> >>
> >> Removing unnecessary attributes, use rfkill switch subsystem.
> >>
> >> It depends on the rfkill changes in net-next-2.6.
> >>
> >> [randy.dunlap@oracle.com: compal-laptop: depends on RKFILL]
> >> Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
> >> Cc: Andi Kleen <andi@firstfloor.org>
> >> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> >> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> >>
> >
> > Having read rfkill.txt and tested the rfkill conversion for eeepc-laptop,
> > I have a few queries about this one. I hope they are useful.
> >
> > Firstly, does the hardware preserve the rfkill state over power-off / reboot,
> > like the EeePC?
> >
> > If it does, I think rfkill.txt says you need to generate "gratuitous"
> > input events on init. That would allow rfkill_input to initialize
> > the system rfkill state from the hardware. You should also do so on resume,
> > in case someone hibernates, boots into another OS, changes the state, and then
> > resumes back into Linux.
> >
> > Otherwise, the system rfkill state will default to enabled on boot,
> > and your rfkill device will be set accordingly. If compal-laptop
> > used to preserve the state, I think this would be a regression.
> >
> Scratch that, I've been re-educated by Herique. If the platform does
> make the rfkill state persistent, you should call rfkill_set_default()
> at load-time, before rfkill_allocate / _register.
Are all of your review issues now addressed? I don't think so.
I'll put this patch on hold until we can get this sorted out.
next prev parent reply other threads:[~2008-11-05 3:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 21:13 [patch 2/3] acpi: compal-laptop: use rfkill switch subsystem akpm
2008-11-01 10:35 ` Alan Jenkins
2008-11-02 10:13 ` Alan Jenkins
2008-11-05 3:35 ` Andrew Morton [this message]
2008-11-07 2:49 ` Len Brown
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=20081104193526.1e1b9c93.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=aj504@student.cs.york.ac.uk \
--cc=alan-jenkins@tuffmail.co.uk \
--cc=andi@firstfloor.org \
--cc=cezary.jackiewicz@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=randy.dunlap@oracle.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