Date: Wed, 21 Jul 2021 11:58:58 +0200 From: Michael Gmelin <freebsd@grem.de> To: Gary Jennejohn <gljennjohn@gmail.com> Cc: Alexey Dokuchaev <danfe@freebsd.org>, Warner Losh <imp@bsdimp.com>, Niclas Zeising <zeising+freebsd@daemonic.se>, Michael Gmelin <freebsd@grem.de>, FreeBSD X11 <x11@freebsd.org> 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> <CANCZdfr3%2By1kD38qew1auBVicmdnKRAe1UqT8GaC35muxGpfhQ@mail.gmail.com> <20210716061708.6c791297@ernst.home> <20210716063539.12b35f80@ernst.home> <YPfVPNfy6OgqNf8e@FreeBSD.org> <20210721090159.1f883f33@ernst.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Jul 2021 11:01:59 +0200 Gary Jennejohn <gljennjohn@gmail.com> wrote: > On Wed, 21 Jul 2021 08:05:16 +0000 > Alexey Dokuchaev <danfe@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210721115858.1c78d2c2>