From nobody@FreeBSD.ORG  Mon Jul 10 09:15:55 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 965EB37B578; Mon, 10 Jul 2000 09:15:55 -0700 (PDT)
Message-Id: <20000710161555.965EB37B578@hub.freebsd.org>
Date: Mon, 10 Jul 2000 09:15:55 -0700 (PDT)
From: Masahiro@FreeBSD.ORG, Ito@FreeBSD.ORG
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: psm flag bit9(NOIDPROBE) doesn't work correctly
X-Send-Pr-Version: www-1.0

>Number:         19827
>Category:       kern
>Synopsis:       psm flag bit9(NOIDPROBE) doesn't work correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    yokota
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 10 09:20:01 PDT 2000
>Closed-Date:    Sat Dec 20 06:06:41 PST 2003
>Last-Modified:  Sat Dec 20 06:06:41 PST 2003
>Originator:     masahiro@znet.or.jp
>Release:        4.0-STABLE
>Organization:
>Environment:
FreeBSD xxx.xxx.jp 4.0-STABLE FreeBSD 4.0-STABLE #24: Mon Jul 10 00:12:37 JST
 2000     masahiro@xxx.xxx.jp:/usr/src/sys/compile/MASAHIRO  i386

>Description:
Though the psm flag bit9 is set, psm driver probe "GlidePoint".
("Generic PS/2 mouse" should be probed.)

>How-To-Repeat:
kernel configuration file:
device          psm0    at atkbdc? irq 12 flags 0x0200

build a new kernel and reboot:
psm0: <PS/2 Mouse> flags 0x200 irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
            ~~~~~~~~~~ => Generic PS/2 mouse

>Fix:
--- /usr/src/sys/isa/psm.c.orig  Fri Mar 31 21:52:05 2000
+++ /usr/src/sys/isa/psm.c       Tue Jul 11 01:04:28 2000
@@ -294,7 +294,7 @@ static struct {
     { MOUSE_MODEL_GENERIC,
       0xc0, MOUSE_PS2_PACKETSIZE, NULL, },
 };
-#define GENERIC_MOUSE_ENTRY    7
+#define GENERIC_MOUSE_ENTRY    10

 /* device driver declarateion */
 static device_method_t psm_methods[] = {


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->yokota 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Jul 11 01:23:28 PDT 2000 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19827 
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Sat Dec 20 06:06:22 PST 2003 
State-Changed-Why:  
Corrected in revision 1.28 of sys/isa/psm.c. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19827 
>Unformatted:
