Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2015 19:25:18 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>, Hans Petter Selasky <hps@selasky.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Garrett Cooper <ngie@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: svn commit: r278249 - head/etc/rc.d
Message-ID:  <54D409EE.4060803@FreeBSD.org>
In-Reply-To: <4420090.M6QKUcdgdg@ralph.baldwin.cx>
References:  <201502051138.t15BcUlj070663@svn.freebsd.org> <2710446.umAevmagdU@ralph.baldwin.cx> <54D3EA24.9070501@selasky.org> <4420090.M6QKUcdgdg@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/05/2015 18:26, John Baldwin wrote:
> 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
>>> 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 <jhb@freebsd.org>
>>>>>> 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".
> 
> USB mice get moused instances via devd which checks a different
> variable as jkim@ noted.  moused_enable only controls the PS/2
> moused (on x86).

Actually, default moused can work with any device, e.g,

moused_enable="YES"
moused_nondefault_enable="NO"
moused_port="/dev/ums0"

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJU1AnoAAoJEHyflib82/FGM8QH/i6P93ylRTkuhyuzyGmbvtMo
4IQG3B2EEmWjdrmX4rRFV8Mh8g8renDhp77VrYG8DD1dO519WCYtHJZfvFGECVkA
6EV2luqdOwioYWV9AbPoju2LDE241wkC0d4b3nocjqMDdUSmitIMQiC/lMx0o7A+
YAPYY/tq+ZU7rJXHmUTol89zD6M1b+MFK6nfKbnTP1ciJwzHWxq2gsmsL5GHQqnU
rSFs3p+dgrg0HTzaq6elr+yt4xcEQN0V6rQGsZ+R7C9W0MEjNc+eJNiRpM6O8GrG
mFsH8Bvp6P+Qr0akY4SKGTZjyijC7pEA4vNNM5boEme/+lA+leJcvw14VRTw9nw=
=aWI+
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D409EE.4060803>