Skip to contentSkip to conversation

linux-2.6.30.1 atkbd.c: Add FSC Amilo Pi 3525 Hotkey forced releasing

PATCH Applied Nexx 2 participants 2 messages Jul 10, 2009 – Jul 13, 2009 Input drivers

lore
Share & tools
lore

Nexx

author
#0 lore raw

PATCH 1/1 linux-2.6.30.1 atkbd.c: Add FSC Amilo Pi 3525 Hotkey forced releasing

From: Simon Davie <[email protected]>

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

---

drivers/input/keyboard/atkbd.c renamed from drivers/input/keyboard/atkbd.c.orig +16 -0
@@ -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"),

---