NetBSD Problem Report #8723

Received: (qmail 27281 invoked from network); 1 Nov 1999 05:02:32 -0000
Message-Id: <199911010502.VAA28101@00-00-C0-CC-A1-98.bconnected.net>
Date: Sun, 31 Oct 1999 21:02:25 -0800 (PST)
From: cjs@cynic.net
Reply-To: cjs@cynic.net
To: gnats-bugs@gnats.netbsd.org
Subject: wsmouse device allows opens when mouse doesn't exist
X-Send-Pr-Version: 3.95

>Number:         8723
>Category:       kern
>Synopsis:       wsmouse device allows opens when mouse doesn't exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    drochner
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 31 21:03:01 +0000 1999
>Closed-Date:    Wed Nov 03 22:48:43 +0000 1999
>Last-Modified:  Wed Nov 03 22:49:38 +0000 1999
>Originator:     Curt Sampson
>Release:        1999-09-06
>Organization:
--
Curt Sampson  <cjs@cynic.net>   917 532 4208   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org
>Environment:
System: NetBSD romantic.cynic.net 1.4K NetBSD 1.4K (ROMANTIC) #1: Sat Oct 30 23:08:42 PDT 1999 root@:/usr/src/sys/arch/i386/compile/ROMANTIC i386


>Description:
    The X server can open the wsmouse device even if there is no mouse
    attached. With no mouse, this causes it to go into an infinite loop.
>How-To-Repeat:
    Boot a system with no mouse attached. Use protocol "wsmouse" in your
    XF86Config file.
>Fix:
    Unknown.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->drochner 
Responsible-Changed-By: hwr 
Responsible-Changed-When: Mon Nov 1 03:35:36 PST 1999 
Responsible-Changed-Why:  
Matthias should know best about wscons 
State-Changed-From-To: open->feedback 
State-Changed-By: drochner 
State-Changed-When: Tue Nov 2 09:14:00 PST 1999 
State-Changed-Why:  
going to resolve this... 

From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
To: cjs@cynic.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/8723: wsmouse device allows opens when mouse doesn't exist 
Date: Tue, 02 Nov 1999 18:13:50 +0100

 cjs@cynic.net said:
 >     The X server can open the wsmouse device even if there is no mouse
 >     attached.

 Sure? wsmouseopen() explicitely checks whether the
 device was attached.
 Or did you specify a wrong device path in XF86Config?

 best regards
 Matthias



From: Curt Sampson <cjs@cynic.net>
To: M.Drochner@fz-juelich.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/8723: wsmouse device allows opens when mouse doesn't
 exist 
Date: Tue, 2 Nov 1999 12:41:35 -0500 (EST)

 On Tue, 2 Nov 1999, Matthias Drochner wrote:

 > cjs@cynic.net said:
 > >     The X server can open the wsmouse device even if there is no mouse
 > >     attached.
 > 
 > Sure? wsmouseopen() explicitely checks whether the
 > device was attached.
 > Or did you specify a wrong device path in XF86Config?

 I used /dev/wsmouse in XF86Config. Christos might have a bit more
 info on the problem, as he was the one who debugged it. But the X
 server appeared to open /dev/wsmouse and then go into an infinite
 loop while trying to read events from it.

 cjs
 --
 Curt Sampson  <cjs@cynic.net>   917 532 4208   De gustibus, aut bene aut nihil.
 The most widely ported operating system in the world: http://www.netbsd.org

State-Changed-From-To: feedback->closed 
State-Changed-By: augustss 
State-Changed-When: Wed Nov 3 14:48:43 PST 1999 
State-Changed-Why:  
Bug fixed.  I hope. :) 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.