From: "Éric Piel" <eric.piel@tremplin-utc.net>
To: Giedrius Statkevicius <giedriuswork@gmail.com>,
Darren Hart <dvhart@infradead.org>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RFC] platform: hp_accel: add a i8042 filter to remove accelerometer data
Date: Wed, 22 Oct 2014 16:19:50 +0200 [thread overview]
Message-ID: <5447BD06.70109@tremplin-utc.net> (raw)
In-Reply-To: <5447AF1F.1060806@gmail.com>
On 22/10/14 15:20, Giedrius Statkevicius wrote:
:
> My questions are these:
> - Does any system with the accelerometer whose ACPI id is HPQ0004 or
> HPQ6007 run into the same issues?
> - If so, what are the scancodes reported by atkbd?
> - If not, then where can I find some documentation to find about this?
> HP doesn't seem to have published any.
>
> If other people have the same issue with the same scancodes on
> accelerometers with different ACPI ids we can go ahead and do what this
> patch does without reacting to what hardware the user has.
>
> And a general question about what other people think of doing this?
> Maybe there is some better way I don't know of.
Hi,
On the HP laptop I had (with HPQ0004), no fake keys were reported.
It should be noted that on my laptop, the accelerometer is completely
decoupled from the hard disk. For example, when freefall is detected,
nothing else happens (that's why you need to run a daemon that will
listen to the event, and park the disk head). Looking at the bug report,
it seems your laptop does a lot behind the OS, because apparently the
disk head is parked automatically. So maybe the scancodes is a new
"feature" they have added in order to more easily report what's
happening in the back.
Now, more related to your proposed solution: is this really what we
want? What's wrong with the current state excepted for some warning
messages in dmesg? Do we really want to plain drop this information
provided by the hardware? How about just associating the scancodes to
meaningful keycodes? (I guess one reason no to do that is that it'd
likely require creating new keycodes corresponding to these pretty
atypical events in the input layer).
Is there maybe some general policy about what do to hardware that
generate such special scancodes?
Cheers,
Éric
next prev parent reply other threads:[~2014-10-22 14:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-18 20:59 [PATCH RFC] platform: hp_accel: add a i8042 filter to remove accelerometer data Giedrius Statkevicius
2014-10-21 21:45 ` Darren Hart
2014-10-22 13:20 ` Giedrius Statkevicius
2014-10-22 14:19 ` Éric Piel [this message]
2014-10-22 16:45 ` Giedrius Statkevicius
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=5447BD06.70109@tremplin-utc.net \
--to=eric.piel@tremplin-utc.net \
--cc=dvhart@infradead.org \
--cc=giedriuswork@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