Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262431AbUCRG4p (ORCPT ); Thu, 18 Mar 2004 01:56:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262434AbUCRG4p (ORCPT ); Thu, 18 Mar 2004 01:56:45 -0500 Received: from inova102.correio.tnext.com.br ([200.222.67.102]:37277 "HELO trinity-auth.correio.tnext.com.br") by vger.kernel.org with SMTP id S262431AbUCRG4k (ORCPT ); Thu, 18 Mar 2004 01:56:40 -0500 X-qfilter-stat: ok X-Analyze: Velop Mail Shield v0.0.4 X-Velop-Vscan: no virus detected X-Inova-Extscan: attachments authorized Date: Thu, 18 Mar 2004 03:56:35 -0300 (BRT) From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1@pervalidus.net> To: Peter Williams cc: Vojtech Pavlik , linux-kernel@vger.kernel.org Subject: Re: XFree86 seems to be being wrongly accused of doing the wrong thing In-Reply-To: <40593015.9090507@aurema.com> Message-ID: References: <40593015.9090507@aurema.com> X-Archive: encrypt MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1523601490-1079592995=:1276" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6488 Lines: 127 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1523601490-1079592995=:1276 Content-Type: TEXT/PLAIN; charset=US-ASCII Wrongly ? I don't think so, as it has presumably been fixed in XFree86 after 4.4.0. http://www.xfree86.org/cvs/changes.html: 6. Do the Linux KDKBDREP ioctl on the correct fd. This prevents the fallback that tries to directly program the keyboard repeat rate, and the related warning messages that recent Linux kernels generate (David Dawes). I'm attaching the patch I extracted from CVS. Vojtech, what about adding such information to your HOWTO ? And better, adding the URL to atkbd.c, so people stop reporting it. On Thu, 18 Mar 2004, Peter Williams wrote: > With 2.6.4 I'm getting the following messages very early in the boot > long before XFree86 is started: > > Mar 18 16:05:31 mudlark kernel: atkbd.c: Unknown key released > (translated set 2, code 0x7a on isa0060/serio0). > Mar 18 16:05:31 mudlark kernel: atkbd.c: This is an XFree86 bug. It > shouldn't access hardware directly. > > They are repeated 6 times and are NOT the result of any keys being > pressed or released. -- http://www.pervalidus.net/contact.html --0-1523601490-1079592995=:1276 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="KDKBDREP-xc.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="KDKBDREP-xc.diff" SW5kZXg6IHhjL3Byb2dyYW1zL1hzZXJ2ZXIvaHcveGZyZWU4Ni9vcy1zdXBw b3J0L2xpbnV4L2xueF9pby5jDQpkaWZmIC11IHhjL3Byb2dyYW1zL1hzZXJ2 ZXIvaHcveGZyZWU4Ni9vcy1zdXBwb3J0L2xpbnV4L2xueF9pby5jOjMuMjYg eGMvcHJvZ3JhbXMvWHNlcnZlci9ody94ZnJlZTg2L29zLXN1cHBvcnQvbGlu dXgvbG54X2lvLmM6My4yNw0KLS0tIHhjL3Byb2dyYW1zL1hzZXJ2ZXIvaHcv eGZyZWU4Ni9vcy1zdXBwb3J0L2xpbnV4L2xueF9pby5jOjMuMjYJTW9uIE5v diAxNyAyMjoyMDo0MSAyMDAzDQorKysgeGMvcHJvZ3JhbXMvWHNlcnZlci9o dy94ZnJlZTg2L29zLXN1cHBvcnQvbGludXgvbG54X2lvLmMJV2VkIE1hciAg MyAxODo1Mzo0MSAyMDA0DQpAQCAtMSw0ICsxLDQgQEANCi0vKiAkWEZyZWU4 NjogeGMvcHJvZ3JhbXMvWHNlcnZlci9ody94ZnJlZTg2L29zLXN1cHBvcnQv bGludXgvbG54X2lvLmMsdiAzLjI2IDIwMDMvMTEvMTcgMjI6MjA6NDEgZGF3 ZXMgRXhwICQgKi8NCisvKiAkWEZyZWU4NjogeGMvcHJvZ3JhbXMvWHNlcnZl ci9ody94ZnJlZTg2L29zLXN1cHBvcnQvbGludXg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2JkcmVwX3MuZGVsYXkgPSAxOw0KICAgIA0KLSAg IGlmIChpb2N0bCggMCwgS0RLQkRSRVAsICZrYmRyZXBfcyApKSB7DQorICAg aWYgKGlvY3RsKCBmZCwgS0RLQkRSRVAsICZrYmRyZXBfcyApKSB7DQogICAg ICByZXR1cm4gMDsNCiAgICB9DQogDQpAQCAtMjAwLDcgKzIwMCw3IEBADQog ICBpZiAocEtiZC0+ZGVsYXkgPj0gMCkNCiAgICAgZGVsYXkgPSBwS2JkLT5k ZWxheTsNCiANCi0gIGlmKEtES0JEUkVQX2lvY3RsX29rKHJhdGUsIGRlbGF5 KSkgCS8qIG02OGs/ICovDQorICBpZihLREtCRFJFUF9pb2N0bF9vayhwSW5m by0+ZmQsIHJhdGUsIGRlbGF5KSkgCS8qIG02OGs/ICovDQogICAgIHJldHVy bjsNCiANCiAgIGlmKEtJT0NTUkFURV9pb2N0bF9vayhyYXRlLCBkZWxheSkp CS8qIHNwYXJjPyAqLw0K --0-1523601490-1079592995=:1276-- - 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/