From owner-freebsd-questions Wed Jan 15 12:40:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AED5137B401 for ; Wed, 15 Jan 2003 12:40:38 -0800 (PST) Received: from janeway.vonbek.dhs.org (bgm-24-94-58-56.stny.rr.com [24.94.58.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF93443F1E for ; Wed, 15 Jan 2003 12:40:37 -0800 (PST) (envelope-from syborg@stny.rr.com) Received: by janeway.vonbek.dhs.org (Postfix, from userid 507) id 6F1304FC96; Wed, 15 Jan 2003 15:20:57 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by janeway.vonbek.dhs.org (Postfix) with ESMTP id 6796D4A0F for ; Wed, 15 Jan 2003 15:20:57 -0500 (EST) Date: Wed, 15 Jan 2003 15:20:57 -0500 (EST) From: John Bleichert X-X-Sender: syborg@janeway.vonbek.dhs.org Reply-To: John Bleichert To: freebsd-questions@freebsd.org Subject: /dev/ums0 busy, moused disabled Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello All I'm using a USB mouse on my 4.7-RELEASE box and I'm seeing strange behavior. In short, when I boot the system, I need to immediately 'shutdown now' to single-user mode and then 'exit' back to multiuser mode to get the mouse to work. When the machine first boots, X will not load as /dev/ums0 is busy. lsof and cat return: # cat /dev/ums0 cat: /dev/ums0: Device busy # lsof | grep ums moused 97 root 3u VCHR 111,0 0t0 40 /dev/ums0 Now, the only moused line I have in /etc/rc.conf is: moused_enable="NO" and yet it's still running after system boot. Somehow bouncing to singleuser mode and then back clears it up. How can I debug this? Where is moused getting started? Note that once I come back to multi-user lsof shows no processes using /dev/ums0 and X starts just fine. Thanks - JB PS: The 'cat /dev/ums0' trick I got from the Internet. When it's working, if you cat the device and move the mouse around you get a lot of gibberish in the terminal, it's a quick device test. # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message