From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Nocera Subject: Re: Support for ACPI0011 Generic Buttons Device Date: Thu, 03 Nov 2016 14:30:13 +0100 Message-ID: <1478179813.18960.46.camel@hadess.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39324 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751136AbcKCNaV (ORCPT ); Thu, 3 Nov 2016 09:30:21 -0400 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Daniel Drake , linux-acpi@vger.kernel.org, linux-input@vger.kernel.org Cc: Linux Upstreaming Team On Thu, 2016-11-03 at 07:24 -0600, Daniel Drake wrote: > Hi, > > We are working with a new consumer laptop model which has physical > volume up/down keys on the left side of the chassis. > > It appears that these buttons are driven by the ACPI0011 Generic > Buttons Device defined in section 9.19 of the ACPI spec. The _DSD has > entries for the appropriate HID codes for volume up/down which can > also be seen in examples here: > > https://msdn.microsoft.com/en-us/windows/hardware/drivers/hid/acpi-bu > tton-device > > I can't see a Linux driver for this ACPI0011 interface, is one > planned? drivers/input/misc/soc_button_array.c has an implementation of the "Windows compatible button array": https://msdn.microsoft.com/en-us/windows/hardware/drivers/bringup/other-acpi-namespace-objects#windows-compatible-button-array Looks pretty similar.