Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 09:15:55 -0700 (PDT)
From:      Masahiro@FreeBSD.ORG, Ito@FreeBSD.ORG
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/19827: psm flag bit9(NOIDPROBE) doesn't work correctly
Message-ID:  <20000710161555.965EB37B578@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19827
>Category:       kern
>Synopsis:       psm flag bit9(NOIDPROBE) doesn't work correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 10 09:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000710161555.965EB37B578>