mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nexx <nexx@nexxdesign.co.uk>
To: dmitry.torokhov@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] linux-2.6.30.1 atkbd.c: Add FSC Amilo Pi 3525 Hotkey forced releasing
Date: Sat, 11 Jul 2009 00:13:13 +0100	[thread overview]
Message-ID: <4A57CB09.9030404@nexxdesign.co.uk> (raw)

From: Simon Davie <nexx@nexxdesign.co.uk>

This patch enables forced releasing of the Fn+Volume hotkeys
on the Fujitsu Siemens Amilo Pi 3525 notebook.

Signed-off-by: Simon Davie <nexx@nexxdesign.co.uk>
---
--- linux-2.6.30/drivers/input/keyboard/atkbd.c.orig	2009-07-10 22:54:21.000000000 +0100
+++ linux-2.6.30/drivers/input/keyboard/atkbd.c	2009-07-10 23:02:43.000000000 +0100
@@ -895,6 +895,13 @@ static unsigned int atkbd_amilo_pa1510_f
 };

 /*
+ * Amilo Pi 3525 key release for Fn+Volume keys not working
+ */
+static unsigned int atkbd_amilo_pi3525_forced_release_keys[] = {
+	0x20, 0xa0, 0x2e, 0xae, 0x30, 0xb0, -1U
+};
+
+/*
  * Amilo Xi 3650 key release for light touch bar not working
  */
 static unsigned int atkbd_amilo_xi3650_forced_release_keys[] = {
@@ -1568,6 +1575,15 @@ static struct dmi_system_id atkbd_dmi_qu
 		.driver_data = atkbd_amilo_pa1510_forced_release_keys,
 	},
 	{
+		.ident = "Fujitsu Amilo Pi 3525",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pi 3525"),
+		},
+		.callback = atkbd_setup_forced_release,
+		.driver_data = atkbd_amilo_pi3525_forced_release_keys,
+	},
+	{
 		.ident = "Fujitsu Amilo Xi 3650",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),

---

             reply	other threads:[~2009-07-10 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 23:13 Nexx [this message]
2009-07-13  3:44 ` 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=4A57CB09.9030404@nexxdesign.co.uk \
    --to=nexx@nexxdesign.co.uk \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®