From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Deianov Subject: Re: [PATCH] ibm-acpi-0.6 - ACPI driver for IBM ThinkPad laptops Date: Wed, 20 Oct 2004 19:38:43 -0700 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20041021023843.GO17013@aero.ensim.com> References: <3ACA40606221794F80A5670F0AF15F8405DCA922@pdsmsx403> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3ACA40606221794F80A5670F0AF15F8405DCA922@pdsmsx403> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Yu, Luming" Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Wed, Oct 20, 2004 at 11:18:08AM +0800, Yu, Luming wrote: > > I'm working on a generic hotkey driver, which will move configurable > stuff to user space. [snip] > 1. add a new hotkey: > echo "0 : _SB.VGA : _SB.VGA.LCD._BCM :0x86 : 0x86" > > /proc/acpi/ev_config How would user space know what devices and methods to use? In the kernel, you can use HIDs where available, or check for specific objects with acpi_get_handle(). Are you going to expose these to user space somehow? Boris ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl