From nobody Wed Jul 21 09:58:58 2021 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0545712AB12E for ; Wed, 21 Jul 2021 09:59:29 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GV9zN4PPgz4vsX; Wed, 21 Jul 2021 09:59:28 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id f0383be5; Wed, 21 Jul 2021 09:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=R++0kk5Q YVI7DmiHjVIHmWbRFCE=; b=YtDfa5rtEK2tSRe9W3ND+vSPXWztSa7txY+YkEAC wXNA7nQLx4vjSBOEu9hM5DG/zVKuwI73shgD3mA4DXNOxs2uKavI8E10j6XbROm0 d5eyZoSiGmuKOXo9VFM/SpaDWtAi7iwnhASgaYnl2onQ2+Ba5/U1CxHxsGFFwoJS jiWlUfopkqIBrtktUkvRkMWl8mmzxgnusIf5BvHieKynMea9DJUYngv8Ys3r1srS V8WKg9G7ET+ZSYr6kKIGF09FiBBsEieTqiYYktQbHzu5/nptVBx7Htsl5QWeBzIf UKU2f8tdkKEhHwG3Hg16kfT5acVn3K3LMDEekxB1LslFCg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=cw 4hvAl3AFyNdFnpfGAzs23PwuNYFW8OFmOG5bieG2PrFtfmnF+FakJqC4apCyjWrs uAN3MzGMGhzJRdfejz9+S0C7Dtnr4lBjvTW1RTw/xjJzRRKgrU2gs06q6XTi94Xf d740KvDIWTgF6szrhC8MdPsqqxKeU/T/nHEU/2zv3UzMmg3nKm9zuLuV4F/ENNEM PfA1so1pD/rKqqX7kQFISNu7D1fUOy768BMhkcwJBR2yi0TRf9T6OZPq5UsZR7OT ugWqSGv/bCPaJMAa7OwxLpEbMsCC8rJxpqjeb+ee4UHbypKTDcLVP9JAn7tg9Tbo SwDoSo0waHqs0FEkyh6w== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 7bd17297 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Wed, 21 Jul 2021 09:59:16 +0000 (UTC) Date: Wed, 21 Jul 2021 11:58:58 +0200 From: Michael Gmelin To: Gary Jennejohn Cc: Alexey Dokuchaev , Warner Losh , Niclas Zeising , Michael Gmelin , FreeBSD X11 Subject: Re: mouse and keyboard fail to work with xorg-server-1.20.11_3,1 Message-ID: <20210721115858.1c78d2c2@bsd64.grem.de> In-Reply-To: <20210721090159.1f883f33@ernst.home> References: <20210714140055.7ca49259@ernst.home> <20210714170444.08a7f1f4@bsd64.grem.de> <20210714154404.03c32df6@ernst.home> <20210715102752.6b8570fa@ernst.home> <5746ba5f-5788-ff5d-a620-9b481806b464@daemonic.se> <20210716061708.6c791297@ernst.home> <20210716063539.12b35f80@ernst.home> <20210721090159.1f883f33@ernst.home> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GV9zN4PPgz4vsX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[freebsd]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On Wed, 21 Jul 2021 11:01:59 +0200 Gary Jennejohn wrote: > On Wed, 21 Jul 2021 08:05:16 +0000 > Alexey Dokuchaev wrote: > > > On Fri, Jul 16, 2021 at 08:35:39AM +0200, Gary Jennejohn wrote: > > > > ... > > > > To clarify things somewhat, I deleted both ports today and then > > > > no longer had the mouse and keyboard after starting xorg-server. > > > > > > > > Re-installing xf86-input-libinput-0.30.0_1 while keeping > > > > kern.evdev.rcpt_mask set to 6 got me back the mouse and > > > > keyboard. > > > > > > > > Whether using the default of 12 for kern.evdev.rcpt_mask works I > > > > haven't tried. But I have kbdmux in my kernel config file, so I > > > > think 6 is the right setting for me. > > > > > > Using kern.evdev.rcpt_mask=12 still works, so it was the missing > > > xf86-input-libinput-0.30.0_1 which caused my problems. > > > > Another solution is to disable these newish input shenanigans and > > just use good ol' xf86-input-keyboard and xf86-input-mouse drivers, > > works like a charm for me (and no dances with kern.evdev.rcpt_mask > > required). No dance required, as the default has been so that it just works for a while now (so you install FreeBSD 13 and do "pkg install xorg", everything just works out of the box). It's the opposite now, you need to tweak kern.evdev.rcpt_mask now to get old input methods working (e.g., when using ancient serial mice, you need to set it to 3). > > However, it could be useful to see if this new X.org > > input model would fix the regressions in Quake2 movement* I have > > reported back in 2017 and which were still unfixed last time I've > > tried to play the game. > > > > These were the first things I installed. Still didn't work with the > xorg-server installed by pkg. With kern.evdev.rcpt_mask=12 (the default setting), only mouse hardware and keyboard hardware are receiving events. It might have worked if you changed it to 6 (to get keyboard) or 3 (to get keyboard and mouse). But not really relevant for you anymore, as you have a working setup now. > > I considered building the port myself and disabling various options, > but in my experience that's an enormous PITA and generally ends with > great frustration and lots of hair pulling rather than a usable > binary. > > It would be nice if there were versions of xorg-server with and > without the dependency on libinput in the pkg repository, but that > would simply increase the already high load on the servers and > custodians. For better or worse, upstream development is focused on libinput and many modern devices only work with it to their full potential. So, unless you have some old beloved piece of hardware that isn't supported and absolutely requires the classic way of doing things, there is no point in making your life harder by not using it. -m -- Michael Gmelin