Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262794AbUDUONP (ORCPT ); Wed, 21 Apr 2004 10:13:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262923AbUDUONP (ORCPT ); Wed, 21 Apr 2004 10:13:15 -0400 Received: from main.gmane.org ([80.91.224.249]:4003 "EHLO main.gmane.org") by vger.kernel.org with ESMTP id S262794AbUDUONM (ORCPT ); Wed, 21 Apr 2004 10:13:12 -0400 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Giuseppe Bilotta Subject: Re: [PATCH 6/15] New set of input patches: atkbd soften accusation Date: Wed, 21 Apr 2004 16:13:00 +0200 Message-ID: References: <200404210049.17139.dtor_core@ameritech.net> <200404210054.23583.dtor_core@ameritech.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp-107-142.29-151.libero.it X-Newsreader: MicroPlanet Gravity v2.60 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 25 Dmitry Torokhov wrote: > + printk(KERN_WARNING "atkbd.c: Unknown key %s " > + "(%s set %d, code %#x on %s).\n", > + atkbd->release ? "released" : "pressed", > + atkbd->translated ? "translated" : "raw", > + atkbd->set, code, serio->phys); > + printk(KERN_WARNING "atkbd.c: Use 'setkeycodes %s%02x ' " > + "to make it known.\n", > + code & 0x80 ? "e0" : "", code & 0x7f); By the way, until the atkbd.c / keyboard.c interaction is fixed, using setkeycodes might *not* make the keys known *properly*. (example: try setkeycodes e001 129: you'll notice that a key whose raw code is 0x81 will not produce keycode 129, because the raw mode emulation will actually turn the 0x81 in a 0x85.) (See also the temporary patch I posted recently). -- Giuseppe "Oblomov" Bilotta Can't you see It all makes perfect sense Expressed in dollar and cents Pounds shillings and pence (Roger Waters) - 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/