From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.suse.cz (styx.suse.cz [82.119.242.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 3FAF1689D5 for ; Thu, 12 Jan 2006 09:08:38 +1100 (EST) Date: Wed, 11 Jan 2006 22:47:32 +0100 From: Vojtech Pavlik To: Michael Hanselmann Message-ID: <20060111214732.GA12014@midnight.suse.cz> References: <20051225212041.GA6094@hansmi.ch> <200512252304.32830.dtor_core@ameritech.net> <1135575997.14160.4.camel@localhost.localdomain> <20060111212056.GC6617@hansmi.ch> <1137015258.5138.20.camel@localhost.localdomain> <20060111213805.GE6617@hansmi.ch> <1137015669.5138.22.camel@localhost.localdomain> <20060111214351.GF6617@hansmi.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20060111214351.GF6617@hansmi.ch> Cc: linux-kernel@killerfox.forkbomb.ch, dtor_core@ameritech.net, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-input@atrey.karlin.mff.cuni.cz Subject: Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jan 11, 2006 at 10:43:51PM +0100, Michael Hanselmann wrote: > On Thu, Jan 12, 2006 at 08:41:08AM +1100, Benjamin Herrenschmidt wrote: > > > Johannes Berg told me he wants to use the fn key alone to switch the > > > keyboard layout or something. For such uses, the pb_enablefn is there. > > Sorry, actually it's called pb_disablefn now. > > > What does it do ? Just send a keycode ? That should be unconditionnal. > > The Fn key should change a keycode always. I don't see why you would > > that to be off. > > No, if that parameter is disabled, it translates key combinations like > Fn+F1 to KEY_BRIGHTNESSUP. If it's enabled, it only sends KEY_FN. I believe a better behavior would be to send KEY_FN and then KEY_BRIGHTNESSUP when enabled and KEY_FN and KEY_F1 when disabled. -- Vojtech Pavlik SuSE Labs, SuSE CR