From owner-freebsd-hardware Sun Jan 7 20:28:24 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA10566 for hardware-outgoing; Sun, 7 Jan 1996 20:28:24 -0800 (PST) Received: from mailx.best.com (mailx.best.com [204.156.128.56]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA10560 Sun, 7 Jan 1996 20:28:16 -0800 (PST) Received: from shellx.best.com (shellx.best.com [206.86.0.11]) by mailx.best.com (950911.SGI.8.6.12.PATCH825/8.6.5) with ESMTP id EAA13635; Mon, 8 Jan 1996 04:30:19 GMT Received: from othello.selgus.com (brett.vip.best.com [205.149.181.145]) by shellx.best.com (950911.SGI.8.6.12.PATCH825/8.6.5) with SMTP id UAA29703; Sun, 7 Jan 1996 20:28:11 -0800 Message-ID: <30F09D41.2E90@selgus.com> Date: Sun, 07 Jan 1996 20:27:45 -0800 From: Brett Bourbin Organization: Selgus Limited X-Mailer: Mozilla 2.0b4 (Win95; I) MIME-Version: 1.0 To: sos@FreeBSD.org CC: freebsd-hardware@FreeBSD.org Subject: Re: PS/2 AUX mouse problems with 2.1 References: <199601070908.KAA06734@ra.dkuug.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hardware@FreeBSD.org Precedence: bulk sos@FreeBSD.org wrote: > Hmm I use it here, and it works fine for me, my config is something like: > > device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr > > that works on a ASUS p55tp4xeg motherboard with an IBM mouse.. > > There is work underways in this area as the way its done now is > not optimal Well, I have that same line and the probe failed for me. I have a Pentium 133 SCSI motherboard with a PS/2 AUX port onboard. Just to see if it was just Windows 95 doing some magic to find the mouse port, I used my Linux boot disk from another machine I have (which also has a PS/2 AUX mouse port), and it detected and installed the PS/2 mouse driver. So it was the FreeBSD PSM probe code-- so I commented out the actual test after the read of the DATA port in psmprobe(), and booted with my new kernel, and it loaded the driver and it worked fine with XFree86. This seems to say the probe code is wrong (maybe it just happens to work on some machines or maybe mine is slightly different). Since Linux got it correct, I check how they detected the PS/2 mouse, and they use an INT 11 to read the configuration and then check bit 2 (0x04) from the INT return value. FreeBSD seems to be trying to do some kind of handshake on the CNTRL port and then reading the DATA port. > Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team-- Brett Bourbin, President SELGUS LIMITED brett@selgus.com 555 Bryant Street, Suite 221 Palo Alto, CA 94301