From nobody Thu Jul 15 10:27:52 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 CC10F1240C98 for ; Thu, 15 Jul 2021 10:27:54 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQVty0TZgz4bbb for ; Thu, 15 Jul 2021 10:27:53 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-ej1-x631.google.com with SMTP id qb4so8410563ejc.11 for ; Thu, 15 Jul 2021 03:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=705vrw8FuS+zPqMNJu+3QfA8tdUGxBGllKodwCK0kSU=; b=p79eyjmHkZ1CxAYaBD66LxAyQ5fsrwmc10uuOJiDh+ik2JeyYGV4hGgx52RO0oVb9q aVyTyBLdi/X+OSuD5E238TG2+J3LZ9+sZtn2PIzCUNxOsJEPr3dqyrBxB4Y5yukpiAUZ IMx/MDcB6gAn3u8kvwq2YuYG6N3JdXlkRbEL1lkP02Wncp8bF6jSzxsL2hm4jv/wsG9+ BoisHFI6KNRZPdZeRklF8D+EHiX5LDUVqEpJ8uBEIZQs1IZgs7isCnzq2lYo/bkFt7U2 uoy2IMAP6YxVwSGw+lqraRlBVtqXu3b1DVUXRK1o6gTMmlPZHYrSHUgHGkPLv9YIOEM2 u1QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=705vrw8FuS+zPqMNJu+3QfA8tdUGxBGllKodwCK0kSU=; b=H+xtJkpEQzEmH+1pMIR1kg7KObDXTKGPWcmxhLGrZi8/+TYYS8KKPcFH4ExSryPAMO 5YcGM9cJRuzm4F9RmhVyax13JJf7VifTpAh+s7YvbT9/r1DegWB1MUgHJ//QTXJTaCGJ WtOWS1Vs8bokoQP0CcOg3cp0z5UzenKIiuQZN6oRCNXzfMx32j6jBdUsGP5SJjyujkIF +YBA61Wcdv5GXc9d9YCenDGZ9NGojcelQugeyE0SR9Pr5oMjwACquTnDH6RVxKGevetR KHGI3fVcKU8EH31PQ8oC1voeM6xVSIvznkTDQK5wA/3XwBKFLVootglwViPHKL7aWfAP 9xyw== X-Gm-Message-State: AOAM532rIpc8byxpQEmqDTOurx+qq4JVv/EVMgOZSxHLV2UW2qScmMFo dlhenkdtPXWalpHeP011piP2+2gnJEo= X-Google-Smtp-Source: ABdhPJwHaZbWH0mob/Ue/NTmHmSLnp/r7/hbem0kN4It92UdRHYJ2oSJHgD+rcpWElH1I/HCAyXTVA== X-Received: by 2002:a17:906:b0d1:: with SMTP id bk17mr4751553ejb.59.1626344872714; Thu, 15 Jul 2021 03:27:52 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id n10sm2211166edw.70.2021.07.15.03.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 03:27:52 -0700 (PDT) Date: Thu, 15 Jul 2021 12:27:52 +0200 From: Gary Jennejohn To: Michael Gmelin Cc: x11@freebsd.org Subject: Re: mouse and keyboard fail to work with xorg-server-1.20.11_3,1 Message-ID: <20210715102752.6b8570fa@ernst.home> In-Reply-To: <20210714154404.03c32df6@ernst.home> References: <20210714140055.7ca49259@ernst.home> <20210714170444.08a7f1f4@bsd64.grem.de> <20210714154404.03c32df6@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GQVty0TZgz4bbb X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=p79eyjmH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::631 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::631:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.54.15:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::631:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::631:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[x11] X-ThisMailContainsUnwantedMimeParts: N 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. Now xorg-server starts up successfully. Thanks for the help! -- Gary Jennejohn