Date: Sun, 26 Feb 2006 09:30:13 +0100 From: Mathieu Prevot <freebsd-stable@club-internet.fr> To: Gary Palmer <gpalmer@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: usbd / moused oddity Message-ID: <20060226083013.GA77965@scienceclue.ath.cx> In-Reply-To: <4400F705.7020709@freebsd.org> References: <20060225230647.GA51017@scienceclue.ath.cx> <4400F705.7020709@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060226083013.GA77965>