NetBSD Problem Report #7552
Received: (qmail 17812 invoked from network); 11 May 1999 17:57:48 -0000
Message-Id: <199905111757.KAA17709@nooksack.ldc.cs.wwu.edu>
Date: Tue, 11 May 1999 10:57:23 -0700 (PDT)
From: mcn@engarde.com
Reply-To: mcn@engarde.com
To: gnats-bugs@gnats.netbsd.org
Subject: USB doesn't reuse device numbers
X-Send-Pr-Version: www-1.0
>Number: 7552
>Category: kern
>Synopsis: USB doesn't reuse device numbers
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue May 11 11:05:01 +0000 1999
>Closed-Date: Wed Jul 14 23:49:44 +0000 1999
>Last-Modified: Wed Jul 14 23:50:22 +0000 1999
>Originator: Mike Neuman
>Release: 1.4
>Organization:
>Environment:
1.4 i386
>Description:
I'm not sure if this is a bug or a change request. If you plug in a USB mouse, unplug it, then plug it back in, it gets assigned a new device ID. For example (I've left out irrelevant lines):
ums0 at uhub0 port 1 configuration 1 interface 0
wsmouse1 at ums0
ums0: at uhub0 port 1 (addr 2) disconnected
ums1 at uhub0 port 1 configuration 1 interface 0
wsmouse2 at ums1
Since ums0 is no longer connected (as is wsmouse1) it would be nice if those device numbers are reused. Xfree86 has to be configured with every possible input device. If I accidentally unplug the mouse, or have to uplug it to move the system, I have to quit X, and edit the config file, or reboot.
>How-To-Repeat:
See description.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: augustss
State-Changed-When: Tue May 11 11:37:32 PDT 1999
State-Changed-Why:
This is a well known problem. It will disappear once the device
attached and detach code has been done properly for USB.
State-Changed-From-To: analyzed->closed
State-Changed-By: augustss
State-Changed-When: Wed Jul 14 16:49:44 PDT 1999
State-Changed-Why:
New detach machinery reuses device numbers.
>Unformatted:
(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.