From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Corentin Chary <corentin.chary@gmail.com>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>,
Joey Lee <jlee@novell.com>, Takashi Iwai <tiwai@novell.com>,
Thomas Renninger <trenn@novell.com>,
mjg59@srcf.ucam.org, jbenc@suse.cz, linux-input@vger.kernel.org,
platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH 2/3] Support enable Acer Launch Manager mode
Date: Mon, 18 Oct 2010 01:14:53 -0700 [thread overview]
Message-ID: <20101018081452.GB8655@core.coreip.homeip.net> (raw)
In-Reply-To: <AANLkTim4qnrn274dfYLBzhHMnA2BWHvVrUNn1DqLnc13@mail.gmail.com>
On Mon, Oct 18, 2010 at 09:55:57AM +0200, Corentin Chary wrote:
> On Mon, Oct 18, 2010 at 9:19 AM, Carlos Corbacho
> <carlos@strangeworlds.co.uk> wrote:
> > On Monday 18 October 2010 03:32:22 Joey Lee wrote:
> >> So, we choice remove rfkill-input then put the logic in x86/platform
> >> driver?
> >> A simple question:
> >> Userland policy daemon or kernel module, which one we want to put the
> >> wifi hotkey behavior implementation?
> >
> > Pass. I really have no opinion on the above, as long as we pick something and
> > stick with it (i.e. not-another-rfkill-rewrite).
> >
> >> > We don't have Launch Manager for Linux, and quite frankly, I hope we
> >> > never see it - relying on random, vendor specific applications to drive
> >> > this kind of functionality is just asking for trouble.
> >>
> >> Acer BIOS team provide the function to OS for disable the EC hehavior,
> >> it's available on window, why we hide it on Linux?
> >
> > As an aside, just because Windows does something is not a good reason to do it
> > or expose on on Linux if it doesn't make any sense.
> >
> >> Either userland daemon or kernel module who want to implement the wifi
> >> hotkey behavior, it need enable the launch-manager mode to disable the
> >> default EC behavior on wifi hotkey.
> >
> > When did Acer laptops start doing this then? The behaviour they always did in
> > the past was that pressing the wireless/ bluetooth/ 3G button sent out a
> > scancode, and is was then the job of something else to catch that (be it
> > rfkill-input or friends) and for that something else to then toggle the state.
> >
> > Do the current batch of laptops then just 'magically' toggle the state without
> > needing rfkill-input?
> >
> > (And do you actually have contact with someone on the Acer BIOS team? Because
> > I've never managed to get through to anyone at Acer, so would be interested to
> > know).
> >
> >> If don't want provide the launch-manager mode parameter to userland, can
> >> we just direct enable it?
> >
> > Well, my point is more that we should figure out what we want, and then stick
> > with that. I don't want to add a pointless module paramater that all of three
> > people are ever going to use, and then have to support it working both ways.
> >
> > -Carlos
>
> asus-laptop laptop also has that kind of parameter, but mainly because
> the behavior of the toggle key is quite random across models. So we
> need to set it sometimes.
Why sometimes?
>
> Anyway, I think it's a good thing to have the choice between "handled by
> hardware/BIOS" and "handled by kernel/userspace", as long as the default choice
> is coherent and always works correctly.
No, I disagree. Why would you want to have this choice and have to
maintain it if we already have mechanisms to do it either in kernel or
in userspace.
>
> Most of users will want the key to just toggle wlan/bluetooth. But some of them
> will be happy if they can configure the behavior of the key (cycle, only toggle
> WLAN, etc...)
Right. And as of today by default kernel will do simple toggle but there
is an option for userspace component. Why do we want to bing BIOS into
the picture?
--
Dmitry
next prev parent reply other threads:[~2010-10-18 8:14 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 2:32 [PATCH 2/3] Support enable Acer Launch Manager mode Joey Lee
2010-10-18 4:07 ` Dmitry Torokhov
2010-10-18 7:19 ` Carlos Corbacho
2010-10-18 7:55 ` Corentin Chary
2010-10-18 8:14 ` Dmitry Torokhov [this message]
2010-10-18 8:40 ` Corentin Chary
-- strict thread matches above, loose matches on Subject: below --
2010-10-30 16:28 Joey Lee
2010-10-21 3:35 Joey Lee
2010-10-19 13:25 Joey Lee
2010-10-19 13:28 ` Corentin Chary
2010-10-19 15:49 ` Dmitry Torokhov
2010-10-19 16:03 ` Corentin Chary
2010-10-19 16:49 ` Dmitry Torokhov
2010-10-19 11:15 Joey Lee
2010-10-19 13:07 ` Corentin Chary
2010-10-19 9:55 Joey Lee
2010-10-19 10:51 ` Corentin Chary
2010-10-19 8:09 Joey Lee
2010-10-19 2:48 Joey Lee
2010-10-18 4:53 Joey Lee
2010-10-18 8:20 ` Dmitry Torokhov
2010-10-15 8:02 Joey Lee
2010-10-15 17:11 ` Carlos Corbacho
2010-10-13 3:47 [PATCH 1/3] Add acer wmi hotkey events support Lee, Chun-Yi
2010-10-13 3:47 ` [PATCH 2/3] Support enable Acer Launch Manager mode Lee, Chun-Yi
2010-10-13 18:26 ` Dmitry Torokhov
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=20101018081452.GB8655@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=carlos@strangeworlds.co.uk \
--cc=corentin.chary@gmail.com \
--cc=jbenc@suse.cz \
--cc=jlee@novell.com \
--cc=linux-input@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=tiwai@novell.com \
--cc=trenn@novell.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).