From nobody Wed Jul 21 08:05:16 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 93FB512B9F71 for ; Wed, 21 Jul 2021 08:05:16 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GV7Rc2pw4z4ZQh; Wed, 21 Jul 2021 08:05:16 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1626854716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jkYz5dToL0iQPYUgjo0YWq/hnqU4hsihEtSiimRyoH8=; b=dPBGoPaSlRjjfQfp1jvWCSTTJp5O0SiR2zIhXyiqipQJBVgPJrgKmSp/RHcz0A4QWJrG2P C9kEkClf2kBsvWOqQK2MJUGLwA9NDOf49dJ589Mhvnw8gwEBkL0xQPdPWuNJFESBtN9Op8 4Ku7Bfx3dFeDy9CuJadCmos/+fX6WqXpdB1dwe6YMXw2xyXEGNV6Mga7S8Y7Xg+8p9qxaZ W/mvM2tT7JenuaFTcTaok2CZPnUbP6SJPESG0Oy8hY4WjqTiPN1ya+6KelfEyg2b6plSX8 pailmzT7rKAHETPkoLM/KnD09XVXXh8RMa8TQ/UoUZxXWpgZyN1KOG6QC74D4Q== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 47D6E19714; Wed, 21 Jul 2021 08:05:16 +0000 (UTC) Date: Wed, 21 Jul 2021 08:05:16 +0000 From: Alexey Dokuchaev To: Gary Jennejohn Cc: 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: 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> 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-Disposition: inline In-Reply-To: <20210716063539.12b35f80@ernst.home> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1626854716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jkYz5dToL0iQPYUgjo0YWq/hnqU4hsihEtSiimRyoH8=; b=Bvg+ejkNhYMrcrl1bcfxBMwFh5NYyOCdntYBcIUqabYCNoFq/593989rJlHrCa4nzeDS9Y yOHXpbYMJX8WaufWeBJtnNhh/jYWHWrbZGz8UjXtRGfrml+bVdXM6YI2WoA4b3fakbdeVK 3R4U4x6P78e51mW7KtTi2aHMcsUz+MXsAd0GDdSCQBfiFU8CsPWL5EgsQ8SRWzKtFTYYU3 aEblMKojpxPdnEClgViFhmM5QvUW5PtTPqC1zIji+8VnAhiFlegRRQsX4NYbecoQfiWo3S jOGtitFAeTt3vvUFHZu2CA2l1FNPeDi5GY1zThEVYT+Q7yp2Df/rY5B/LHT2GA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1626854716; a=rsa-sha256; cv=none; b=LTMv8jIXA4eXJdfu+f7eeN+pckm/9XFEyanbaWOfrqZepI3WdB5+iOHbJj9sddOnqeAqdW Ux2diPMGQBs8RoQEbrkWr5ysWWgDdNmTPFOy6FJlRMhj2Fi5IcB4hy7qruogoL3hsuF45n 8tkUz8gsDq/OI33IoXHytxN4eprGIpPNfmB4skrmFBPoujCjPwM3EpcV76oSpODFpFKwWN ea75dm+228bp40OgrKUyzW3qq0MUtLmvncd1y19pBBwmq/j9H1pLm36ksAwMk5pk3Uf64c XGa2g9yOX9sqTjPkkUYAYeapCi0qutD8EZf+far2A5r4du6ptshG+t7AwhlaOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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). 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. ./danfe *) https://docs.freebsd.org/cgi/getmsg.cgi?fetch=2288058+0+archive/2017/svn-ports-head/20170924.svn-ports-head