Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2018 20:29:22 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        Johannes Lundberg <johalun0@gmail.com>, Niclas Zeising <zeising@freebsd.org>, x11@freebsd.org
Subject:   Re: [CFT] changes and updates to x11 input devices
Message-ID:  <86h8m96s19.fsf@gmail.com>
In-Reply-To: <f6092216-e740-d429-49e0-0dc1d984ddf4@nomadlogic.org>
References:  <dbf6a804-887d-4683-c371-90785b76aa92@freebsd.org> <0dc5db04-736a-9ac9-c515-2b078b1ca74f@nomadlogic.org> <CAECmPwvOV4967Gjk83TftZyWqiskMAk_ww4ot6zueVP10g-ObQ@mail.gmail.com> <f6092216-e740-d429-49e0-0dc1d984ddf4@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Pete Wright writes:

> On 06/10/2018 23:02, Johannes Lundberg wrote:
>>
>>
>> On Sun, Jun 10, 2018 at 9:58 PM Pete Wright <pete@nomadlogic.org
>> <mailto:pete@nomadlogic.org>> wrote:
>>
>>
>>
>>     On 06/10/2018 00:01, Niclas Zeising wrote:
>>     > Hi!
>>     > I've been working for a little while on incorporating the various
>>     > patches floating around for changes and updates to xorg input
>>     drivers,
>>     > mostly related to libinput. The result can be found here, in
>>     the x11
>>     > team development repo:
>>     >
>>     > https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input
>>     >
>>     > It contains upates to libinput, libeevdev, libwacom,
>>     > xf86-input-libinput and dependencies.
>>     >
>>     > Please help me in testing this as much as possible, so that we can
>>     > land it in the ports system
>>     >
>>     > The branch above is a complete ports tree, so you can use it to
>>     build
>>     > from, or to point poudriere at it. Please test various input
>>     devices,
>>     > synaptics touchpads, wacom devices and so on. Both success and
>>     > failure stories are interesting.
>>
>>
>>     i haven't had any issues installing pkgs via this branch. one
>>     question
>>     tho - i believe to make use of libevdev it requires a kernel built
>>     with
>>     evdev support correct? if that is so - is there a specific patchset
>>     that should be used?
>>
>>     i tested out evdev a while ago - but am not sure the patchset i have
>>     laying around is the correct one.
>>
>>
>> Hi
>>
>> For evdev simply add to your kernel config
>>
>> options  EVDEV_SUPPORT
>> device  evdev
>>
>
> oh awesome - didn't realize it had been upstreamed. thanks johannes!
> -pete

Don't forget to set the sysctl. I have this in my /etc/sysctl.conf

# define        EVDEV_RCPT_SYSMOUSE     (1<<0)
# define        EVDEV_RCPT_KBDMUX       (1<<1)
# define        EVDEV_RCPT_HW_MOUSE     (1<<2)
# define        EVDEV_RCPT_HW_KBD       (1<<3)

# Legacy mode
#kern.evdev.rcpt_mask=3

# Libinput and friends
kern.evdev.rcpt_mask=12



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86h8m96s19.fsf>