From owner-freebsd-stable@FreeBSD.ORG Sun Feb 26 08:29:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68F8A16A420; Sun, 26 Feb 2006 08:29:03 +0000 (GMT) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (mic92-1-87-90-12-116.dsl.club-internet.fr [87.90.12.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0DF943D46; Sun, 26 Feb 2006 08:29:02 +0000 (GMT) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (localhost [127.0.0.1]) by scienceclue.ath.cx (8.13.4/8.13.4) with ESMTP id k1Q8UJav078045; Sun, 26 Feb 2006 09:30:20 +0100 (CET) (envelope-from root@scienceclue.ath.cx) Received: (from root@localhost) by scienceclue.ath.cx (8.13.4/8.13.4/Submit) id k1Q8UEc6078044; Sun, 26 Feb 2006 09:30:14 +0100 (CET) (envelope-from root) Date: Sun, 26 Feb 2006 09:30:13 +0100 From: Mathieu Prevot To: Gary Palmer Message-ID: <20060226083013.GA77965@scienceclue.ath.cx> References: <20060225230647.GA51017@scienceclue.ath.cx> <4400F705.7020709@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4400F705.7020709@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD-AMD64 6.1-PRERELEASE X-URL: http://scienceclue.ath.cx Cc: freebsd-stable@freebsd.org Subject: Re: usbd / moused oddity X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mathieu Prevot List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 08:29:03 -0000 On Sun, Feb 26, 2006 at 12:32:05AM +0000, Gary Palmer wrote: > Mathieu Prevot wrote: > > >Hello, > > > >I remarked something I don't understand. I have a usb mouse, and if I > >just have usbd_enable="YES" and moused_enable="NO" in rc.conf I can have a > >functionnal mouse after boot. If I go to single-user mode from multi-user > >mode and then back to multi-user mode with ^d, I don't have the process > >moused. > >In the last case, I need to set moused_enable="YES" and > >moused_port="/dev/ums0". > > > >I use FreeBSD 6.1-PRERELEASE #32: Tue Feb 21 02:30:25 CET 2006 amd64 > > > > > > (Assuming you have up-to-date devd.conf and usbd.conf): On first boot > the kernel pushes a list of devices the kernel found to devd, including > your mouse which isn't attached to moused yet. devd fires up moused for > your mouse and life is happy. > > You take the system single user, and everything is killed off (including > devd, and moused). When you take the system multi-user again, devd is > restarted but the kernel has already pushed the list of devices out and > will only push new devices to devd, so moused will not be automatically > restarted. Thanks for the explanation Mathieu