diff mbox

Patch to fix Volume keys on AMILO 1848+u (Kernel 2.6.32-rc5)

Message ID AAD0C341-7536-4D53-86B4-C9ADCEB6A407@nextrem.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Pascal Bach Oct. 26, 2009, 10:35 a.m. UTC
None
diff mbox

Patch

--- atkbd.c.orig	2009-10-26 11:23:07.000000000 +0100
+++ atkbd.c	2009-10-26 11:24:03.000000000 +0100
@@ -901,6 +901,13 @@  static unsigned int atkbd_amilo_pi3525_f
  };

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