From owner-freebsd-bugs Mon Feb 10 21:57:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA00483 for bugs-outgoing; Mon, 10 Feb 1997 21:57:05 -0800 (PST) Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA00473 for ; Mon, 10 Feb 1997 21:56:58 -0800 (PST) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by nasu.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id OAA15322; Tue, 11 Feb 1997 14:55:51 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (3bW0vu/AEIzYu0lfFoH2XSUAhSyFTHWu@zodiac.mech.utsunomiya-u.ac.jp [160.12.33.1]) by outmail.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id OAA30435; Tue, 11 Feb 1997 14:55:46 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zenith.mech.utsunomiya-u.ac.jp [160.12.33.60]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id OAA05547; Tue, 11 Feb 1997 14:59:37 +0900 (JST) Message-Id: <199702110559.OAA05547@zodiac.mech.utsunomiya-u.ac.jp> To: Tony Overfield cc: bugs@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: psm and kbdio driver (was Re: Stuck! 2.2 Gamma won't go.) In-reply-to: Your message of "Mon, 10 Feb 1997 05:15:54 CST." <3.0.1.32.19970210051554.006a2350@bugs.us.dell.com> References: Your message of "Mon, 10 Feb 1997 02:28:48 CST." <3.0.1.32.19970210022848.00691d20@bugs.us.dell.com> <3.0.1.32.19970210051554.006a2350@bugs.us.dell.com> Date: Tue, 11 Feb 1997 14:59:36 +0900 From: Kazutaka YOKOTA Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>Perhaps you could post details of this system's configuration >>(make & manufacturer) to -hackers and see if the 2 or 3 folk >>who deal with PS/2 mice can give you some clues as to what >>to do in debugging this so that they can make the PS/2 mouse >>driver less pathologically behaved on your equipment. > >I'm convinced it's not system specific. I'm using a new system >for which I did the BIOS. I'm also a maintainer of the 8042 >keyboard controller code (when necessary) but there hasn't been >a change to it in several years (millions of systems ago). Wow, I think I need advice from someone like you most to improve the PS/2 mouse driver (psm) and keyboard I/O routines (kbdio) :-) >The PS/2 mouse interface is certainly a strange one, but >most of the mystery surrounding it probably arises from the >poor documentation and poorly understood behavior. I could >help quite a bit if there's trouble getting it to work on >"good" system implementations. But I don't know about the >bugs that exist in other peoples' keyboard controllers, and >that's probably where most of the trouble is. > >The PS/2 mouse interface is *not* inherently buggy or >unreliable, but some of the implementations are. Indeed. Although I have tested the psm driver with a number of PS/2 mice (believe me, I have an army of them!), quite a few problems, particularly with laptops, have been uncovered since it was released to public testing. I can point a finger at a number of manufactures, including such big names as... >>Unfortunately, fixing it just takes as long as it takes with >>volunteers working on it. > >True. I do understand this. > >>In any case, there has been recent interest in improving this driver >>and the perpetrators hang out in -hackers, so you might do as I >>suggested above and see what happens. ;) > >I'll do that, depending on what Joerg says in response >to my other message. If I ask some qustions regarding the keyboard controller, would you be kind enough to answer them and assist me to improbe the psm and kbdio drivers? I really want several points clarified about the keyboard/mouse/i8042. Kazu PS. as for XF86Setup problems you are experiencing, I reproduced the problem on my system by deliberately specifying a wrong protocol type in the mouse selection menu in XF86Setup. XF86Setup doesn't respond to key stokes in some cases. But, I found that even in such cases the keyboard and mouse drivers appear to continue reading data from the devices and passing it to the Xserver all right. I will investigate the possibility that the XF86Setup (or the X server) may be unable to interpret key codes when it is confused about mouse events.