From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Rui Subject: Re: getting new hardware (arbor M1526) buttons to work w/ acpi Date: Fri, 27 Aug 2010 09:30:11 +0800 Message-ID: <1282872611.3707.103.camel@rui> References: <1282807211.3707.88.camel@rui> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com ([192.55.52.88]:53900 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840Ab0H0B0z (ORCPT ); Thu, 26 Aug 2010 21:26:55 -0400 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Yedidia Klein Cc: "linux-acpi@vger.kernel.org" On Thu, 2010-08-26 at 17:17 +0800, Yedidia Klein wrote: > here is my acpidump output. > hmmm, please attach the output of "cat /proc/interrupts" and "grep . /sys/firmware/acpi/interrupts/*", both before and after pressing the hotkey. thanks, rui > tnx, > --Y > > > On Thu, Aug 26, 2010 at 10:20 AM, Zhang Rui wrote: > > > > That's interesting. > > > > The first question would be how to catch the hotkey events. > > is this hotkey event routed via ACPI? > > > > can you attach the acpidump of this machine please? > > > > thanks, > > rui > > > > On Thu, 2010-08-26 at 13:56 +0800, Yedidia Klein wrote: > > > Hello list, > > > > > > I've a kiosk computer named arbor m1526 > > > (http://www.arbor.com.tw/products/detail.aspx?Product_Name=M1526.) > > > this hardware has some functions key (F1-F8) that are connected to > > > Embedded Controller. > > > > > > The company do not provide Linux support to these buttons but provided > > > information on addresses as follows: > > > EC RAM Address 0x0501 > > > > > > Bit0 = 1 indicative F1 Button be pressed > > > Bit1 = 1 indicative F2 Button be pressed > > > Bit2 = 1 indicative F3 Button be pressed > > > Bit3 = 1 indicative F4 Button be pressed > > > Bit4 = 1 indicative F5 Button be pressed > > > Bit5 = 1 indicative F6 Button be pressed > > > Bit6 = 1 indicative F7 Button be pressed > > > Bit7 = 1 indicative F8 Button be pressed > > > P.S. If read finish please clear EC ram bit flag. > > > > > > I would like to write a new acpi patch/file to the linux kernel for > > > supporting these buttons. > > > seems to me that the right place is writing a new file at drivers/platform/x86 > > > > > > I'm looking for some good doc. or template for writing a new hardware > > > acpi support. > > > > > > any help will be appreciate, > > > > > > tnx, > > > > > > --Y > > > -- > > > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > > > the body of a message to majordomo@vger.kernel.org > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > >