From nobody Thu Jul 15 19:14:09 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 3743A8D2336 for ; Thu, 15 Jul 2021 19:14:20 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQkZN0DJWz3Pnd for ; Thu, 15 Jul 2021 19:14:19 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4GQkZD6ym5zQyVt; Thu, 15 Jul 2021 19:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1626376452; bh=GEhbX9CSxwmuH8KnwHjwdbAF cCUC8yY5QJQK3uG8FrU=; b=XHuphk8MjkxOx9LT1gYruRwtJMd6ubj7CgVka3IG rVuswJ2rx+tlaHr5xvSyxbxev65Py6A5oYM5Vyxzga5MspmkY1Lv2Lj1AfoCFZbV s/ifcYBHNVVwTNhg9I5cwOdCVF+CTRo8sb0UAUVuV1LLXssynIx56Z9ow5i0Om+L vvU= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id qDIObvGz1AIY; Thu, 15 Jul 2021 19:14:12 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:1201:dce8:6285:18ad:9ef0]) by mail.daemonic.se (Postfix) with ESMTPSA id 4GQkZC58qQzQyVr; Thu, 15 Jul 2021 19:14:11 +0000 (UTC) Subject: Re: mouse and keyboard fail to work with xorg-server-1.20.11_3,1 To: gljennjohn@gmail.com, Michael Gmelin Cc: x11@freebsd.org References: <20210714140055.7ca49259@ernst.home> <20210714170444.08a7f1f4@bsd64.grem.de> <20210714154404.03c32df6@ernst.home> <20210715102752.6b8570fa@ernst.home> From: Niclas Zeising Message-ID: <5746ba5f-5788-ff5d-a620-9b481806b464@daemonic.se> Date: Thu, 15 Jul 2021 21:14:09 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 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 In-Reply-To: <20210715102752.6b8570fa@ernst.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GQkZN0DJWz3Pnd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd] X-ThisMailContainsUnwantedMimeParts: N On 2021-07-15 12:27, Gary Jennejohn wrote: > On Wed, 14 Jul 2021 17:44:04 +0200 > Gary Jennejohn wrote: > >> On Wed, 14 Jul 2021 17:04:44 +0200 >> Michael Gmelin wrote: >> >>> On Wed, 14 Jul 2021 16:00:55 +0200 >>> Gary Jennejohn wrote: >>> >>>> So, I made the mistake of updating firefox today, which resulted in a >>>> forced installation of xorg-server-1.20.11_3,1. >>>> >>>> Unfortunately, neither the keyboard nor the mouse worked, even after I >>>> pkg installed xf86-input-keyboard-1.9.0_4 and >>>> xf86-input-mouse-1.9.3_3. >>>> >>>> Luckily, I had a full backup of /usr/local which I could restore to >>>> get a working Xorg. >>>> >>>> Still, it seems rather strange that both the keyboard and mouse >>>> stopped working even after I installed the supposedly relevant >>>> drivers. >>>> >>>> Or maybe those aren't the correct drivers? >>> >>> They aren't, xorg moved to libinput. Maybe all you need is: >>> >>> pkg install xf86-input-libinput >>> >>>> >>>> So, does anyone know what I have to do to get a working keyboard and >>>> mouse with the new xorg-server? >>>> >>> >>> Depends on your version of the OS/installed packages. If installing >>> libinput won't do the trick, you could try a little tool I wrote last >>> year to help debugging Xorg's config after the migration. It's probably >>> a bit outdated at this point: >>> https://github.com/grembo/xorg-udev-setup-check >>> >>> See also: >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 >>> Google: kern.evdev.rcpt_mask domain:lists.freebsd.org >>> >> >> Thanks, but as I reported in a follow-up post I got it working. >> >> And libinput was already installed. >> > > That was a fluke. When I tried to start Xorg 1.20.11 today the > mouse and keyboard didn't work. I have no idea why it all of > a sudden worked yesterday but not today. I ran Xorg -version > yesterday to verify that the new server was really running. > > Thanks to your shell script I found out that two libraries were > missing, something which I would expect to be automatically taken > care of by an update of xorg-server. So I installed them (thanks to > pkg). > > I also changed kern.evdev.rcpt_mask to 6, as recommended by your > fantastic script. Which libraries were missing? kern.evdev.rcpt_mask should be 12, it is the default of all supported FreeBSD versions which use evdev. Regards -- Niclas