From owner-freebsd-questions Mon Feb 22 21:40:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 9CABB11194 for ; Mon, 22 Feb 1999 21:40:18 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id AAA21181; Tue, 23 Feb 1999 00:41:56 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902230541.AAA21181@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Not detecting PS/2 mouse In-Reply-To: <36D16D1E.652C4D01@voicenet.com> from Adam K Kirchhoff at "Feb 22, 99 09:43:42 am" To: adamk@voicenet.com (Adam K Kirchhoff) Date: Tue, 23 Feb 1999 00:41:56 -0500 (EST) Cc: questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Adam K Kirchhoff wrote, > > For some reason, FreeBSD (versions 2.2.8, and 3.1, as well as a > snapshot of 3.0) doesn't detect my ps/2 mouse. I've tried a number of > different mice (Logitech 3-button, Microsoft, Compaq), all of which have > worked under Linux and OpenBSD, but which have never been detected by > FreeBSD. Even thought the GENERIC kernel is supposed to support the > ps/2 mouse, I went ahead and recompiled the kernel under 2.2.8, but it > still refused to see it. > During the boot process I've also gone in UserConfig mode to specify > different io ports... Still no luck. > I'm going to try to recompile the kernel under 3.1 tonight and give > it another go. > I would really like to give up on Linux and switch over to FreeBSD > but I have no free serial ports and can't exactly do much without a > mouse. > The computer is a Compaq Presario 2200, with a Cyrix MediaGX > processor and any help would be greatly appreciated. > Thanks. There was a rash of people with this problem with PS/2 a few months ago. I was one of them. After much searching I managed to get a hold of the author of psm0 driver(Kazutaka YOKOTA ), and with some of the dmesg output from my system he was kind enought to get out a quick patch. I know the patch helped me and a few other people, but I had not heard many troubles lately and had assumed the patch or a better fix had been committed to 2.2.8. Could someone out there let me know if this was included in 2.2.8 or later? It's one of the things that makes me hesitant to move out of 2.2.7... that and I have no really good reason to change. Index: psm.c =================================================================== RCS file: /src/CVS/src/sys/i386/isa/psm.c,v retrieving revision 1.54 diff -u -r1.54 psm.c --- psm.c 1998/07/06 16:10:06 1.54 +++ psm.c 1998/10/12 01:40:02 @@ -576,6 +576,7 @@ switch((i = test_aux_port(kbdc))) { case 1: /* ignore this error */ + case PSM_ACK: if (verbose) log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n", unit, i); @@ -807,9 +808,11 @@ * it has the perfectly functional aux port. We have to ignore this * error code. Even if the controller HAS error with the aux port, * it will be detected later... + * XXX: another incompatible controller returns PSM_ACK (0xfa)... */ switch ((i = test_aux_port(sc->kbdc))) { case 1: /* ignore this error */ + case PSM_ACK: if (verbose) printf("psm%d: strange result for test aux port (%d).\n", unit, i); -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message