Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 12 Dec 2002 07:12:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 12 Dec 2002 07:12:59 -0500 Received: from twilight.ucw.cz ([195.39.74.230]:20866 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id ; Thu, 12 Dec 2002 07:12:58 -0500 Date: Thu, 12 Dec 2002 13:20:17 +0100 From: Vojtech Pavlik To: "James H. Cloos Jr." Cc: Vojtech Pavlik , Pavel Machek , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: PATCH: Four function buttons on DELL Latitude X200 Message-ID: <20021212132017.A20122@ucw.cz> References: <20021210213444.GA451@elf.ucw.cz> <20021212094334.A1403@ucw.cz> <20021212125114.A10134@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cloos@jhcloos.com on Thu, Dec 12, 2002 at 07:17:22AM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1312 Lines: 34 On Thu, Dec 12, 2002 at 07:17:22AM -0500, James H. Cloos Jr. wrote: > >>>>> "Vojtech" == Vojtech Pavlik writes: > > Vojtech> Do they by any chance produce a kernel warning when pressed? > > Yes, the two keys that do not generate an event in X syslog these errors: > > atkbd.c: Unknown key (set 2, scancode 0x176, on isa0060/serio0) pressed. > atkbd.c: Unknown key (set 2, scancode 0x176, on isa0060/serio0) released. > atkbd.c: Unknown key (set 2, scancode 0x11e, on isa0060/serio0) pressed. > atkbd.c: Unknown key (set 2, scancode 0x11e, on isa0060/serio0) released. > > where 0x176 is the PLAY key and 0x11e is the PREV key. You can edit atkbd.c, and at the beginning there is a big table, add some reasonable keycodes (KEY_PLAY, KEY_PREV), to entries 0x11e and 0x176 in the table. > Incidently, the FORWARD key is giving the same keycode as the main > kb's Pause key. Should be possible to fix at the same place. (You can try to use 'setkeycode' for the same purpose in 2.5, but it might and might not work.) -- Vojtech Pavlik SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/