From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: Re: [patch 1/1] thinkpad fn+fx key driver Date: Sat, 25 Sep 2004 13:22:20 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040925112219.GC4039@elf.ucw.cz> References: <20040923112457.GB1083@ucw.cz> <20040924134118.GA467@openzaurus.ucw.cz> <20040924142248.GA2593@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20040924142248.GA2593-+ZI9xUNit7I@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Vojtech Pavlik Cc: "Brown, Len" , akpm-3NddpPZAyC0@public.gmane.org, erik-aH8aFkyL5XJBDgjK7y7TUQ@public.gmane.org, ACPI Developers List-Id: linux-acpi@vger.kernel.org Hi! > > Having vol+/vol- keys would be very welcome. This daemon would > > have to understand scancodes for a lot of > > different keyboards, but perhaps > > that is easy enough to create incrementally. > > The Volume+ and Volume- keys are actually pretty standardized and the > kernel recognizes them out of the box on 95% of machines. Hmm, yes, on my machines vol- generates ^[[26~, mute ^[[25~ and vol+ nothing. > The daemon could but wouldn't have to take care of uploading the correct > scancode->keycode tables to the kernel. Hmm, okay. Is it possible to have somehow get both keycodes and translated keys? I guess I might want to define ctrl-alt-= as vol+ and ctrl-alt-- as vol- for machines that do not have hardware keys. Do you have example code using event interface, somewhere? Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php