From owner-freebsd-x11@freebsd.org Mon Jun 11 19:29:29 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCAC8100D12F for ; Mon, 11 Jun 2018 19:29:28 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5A56C78683 for ; Mon, 11 Jun 2018 19:29:28 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 168D8100D12E; Mon, 11 Jun 2018 19:29:28 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6864100D12D for ; Mon, 11 Jun 2018 19:29:27 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F04A78681; Mon, 11 Jun 2018 19:29:27 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi0-x242.google.com with SMTP id t22-v6so18956684oih.6; Mon, 11 Jun 2018 12:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=RfNbX4+ZF7fQ6jU5sXQG3DZzAsgGCoIAJBvxOrMdvz4=; b=PpEGFo0lnrk0oGWGhmpIRLhHW4GJrzrFxOyvxlFizItmwqV+fBYTl3+u03rxZBIx+4 f5WgtKg91Y0eEANJn9YUNtRbfTLkpKQ9bUPkuksOyRwnC1s4becouO/K+V5jBp25J3YQ pnHp6AVwIE0T7jq971hsfVxKexhyJxDtCAdo+kge/aTBy9HV3J3oexXJO8SAHpBMRIDm FfcqNlJC4rXqVmWRno2U7Z2Mt0UUEolp+jmNvxCmV/v6AbXb0HQ2ZUfiHLl0bCDF5Sdp d/M2yb2GRETzlA/7KOh9owfVEqZSz7XD8RFH5wlB/8njekfPSbGCGeZ33XifjldK3241 Zrpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=RfNbX4+ZF7fQ6jU5sXQG3DZzAsgGCoIAJBvxOrMdvz4=; b=g0gKIjRNVJ8v0bzsvbuyh4Rfrf0DPNP4fDp+UIbTNgsXA4IJ38dKsJmo4BRUe+2pNe 3AGDJpHAYjxsUoXiBMAv/eOed3ABUm/bsPAZMxLhHQyqq2tlY35XFHyl4AoCsZ0FMuKe 5l1idapkfwKcPVm3ysnvh1YzZyL5kC6kWIld2Qw8LqqOeMxkwzjH80apFjC1MTXKxHT7 /ONzrovKyyKuHmsg8+bus2DB2CgoaQ4QqW9bs2duHFp2jZjgj2ShwnyVhR006pzLS5zd bEz+NpVE4flGH/ClVS4wuCWHdjmVnJMTIqZtzFvEpWhwc+JmSAgrWE2L8YO/0JmRWHru +P9A== X-Gm-Message-State: APt69E2pwKxE5cxgke2aWzYwBTs/gaUFflQya/s8H4dTv6fHKfRwuVzs S9hFE1xD/L+RxpSso0BoS5IswA== X-Google-Smtp-Source: ADUXVKIO0cUmWBuuvskrch9gnSDAD877YHuDsz845N+HAoi52i0H/vjCpNEeGOsBTEE+2lIIdTQmTw== X-Received: by 2002:aca:55c6:: with SMTP id j189-v6mr268034oib.53.1528745366560; Mon, 11 Jun 2018 12:29:26 -0700 (PDT) Received: from jd.gmail.com ([81.174.250.12]) by smtp.gmail.com with ESMTPSA id u53-v6sm20539341ota.58.2018.06.11.12.29.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jun 2018 12:29:25 -0700 (PDT) References: <0dc5db04-736a-9ac9-c515-2b078b1ca74f@nomadlogic.org> User-agent: mu4e 1.0; emacs 25.3.1 From: Johannes Lundberg To: Pete Wright Cc: Johannes Lundberg , Niclas Zeising , x11@freebsd.org Subject: Re: [CFT] changes and updates to x11 input devices In-reply-to: Date: Mon, 11 Jun 2018 20:29:22 +0100 Message-ID: <86h8m96s19.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 19:29:29 -0000 Pete Wright writes: > On 06/10/2018 23:02, Johannes Lundberg wrote: >> >> >> On Sun, Jun 10, 2018 at 9:58 PM Pete Wright > > 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