From owner-svn-src-head@FreeBSD.ORG Thu Feb 5 23:26:06 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08E68760; Thu, 5 Feb 2015 23:26:06 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2E7BE38; Thu, 5 Feb 2015 23:26:05 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5AC54B949; Thu, 5 Feb 2015 18:26:04 -0500 (EST) From: John Baldwin To: Hans Petter Selasky Subject: Re: svn commit: r278249 - head/etc/rc.d Date: Thu, 05 Feb 2015 18:26:02 -0500 Message-ID: <4420090.M6QKUcdgdg@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: <54D3EA24.9070501@selasky.org> References: <201502051138.t15BcUlj070663@svn.freebsd.org> <2710446.umAevmagdU@ralph.baldwin.cx> <54D3EA24.9070501@selasky.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 05 Feb 2015 18:26:04 -0500 (EST) 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 23:26:06 -0000 On Thursday, February 05, 2015 11:09:40 PM 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 wrot= e: > >> 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 > >>>>>>=20 > >>>>>> Log: > >>>>>> Honor the following flags with the following rc.d scripts f= or > >>>>>> services > >>>>>>=20 > >>>>>> that can be easily decoupled from the boot process without dis= rupting > >>>>>> other > >>>>>> services > >>>>>>=20 > >>>>>> - MK_APM && MK_ACPI: powerd > >>>>>> - MK_BOOTPARAMD: bootparams > >>>>>> - MK_FTP: ftpd > >>>>>> - MK_INETD: inetd > >>>>>> - MK_LEGACY_CONSOLE: moused, syscons > >>>>>=20 > >>>>> I'm using moused with vt(4). It is not syscons-specific. > >>>>=20 > >>>> Unfortunately it is LEGACY_CONSOLE specific right now: > >>>>=20 > >>>> 183242 sam # XXX MK_SYSCONS > >>>> 183242 sam .if ${MK_LEGACY_CONSOLE} !=3D "no" > >>>> 212525 imp SUBDIR+=3D kbdcontrol > >>>> 212525 imp SUBDIR+=3D kbdmap > >>>> 212525 imp SUBDIR+=3D moused > >>>> 212525 imp SUBDIR+=3D vidcontrol > >>>> 183242 sam .endif > >>>>=20 > >>>> This will probably need to change to be inclusive of MK_VT, but = I need > >>>> to > >>>> doublecheck the sources to make sure there aren=E2=80=99t any as= sumptions > >>>> lurking > >>>> in moused that explicitly require syscons in order to function..= . > >>>=20 > >>> Eh, which part of "I'm running moused for a trackpad on my Thinkp= ad that > >>> I > >>> use with vt(4) both in and out of X" doesn't =3D=3D "it works wit= h vt(4), > >>> not > >>> just sc(4)"? :) > >>=20 > >> Hi, > >>=20 > >> Here is patch to make X work without moused among other stuff: > >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196678 > >=20 > > I _like_ moused. I can hotplug USB mice while in X and it works ju= st 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 ho= tplug). >=20 > Hi John, >=20 > We are trying to move away from HAL and to devd :-) >=20 > 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=3D"YES" in /etc/rc.conf . Then Xor= g > should not try to grab /dev/umsX . Only if moused_enable!=3D"YES". USB mice get moused instances via devd which checks a different variabl= e as=20 jkim@ noted. moused_enable only controls the PS/2 moused (on x86). --=20 John Baldwin