From owner-svn-src-head@FreeBSD.ORG Thu Feb 5 22:32:04 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5FD0380; Thu, 5 Feb 2015 22:32:04 +0000 (UTC) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id 2E4111A2D; Thu, 5 Feb 2015 22:32:04 +0000 (UTC) Message-ID: <54D3EF63.4030300@FreeBSD.org> Date: Thu, 05 Feb 2015 17:32:03 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Hans Petter Selasky , John Baldwin Subject: Re: svn commit: r278249 - head/etc/rc.d References: <201502051138.t15BcUlj070663@svn.freebsd.org> <22331387.X8ihv2sqVO@ralph.baldwin.cx> <54D3E4C7.5070803@selasky.org> <2710446.umAevmagdU@ralph.baldwin.cx> <54D3EA24.9070501@selasky.org> In-Reply-To: <54D3EA24.9070501@selasky.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Garrett Cooper , Garrett Cooper X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 22:32:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 02/05/2015 17:09, Hans Petter Selasky wrote: > On 02/05/15 22:59, John Baldwin wrote: >> On Thursday, February 05, 2015 10:46:47 PM Hans Petter Selasky >> wrote: >>> On 02/05/15 22:39, John Baldwin wrote: >>>> On Thursday, February 05, 2015 12:51:41 PM Garrett Cooper >>>> wrote: >>>>> On Feb 5, 2015, at 5:04, John Baldwin >>>>> wrote: >>>>>> On Thursday, February 05, 2015 11:38:30 AM Garrett >>>>>> Cooper wrote: >>>>>>> Author: ngie Date: Thu Feb 5 11:38:29 2015 New >>>>>>> Revision: 278249 URL: >>>>>>> https://svnweb.freebsd.org/changeset/base/278249 >>>>>>> >>>>>>> Log: Honor the following flags with the following rc.d >>>>>>> scripts for services >>>>>>> >>>>>>> that can be easily decoupled from the boot process >>>>>>> without disrupting other services >>>>>>> >>>>>>> - MK_APM && MK_ACPI: powerd - MK_BOOTPARAMD: bootparams >>>>>>> - MK_FTP: ftpd - MK_INETD: inetd - MK_LEGACY_CONSOLE: >>>>>>> moused, syscons >>>>>> >>>>>> I'm using moused with vt(4). It is not >>>>>> syscons-specific. >>>>> >>>>> Unfortunately it is LEGACY_CONSOLE specific right now: >>>>> >>>>> 183242 sam # XXX MK_SYSCONS 183242 sam .if >>>>> ${MK_LEGACY_CONSOLE} != "no" 212525 imp SUBDIR+= >>>>> kbdcontrol 212525 imp SUBDIR+= kbdmap 212525 >>>>> imp SUBDIR+= moused 212525 imp SUBDIR+= >>>>> vidcontrol 183242 sam .endif >>>>> >>>>> This will probably need to change to be inclusive of >>>>> MK_VT, but I need to doublecheck the sources to make sure >>>>> there aren’t any assumptions lurking in moused that >>>>> explicitly require syscons in order to function... >>>> >>>> Eh, which part of "I'm running moused for a trackpad on my >>>> Thinkpad that I use with vt(4) both in and out of X" doesn't >>>> == "it works with vt(4), not just sc(4)"? :) >>> >>> Hi, >>> >>> Here is patch to make X work without moused among other stuff: >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 >> >> I _like_ moused. I can hotplug USB mice while in X and it works >> just fine (works fine on the console as well). Has worked for >> over a decade (whereas hal can't seem to tie its own shoes much >> less properly deal with hotplug). >> > > Hi John, > > We are trying to move away from HAL and to devd :-) > > And I'm not trying to get rid of moused. Actually there is a race > currently if moused or Xorg grabs the /dev/umsX first .... Is > there a simple way to detect moused_enable="YES" in /etc/rc.conf . > Then Xorg should not try to grab /dev/umsX . Only if > moused_enable!="YES". I think what you're looking for is moused_nondefault_enable="NO". Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU0+9jAAoJEHyflib82/FGVQoH/iCgBglGAl2W43gIh+9SNxJN Nph/YgT9G+nw9UTN6sWJfUPO8xO2Xbrx6ohW6XS5tPfFR0aFYcI1iNoE4278kL8U g0hKZo9zspoxpAHVtPTLG4gCwZUADrI2McY+jgWcu1rML3ubEw39pe7YN7LfcdtC aPYyvFKVmURO+X7J669a3be8cIwUJd74Jmgi/4SJvLdmlDOP9WlIYsFzFaNtSdKM eiiofFY6kL5/FaMCgIWLAZ7BtWoW6HohrH9Z6RLiOdXqfFYQOP6SNSf7HdlZEF/1 FFO7AiGNkbS3RDtlpO+BTE9s/zGDTAHZyqyLa8kIk8moECK4kB+1G19DmN9NDEk= =Cauh -----END PGP SIGNATURE-----