From patchwork Mon Oct 26 10:35:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pascal Bach X-Patchwork-Id: 55854 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9QB4MDZ016248 for ; Mon, 26 Oct 2009 11:04:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755570AbZJZLEj (ORCPT ); Mon, 26 Oct 2009 07:04:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755580AbZJZLEj (ORCPT ); Mon, 26 Oct 2009 07:04:39 -0400 Received: from mxout004.mail.hostpoint.ch ([217.26.49.183]:49427 "EHLO mxout004.mail.hostpoint.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755570AbZJZLEj (ORCPT ); Mon, 26 Oct 2009 07:04:39 -0400 X-Greylist: delayed 1770 seconds by postgrey-1.27 at vger.kernel.org; Mon, 26 Oct 2009 07:04:38 EDT Received: from [10.0.2.20] (helo=asmtp002.mail.hostpoint.ch) by mxout004.mail.hostpoint.ch with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N2Muu-000D2R-AK; Mon, 26 Oct 2009 11:35:12 +0100 Received: from [85.218.93.138] (helo=[192.168.77.70]) by asmtp002.mail.hostpoint.ch with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N2Mut-000Oxv-Pw; Mon, 26 Oct 2009 11:35:12 +0100 X-Authenticated-Sender-Id: pascal.bach@nextrem.ch From: Pascal Bach Subject: Patch to fix Volume keys on AMILO 1848+u (Kernel 2.6.32-rc5) Date: Mon, 26 Oct 2009 11:35:04 +0100 Message-Id: Cc: linux-input@vger.kernel.org To: Dmitry Torokhov Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org --- 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"),