From: Mattia Dongili <malattia@linux.it>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org, "Almer S. Tigelaar" <almer@gnome.org>,
Mattia Dongili <malattia@linux.it>
Subject: [PATCH 3/6] sony-laptop: SNC input event 38 fix
Date: Sun, 12 Apr 2009 20:26:28 +0900 [thread overview]
Message-ID: <1239535591-15514-4-git-send-email-malattia@linux.it> (raw)
In-Reply-To: <1239535591-15514-3-git-send-email-malattia@linux.it>
From: Almer S. Tigelaar <almer@gnome.org>
Fixes the "unknown input event 38" messages. ANYBUTTON_RELEASED is now
treated the same way as FN_KEY_RELEASED.
Signed-off-by: Almer S. Tigelaar <almer@gnome.org>
Signed-off-by: Mattia Dongili <malattia@linux.it>
---
drivers/platform/x86/sony-laptop.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 7b1da3f..ddbd86b 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -317,7 +317,8 @@ static void sony_laptop_report_input_event(u8 event)
struct input_dev *key_dev = sony_laptop_input.key_dev;
struct sony_laptop_keypress kp = { NULL };
- if (event == SONYPI_EVENT_FNKEY_RELEASED) {
+ if (event == SONYPI_EVENT_FNKEY_RELEASED ||
+ event == SONYPI_EVENT_ANYBUTTON_RELEASED) {
/* Nothing, not all VAIOs generate this event */
return;
}
--
1.6.2.2
next prev parent reply other threads:[~2009-04-12 11:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-12 11:26 [PATCH 0/6] sony-laptop fixes for 2.6.30-rc2 Mattia Dongili
2009-04-12 11:26 ` [PATCH 1/6] sony-laptop: Duplicate SNC 127 Event Fix Mattia Dongili
2009-04-12 11:26 ` [PATCH 2/6] sony-laptop: SNC 127 Initialization Fix Mattia Dongili
2009-04-12 11:26 ` Mattia Dongili [this message]
2009-04-12 11:26 ` [PATCH 4/6] ec.c: Fix ACPI EC resume non-query interrupt message Mattia Dongili
2009-04-12 11:26 ` [PATCH 5/6] sony-laptop: fix bogus error message display on resume Mattia Dongili
2009-04-12 11:26 ` [PATCH 6/6] sony-laptop: always try to unblock rfkill on load Mattia Dongili
2009-04-13 15:46 ` Matthew Garrett
2009-04-18 5:16 ` [PATCH 0/6] sony-laptop fixes for 2.6.30-rc2 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=1239535591-15514-4-git-send-email-malattia@linux.it \
--to=malattia@linux.it \
--cc=almer@gnome.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.