From: Darren Hart <dvhart@infradead.org>
To: Azael Avalos <coproscefalo@gmail.com>
Cc: "platform-driver-x86@vger.kernel.org"
<platform-driver-x86@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] toshiba_acpi: Propagate the hotkey value via genetlink
Date: Fri, 20 Nov 2015 16:49:33 -0800 [thread overview]
Message-ID: <20151121004933.GO7413@malice.jf.intel.com> (raw)
In-Reply-To: <CAGdLNWGvtpag0kSKEYRqWatcebvtpyotbZ0Ww4EwAr33yL0PHw@mail.gmail.com>
On Fri, Nov 20, 2015 at 05:05:37PM -0700, Azael Avalos wrote:
> Hi Darren,
>
> 2015-11-20 16:19 GMT-07:00 Darren Hart <dvhart@infradead.org>:
> > On Sun, Nov 15, 2015 at 08:33:46PM -0700, Azael Avalos wrote:
> >> The driver uses genetlink to inform userspace of events generated by
> >> the system, but the data passed is always zero as there is no data to
> >> pass, except for the hotkey event.
> >>
> >> This patch propagates the hotkey value via genetlink so userspace can
> >> make use of it.
> >
> > Which keys were not working previously?
>
> It's not about the keys, but the "extra events" generated, I still do not
> know why Toshiba sent system events inside the hotkey event (maybe
> they ran out of numbers...).
>
> >
> > My concern is that we introduce new events that then get "double handled".
> >
>
> Well, the events are already being generated, but they are Toshiba specific
> events, the only thing here that changed is that now we pass the hotkey value
> to userspace, and as said, some of the system events that were not passed
> before and are not handled at all.
>
> A good example here are the 0x1ABE and 0x1ABF events, which fire (on
> certain laptops) when the HDD protection level changes and is disabled
> respectively.
>
> There a re a lot of unknown events that are being sent as hotkeys, but
> I still have to ideintify them :-(
Thanks for the context, queued to testing.
--
Darren Hart
Intel Open Source Technology Center
prev parent reply other threads:[~2015-11-21 0:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 3:33 [PATCH 1/1] toshiba_acpi: Propagate the hotkey value via genetlink Azael Avalos
2015-11-16 3:33 ` [PATCH] toshiba_bluetooth: Add missing newline in toshiba_bluetooth_present function Azael Avalos
2015-11-20 23:24 ` Darren Hart
2015-11-20 23:19 ` [PATCH 1/1] toshiba_acpi: Propagate the hotkey value via genetlink Darren Hart
2015-11-21 0:05 ` Azael Avalos
2015-11-21 0:49 ` Darren Hart [this message]
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=20151121004933.GO7413@malice.jf.intel.com \
--to=dvhart@infradead.org \
--cc=coproscefalo@gmail.com \
--cc=linux-kernel@vger.kernel.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