Date: Thu, 28 Jan 1999 21:33:23 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: Tommy Hallgren <thallgren@yahoo.com> Cc: freebsd-hackers@FreeBSD.ORG, Christian Murray <d96cmu@csd.uu.se>, yokota@zodiac.mech.utsunomiya-u.ac.jp Message-ID: <199901281233.VAA10715@zodiac.mech.utsunomiya-u.ac.jp> In-Reply-To: Your message of "Thu, 28 Jan 1999 04:19:25 PST." <19990128121925.21690.rocketmail@send106.yahoomail.com> References: <19990128121925.21690.rocketmail@send106.yahoomail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>A friend recently bought a Dell Dimension XPSR 400. He's using FreeBSD
>2.2.7. FreeBSD doesn't detect his PS/2 mouse. The boot message is:
>"aux not functioning" with error code 250.
This is a known problem, and fixed in 2.2.8 and later. The keyboard
controller on Dell's motherboard is not as compatible as it should be.
Please apply the attached patch to /sys/i386/isa/psm.c and rebuild the
kernel.
>He has tried to change some BIOS parameters, but without luck. We've
>tried to change a couple of KBD_* defines to see it that could help,
>we had no luck.
[...]
>I've asked on #freebsd@efnet and searched the mailinglists, and saw
>that there are quite many people that have problems with their PS/2
>mice. Their solution was to use a serial mouse instead.
No need to switch to the serial mouse. The patch should work.
# I think I sent out this patch to quite a few people on the FreeBSD
# mailing lists. Which mailing list archive did you search?
Kazu
yokota@FreeBSD.ORG
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);
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901281233.VAA10715>
