Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2021 13:18:56 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Niclas Zeising <zeising+freebsd@daemonic.se>
Cc:        Gary Jennejohn <gljennjohn@gmail.com>, 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:  <CANCZdfr3%2By1kD38qew1auBVicmdnKRAe1UqT8GaC35muxGpfhQ@mail.gmail.com>
In-Reply-To: <5746ba5f-5788-ff5d-a620-9b481806b464@daemonic.se>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000054754405c72e5860
Content-Type: text/plain; charset="UTF-8"

On Thu, Jul 15, 2021 at 1:14 PM Niclas Zeising <zeising+freebsd@daemonic.se>
wrote:

> On 2021-07-15 12:27, Gary Jennejohn wrote:
> > On Wed, 14 Jul 2021 17:44:04 +0200
> > Gary Jennejohn <gljennjohn@gmail.com> wrote:
> >
> >> On Wed, 14 Jul 2021 17:04:44 +0200
> >> Michael Gmelin <freebsd@grem.de> wrote:
> >>
> >>> On Wed, 14 Jul 2021 16:00:55 +0200
> >>> Gary Jennejohn <gljennjohn@gmail.com> 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.
>

I asked these questions in private earlier today. Lemme summarize
the email thread...

He wasn't sure if setting the rcpt_mask fixed it, or adding
xf86-input-libinput-0.30.0_1 and xf86-input-evdev-2.10.6_6 ports. He got
here by
adding a number of ports and having a FreeBSD 13 -> 14 ABI forced
upgrade. I think that there's nothing obvious in his setup that
we could fix.

Warner

--00000000000054754405c72e5860--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr3%2By1kD38qew1auBVicmdnKRAe1UqT8GaC35muxGpfhQ>