From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 08:22:21 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A574C3EF for ; Wed, 13 Feb 2013 08:22:21 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 432891E7 for ; Wed, 13 Feb 2013 08:22:20 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 210211448; Wed, 13 Feb 2013 09:22:13 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Subject: Re: [RFC] USB keyboard and devd.conf Date: Wed, 13 Feb 2013 09:23:25 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302111343.29568.hselasky@c2i.net> <20130212145100.GA29324@alchemy.franken.de> In-Reply-To: <20130212145100.GA29324@alchemy.franken.de> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Marius Strobl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 08:22:21 -0000 On Tuesday 12 February 2013 15:51:01 Marius Strobl wrote: > On Mon, Feb 11, 2013 at 01:43:29PM +0100, Hans Petter Selasky wrote: > > Hi, > > > > Does anyone need these lines in /etc/devd.conf ? > > > > === etc/devd.conf > > ================================================================== > > --- etc/devd.conf (revision 246620) > > +++ etc/devd.conf (local) > > @@ -105,16 +105,6 @@ > > > > # action "sleep 2 && /usr/sbin/ath3kfw -d $device-name -f > > /usr/local/etc/ath3k-1.fw"; #}; > > > > -# When a USB keyboard arrives, attach it as the console keyboard. > > -attach 100 { > > - device-name "ukbd0"; > > - action "/etc/rc.d/syscons setkeyboard /dev/ukbd0"; > > -}; > > -detach 100 { > > - device-name "ukbd0"; > > - action "/etc/rc.d/syscons setkeyboard /dev/kbd0"; > > -}; > > - > > > > notify 100 { > > > > match "system" "DEVFS"; > > match "subsystem" "CDEV"; > > > > I plan to remove the lines marked with minus, because we now have kbdmux. > > Do these entries have negative impact on systems using kbdmux(4)? > Will their lack have impact on systems not using kbdmux(4)? I typically > remove or at least disable the latter on machines without atkbd(4) etc. > hardware and thus ukbd(4) is the only keyboard driver ever used there. > Hi, I suspect a system without kbdmux will still need these. However, these lines are not correct with regard to multiple USB keyboards. --HPS