Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 22:50:52 +0100
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        Andreas Nilsson <andrnils@gmail.com>
Cc:        FreeBSD X11 mailing list <freebsd-x11@freebsd.org>
Subject:   Re: libepoll-shim breaks evdev input
Message-ID:  <d99b849f-fd49-5a9b-4d59-fba34de972c9@daemonic.se>
In-Reply-To: <CAPS9%2BSvk6zWW6j=-=QiupiMrCQL7ssMO%2BsxzgEotf37rcyB0%2BQ@mail.gmail.com>
References:  <CAPS9%2BSudWW6giueOfONt8uqLsnnxABBN1-UOHA6rBZP%2BVvrYVw@mail.gmail.com> <be754c12-dd52-cf83-33c5-61ff8aa3a3df@daemonic.se> <CAPS9%2BSuXPVUsp-97obuyiH8ZXaJ2Z%2BrvFp1ekuRBez_iZBm0kQ@mail.gmail.com> <eba473fb-ecac-d475-3f34-0e229eb60024@daemonic.se> <CAPS9%2BSv3iykd2%2BHDasz6m%2BY6JS950nfLCrkV=Me5MSTPoMc-cw@mail.gmail.com> <47ecce40-b00e-4f93-5b6c-72c62f56e4f9@daemonic.se> <CAPS9%2BStc=k%2B1UOeqYBcvuPFZ8WoFrCq=QhJhuL-7xCPtMyLF-A@mail.gmail.com> <CAPS9%2BSvk6zWW6j=-=QiupiMrCQL7ssMO%2BsxzgEotf37rcyB0%2BQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/30/18 7:01 PM, Andreas Nilsson wrote:
>=20
>=20
> On Sun, Dec 30, 2018 at 6:12 PM Andreas Nilsson <andrnils@gmail.com=20
> <mailto:andrnils@gmail.com>> wrote:
>=20
>=20
>=20
>     On Sun, Dec 30, 2018 at 12:15 PM Niclas Zeising
>     <zeising+freebsd@daemonic.se <mailto:zeising%2Bfreebsd@daemonic.se>=
>
>     wrote:
>=20
>         On 12/29/18 11:33 PM, Andreas Nilsson wrote:
>          >
>          >
>          > On Sat, Dec 29, 2018 at 11:17 PM Niclas Zeising
>          > <zeising+freebsd@daemonic.se
>         <mailto:zeising%2Bfreebsd@daemonic.se>
>         <mailto:zeising%2Bfreebsd@daemonic.se
>         <mailto:zeising%252Bfreebsd@daemonic.se>>> wrote:
>          >
>          >=C2=A0 =C2=A0 =C2=A0On 12/29/18 11:06 PM, Andreas Nilsson wro=
te:
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 > On Sat, Dec 29, 2018 at 10:19 PM Nicla=
s Zeising
>          >=C2=A0 =C2=A0 =C2=A0 > <zeising+freebsd@daemonic.se
>         <mailto:zeising%2Bfreebsd@daemonic.se>
>          >=C2=A0 =C2=A0 =C2=A0<mailto:zeising%2Bfreebsd@daemonic.se
>         <mailto:zeising%252Bfreebsd@daemonic.se>>
>          >=C2=A0 =C2=A0 =C2=A0<mailto:zeising%2Bfreebsd@daemonic.se
>         <mailto:zeising%252Bfreebsd@daemonic.se>
>          >=C2=A0 =C2=A0 =C2=A0<mailto:zeising%252Bfreebsd@daemonic.se
>         <mailto:zeising%25252Bfreebsd@daemonic.se>>>> wrote:
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0On 12/28/18 3:10 PM=
, Andreas Nilsson wrote:
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > Hello,
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > On both my lapto=
p and workstation running
>         FreeBSD 13.0-CURRENT
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > 0b666203a28(mast=
er) the upgrade of libepoll-shim:
>          >=C2=A0 =C2=A0 =C2=A00.0.20161220_1 ->
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > 0.0.20180530 bre=
aks evdev input.
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > I have xorg-serv=
er port make patched to use the
>         udev
>          >=C2=A0 =C2=A0 =C2=A0backend, but
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0with new
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > epoll-shim those=
 device entries does not turn
>         up in /dev/input
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > If I run xorg-se=
rver from ports with
>          >=C2=A0 =C2=A0 =C2=A0libepoll-shim-0.0.20180530 input
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > works, but only =
old style kbdmux and sysmouse.
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 > Has something ch=
anged on how to get evdev input
>         running?
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Hi!
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0I just updated the =
libepoll-shim port, can you
>         test the
>          >=C2=A0 =C2=A0 =C2=A0updated version?
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Thanks!
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Regards
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0--
>          >=C2=A0 =C2=A0 =C2=A0 >=C2=A0 =C2=A0 =C2=A0Niclas
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 > Hello!
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >=C2=A0 =C2=A0 =C2=A0 > libepoll-shim-0.0.20181229 works! Grea=
t work, thank you!
>          >=C2=A0 =C2=A0 =C2=A0 >
>          >
>          >=C2=A0 =C2=A0 =C2=A0Glad it works!
>          >=C2=A0 =C2=A0 =C2=A0Sorry for the initial breakage.
>          >=C2=A0 =C2=A0 =C2=A0Regards!
>          >=C2=A0 =C2=A0 =C2=A0--
>          >=C2=A0 =C2=A0 =C2=A0Niclas
>          >
>          >
>          > Thanks for the rapid fix of the problem! Now I just need to
>         find why my
>          > touchpad is recognized as
>          > config/udev: Adding input device Generic PS/2 mouse
>         (/dev/input/event3)
>          > On a identical device running opensuse it is identified as
>          > config/udev: Adding input device SynPS/2 Synaptics TouchPad
>          >
>          > But that is another thread I think.
>=20
>         You can try setting
>         hw.psm.synaptics_support=3D1
>         in /boot/loader.conf and reboot the system, and see if the
>         touchpad is
>         detected as a synaptics.
>         Regards
>         --=20
>         Niclas
>=20
>=20
>     Hello,
>=20
>     It does indeed get listed as SynPS/2 Synaptics TouchPad after
>     setting that loader tunable. I thouht those=20
>     hw.psm.(synaptics|elantech)_support was just for basic touchpad
>     stuff for sysmouse.
>=20
>     However xorg still wont play: synaptics: SynPS/2 Synaptics TouchPad=
:
>     Synaptics driver unable to detect protocol.
>=20
>     Thanks for helping me getting this far!
>=20
>     Best regards
>     Andreas
>=20
>=20
>=20
> Also, there is a very very annoying thing that happens when setting=20
> either hw.psm.(synaptics|trackpoint)_support=3D1 which is that=20
> periodically, as in several times a minute, X freezes for a few seconds=
=20
> which is very hard to work with. It happend even before trying out the=20
> evdev stuff.
>=20

I have never noticed this issue myself.  Is anything reported in any logs=
?
Regards
--=20
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d99b849f-fd49-5a9b-4d59-fba34de972c9>