From owner-freebsd-current Fri Jan 10 19:09:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA22452 for current-outgoing; Fri, 10 Jan 1997 19:09:46 -0800 (PST) Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id TAA22435; Fri, 10 Jan 1997 19:09:03 -0800 (PST) Received: by nasu.utsunomiya-u.ac.jp (5.57/ULTRIX-940302) id AA23216; Sat, 11 Jan 97 12:08:07 +0900 Received: by outmail.utsunomiya-u.ac.jp (5.57/ULTRIX-940909) id AA28050; Sat, 11 Jan 97 12:08:06 +0900 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 MAA16149; Sat, 11 Jan 1997 12:11:36 +0900 (JST) Message-Id: <199701110311.MAA16149@zodiac.mech.utsunomiya-u.ac.jp> To: Nate Williams Cc: sos@freebsd.org, current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: Who Caught My PS/2 mouse?! + unknown PCI bridge + DD mode In-Reply-To: Your message of "Fri, 10 Jan 1997 11:26:43 MST." <199701101826.LAA12547@rocky.mt.sri.com> References: <199701101014.LAA00544@ravenock.cybercity.dk> <199701101826.LAA12547@rocky.mt.sri.com> Date: Sat, 11 Jan 1997 12:11:35 +0900 From: Kazutaka YOKOTA Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >sos@freebsd.org writes: >> > > I'm using moused with a PS/2 mouse. To get this to work, you'll need to >> > > make another device in /dev using a different (than default) minor devic >e >> > > number to get the other block/non-blocking behavoir. >> > >> > Thanks Louis, that's cool news! And what is the actual >> > minor No. for moused to work? >> >> You should use minor 0 instead of minor 1 ... >> It works just fine as has been for ages, maybe we should document this >> somewhere, FAQ meister ??... > >We should modify moused to use select() and then all of them will work >correctly. :) > > >Nate I tried the patch, to use select(), in PR bin/1695 and it worked handsomely with `psm', `mse', and serial mice. Now we have two options: a) modify `moused' to use `select()' We need to 1) patch `moused'. It makes `moused' work with not only with `psm' but also with `mse'. Although not mentioned in this thread of discussion, `mse' is also a non-blocking device and currently doesn't work with `moused'. We don't need to update any documentation/FAQ in this case, I expect. b) create blocking nodes We need to 1) create a blokcing node each for `psm' and `mse', 2) change `moused's built-in default of using `/dev/psm0' for the PS/2 mouse; it should now refer to the new blocking node, 3) and update documentation/FAQ. I prefer a) to b), because a) seems simpler. Kazu