From: "Pali Rohár" <pali.rohar@gmail.com>
To: Alex Hung <alex.hung@canonical.com>
Cc: Darren Hart <dvhart@infradead.org>,
Matthew Garrett <mjg59@srcf.ucam.org>,
"platform-driver-x86@vger.kernel.org"
<platform-driver-x86@vger.kernel.org>,
linux-kernel@vger.kernel.org,
Gabriele Mazzotta <gabriele.mzt@gmail.com>
Subject: Re: [PATCH 0/3] Dell Airplane Mode Switch driver
Date: Thu, 4 Dec 2014 10:55:32 +0100 [thread overview]
Message-ID: <201412041055.32689@pali> (raw)
In-Reply-To: <CAJ=jqua+xpXyhkjiLrxZ9Cy9D-kwXXP=hB1az+kC+RUn1PN0Bw@mail.gmail.com>
[-- Attachment #1: Type: Text/Plain, Size: 4338 bytes --]
On Thursday 04 December 2014 09:16:25 Alex Hung wrote:
> HI Darren and Pali,
>
> It was great that we had a lot of discussion but it seems Dell
> BIOS implementation varies from one series to another. Both
> work looks good either one is fine with me.
>
Alex, am I right that your dell-wireless.c do nothing for laptops
with HW switch (when CRBT returns 2 or 3)?
If yes, then for these laptops we do not need dell-wireless.c and
my dell-rbtn.c is better.
> But I think I can do a little more: I am collecting a number
> of systems to try out these patches. This should help us
> determine which one work better and probably we can
> integrate.
>
Yes, sure.
> Currently I have found four systems (including two Latitude,
> an Inspiron and a XPS with working method(ARBT) that Gabriele
> suggested). I can get other, ex. a Vostro, if needed.
>
Do you know what should ARBT method do?
> I will test dell-wireless.c with Gabriele's suggestion and
> Pali's dell-rbtn.c (btw, will there be updates?). However, I
> will need a few days to do the comparison.
>
Until we would know how to *properly* set soft rfkill state and
what ARBT is doing on more machines, I'm not going to update my
dell-rbtn.c (as it is for now complete).
Darren, I think that if we do not solve problem with duplicate
key events (in dell-wireless.c) we should postpone these patches
to later kernel version. It is better to not have such regression
as it confuse software like NetworkManager which is widely used.
> Any suggested test cases?
>
Check if wlan key is reported via WMI or AT Keyboard also without
dell-wireless.c.
Check if dell-rbtn.c show correct hard rfkill state (on all
tested machines) when pressing wlan key more times (or switching
HW-slide switch).
> Cheers,
> Alex Hung
>
> On Tue, Dec 2, 2014 at 4:42 PM, Pali Rohár
<pali.rohar@gmail.com> wrote:
> > On Wednesday 26 November 2014 00:05:28 Darren Hart wrote:
> >> On Sun, Nov 23, 2014 at 04:09:18PM +0100, Pali Rohár wrote:
> >> > This patch series add new acpi Dell Airplane Mode Switch
> >> > driver (DELLABCE and DELRBTN acpi devices). It provides
> >> > radio HW switch events (together with current state of
> >> > radio devices) and export them via rfkill interface.
> >> > These events are also used in dell-laptop driver instead
> >> > i8042 filter hook function (when acpi device is
> >> > available).
> >> >
> >> > Pali Rohár (3):
> >> > platform: x86: dell-rbtn: Dell Airplane Mode Switch
> >> > driver platform: x86: dell-rbtn: Export notifier for
> >> > other kernel modules platform: x86: dell-laptop: Use
> >> > dell-rbtn instead i8042 filter when
> >> >
> >> > possible
> >> >
> >> > drivers/platform/x86/Kconfig | 14 ++
> >> > drivers/platform/x86/Makefile | 1 +
> >> > drivers/platform/x86/dell-laptop.c | 67 +++++++++-
> >> > drivers/platform/x86/dell-rbtn.c | 260
> >> > ++++++++++++++++++++++++++++++++++++
> >> > drivers/platform/x86/dell-rbtn.h | 35 +++++
> >> > 5 files changed, 372 insertions(+), 5 deletions(-)
> >> > create mode 100644 drivers/platform/x86/dell-rbtn.c
> >> > create mode 100644 drivers/platform/x86/dell-rbtn.h
> >>
> >> Alex, it is my understanding that this solution from Pali
> >> is a more complete solution to dealing with the variety of
> >> dell wireless buttons and rfkill mechanisms in the world
> >> today.
> >>
> >> I currently have:
> >> 7c4d961 dell-wireless: new driver for dell wireless button
> >> for Windows 8 queued in for-next. If I have read your
> >> responses on this correctly, are we all in agreement that
> >> I should drop the above patch, and apply these?
> >
> > Darren, it it truth that some laptops does not send keypress
> > event when Fn+wifi key is pressed (but only send ACPI
> > event), then really Alex's patch for input device is
> > needed. But it could be integrated into my driver. Also
> > Alex wrote something about ACPI events for laptops which
> > have wifi key instead HW switch. So before including this
> > patch into tree, I would like to hear what is problem with
> > my patch for laptops which have wifi key...
> >
> > --
> > Pali Rohár
> > pali.rohar@gmail.com
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2014-12-04 9:55 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-23 15:09 [PATCH 0/3] Dell Airplane Mode Switch driver Pali Rohár
2014-11-23 15:09 ` [PATCH 1/3] platform: x86: dell-rbtn: " Pali Rohár
2014-11-24 20:09 ` Matthew Garrett
2014-11-24 20:55 ` Pali Rohár
2014-11-24 21:50 ` Matthew Garrett
2014-11-24 22:01 ` Pali Rohár
2014-11-28 11:33 ` Mika Westerberg
2014-11-28 11:45 ` Pali Rohár
2014-11-28 11:54 ` Mika Westerberg
2014-11-25 21:58 ` Darren Hart
2014-11-23 15:09 ` [PATCH 2/3] platform: x86: dell-rbtn: Export notifier for other kernel modules Pali Rohár
2014-11-25 22:39 ` Darren Hart
2015-04-29 9:55 ` Pali Rohár
2014-11-23 15:09 ` [PATCH 3/3] platform: x86: dell-laptop: Use dell-rbtn instead i8042 filter when possible Pali Rohár
2014-11-25 23:05 ` [PATCH 0/3] Dell Airplane Mode Switch driver Darren Hart
2014-12-02 8:42 ` Pali Rohár
2014-12-04 8:16 ` Alex Hung
2014-12-03 12:56 ` Darren Hart
2014-12-04 9:55 ` Pali Rohár [this message]
2014-12-03 13:00 ` Darren Hart
2014-12-05 20:38 ` Pali Rohár
2014-12-05 20:53 ` Gabriele Mazzotta
2014-12-05 21:03 ` Pali Rohár
2014-12-05 21:12 ` Gabriele Mazzotta
2014-12-05 21:23 ` Pali Rohár
2014-12-05 21:49 ` Gabriele Mazzotta
2014-12-22 7:27 ` Alex Hung
2014-12-22 9:21 ` Pali Rohár
2014-12-22 12:35 ` Gabriele Mazzotta
2014-12-22 19:16 ` Gabriele Mazzotta
2014-12-24 9:13 ` Alex Hung
2014-12-24 11:40 ` Gabriele Mazzotta
2014-12-25 3:13 ` Alex Hung
2014-12-25 20:11 ` Pali Rohár
2014-12-25 21:55 ` Gabriele Mazzotta
2014-12-29 7:27 ` Alex Hung
2014-12-29 8:32 ` Pali Rohár
2015-01-05 9:55 ` Alex Hung
2015-04-24 7:39 ` Alex Hung
2015-04-29 9:51 ` [PATCH v2 " Pali Rohár
2015-04-29 9:51 ` [PATCH v2 1/3] platform: x86: dell-rbtn: " Pali Rohár
2015-04-29 10:30 ` Gabriele Mazzotta
2015-04-29 13:08 ` Pali Rohár
2015-04-29 13:57 ` Gabriele Mazzotta
2015-04-29 16:28 ` Pali Rohár
2015-04-29 17:54 ` Gabriele Mazzotta
2015-04-29 18:00 ` Pali Rohár
2015-04-29 18:11 ` Gabriele Mazzotta
2015-04-29 18:16 ` Pali Rohár
2015-04-29 18:41 ` Gabriele Mazzotta
2015-04-29 18:59 ` Pali Rohár
2015-04-30 6:06 ` Alex Hung
2015-04-30 7:44 ` Pali Rohár
2015-05-02 13:51 ` Gabriele Mazzotta
2015-05-02 15:13 ` Pali Rohár
2015-05-05 20:31 ` Darren Hart
2015-05-05 21:23 ` Gabriele Mazzotta
2015-05-06 5:55 ` Darren Hart
2015-05-06 7:49 ` Pali Rohár
2015-05-06 9:34 ` Alex Hung
2015-04-29 9:51 ` [PATCH v2 2/3] platform: x86: dell-rbtn: Export notifier for other kernel modules Pali Rohár
2015-04-29 9:51 ` [PATCH v2 3/3] platform: x86: dell-laptop: Use dell-rbtn instead i8042 filter when possible Pali Rohár
2015-05-03 10:38 ` [PATCH v2 0/3] Dell Airplane Mode Switch driver Pali Rohár
2015-05-05 20:37 ` Darren Hart
2015-05-05 21:24 ` Gabriele Mazzotta
2015-05-06 7:58 ` Pali Rohár
2015-05-06 9:11 ` Alex Hung
2015-05-06 11:31 ` Pali Rohár
2015-05-06 21:57 ` Darren Hart
2015-05-07 2:24 ` Alex Hung
2015-05-13 11:48 ` Pali Rohár
2015-05-13 18:38 ` Darren Hart
2015-05-14 10:54 ` [PATCH v3 " Pali Rohár
2015-05-14 10:54 ` [PATCH v3 1/3] dell-rbtn: " Pali Rohár
2015-05-14 10:54 ` [PATCH v3 2/3] dell-rbtn: Export notifier for other kernel modules Pali Rohár
2015-05-22 22:45 ` Dmitry Torokhov
2015-05-23 1:05 ` Pali Rohár
2015-05-24 5:07 ` Valdis.Kletnieks
2015-05-24 11:42 ` Pali Rohár
2015-05-14 10:54 ` [PATCH v3 3/3] dell-laptop: Use dell-rbtn instead i8042 filter when possible Pali Rohár
2015-05-18 18:07 ` [PATCH v3 0/3] Dell Airplane Mode Switch driver Darren Hart
2015-05-27 21:28 ` [PATCH v4 " Pali Rohár
2015-05-27 21:28 ` [PATCH v4 1/3] dell-rbtn: " Pali Rohár
2015-05-27 21:28 ` [PATCH v4 2/3] dell-rbtn: Export notifier for other kernel modules Pali Rohár
2015-05-27 21:28 ` [PATCH v4 3/3] dell-laptop: Use dell-rbtn instead i8042 filter when possible Pali Rohár
2015-05-28 2:52 ` Darren Hart
2015-06-03 3:55 ` Darren Hart
2015-06-03 8:15 ` Pali Rohár
2015-06-04 5:16 ` Darren Hart
2015-06-06 8:24 ` Pali Rohár
2015-06-06 8:23 ` [PATCH v5 0/3] Dell Airplane Mode Switch driver Pali Rohár
2015-06-06 8:23 ` [PATCH v5 1/3] dell-rbtn: " Pali Rohár
2015-06-06 8:23 ` [PATCH v5 2/3] dell-rbtn: Export notifier for other kernel modules Pali Rohár
2015-06-06 8:23 ` [PATCH v5 3/3] dell-laptop: Use dell-rbtn instead i8042 filter when possible Pali Rohár
2015-06-08 4:12 ` [PATCH v5 0/3] Dell Airplane Mode Switch driver Darren Hart
2015-06-08 7:30 ` Pali Rohár
2015-06-11 4:55 ` Darren Hart
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=201412041055.32689@pali \
--to=pali.rohar@gmail.com \
--cc=alex.hung@canonical.com \
--cc=dvhart@infradead.org \
--cc=gabriele.mzt@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=platform-driver-x86@vger.kernel.org \
/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).