From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Deianov Subject: Re: ibm-acpi-0.1 Date: Tue, 10 Aug 2004 01:38:07 -0700 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040810083807.GF28939@aero.ensim.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Li, Shaohua" Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, Aug 10, 2004 at 04:24:39PM +0800, Li, Shaohua wrote: > > IBM hotkey has a unique ID. In T40, it's 'IBM0068'. I guess other > IBM laptops also use it. Using a hardcode path in the patch possibly > isn't a good idea. Agreed. I was originally using acpi_bus_register_driver() and refering to devices by HID but that turned out to not work very well for the dock (ACPI drops it if it's not present at boot) and embedded controller (the ec driver has already grabbed it). So I switched to looking things up by the path. I see your point, though, I'll see what I can do. > BTW, I'm interested in how can you know the meaning of 'DHKC', > 'MHKC' and etc. They are non-standard ACPI methods. Guesswork from the disassembled DSDT and trial and error... Regards, Boris ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285