Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 19:01:57 +0100
From:      Andreas Nilsson <andrnils@gmail.com>
To:        Niclas Zeising <zeising+freebsd@daemonic.se>
Cc:        FreeBSD X11 mailing list <freebsd-x11@freebsd.org>
Subject:   Re: libepoll-shim breaks evdev input
Message-ID:  <CAPS9%2BSvk6zWW6j=-=QiupiMrCQL7ssMO%2BsxzgEotf37rcyB0%2BQ@mail.gmail.com>
In-Reply-To: <CAPS9%2BStc=k%2B1UOeqYBcvuPFZ8WoFrCq=QhJhuL-7xCPtMyLF-A@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 30, 2018 at 6:12 PM Andreas Nilsson <andrnils@gmail.com> wrote:

>
>
> On Sun, Dec 30, 2018 at 12:15 PM Niclas Zeising <
> zeising+freebsd@daemonic.se> wrote:
>
>> 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>>
>> wrote:
>> >
>> >     On 12/29/18 11:06 PM, Andreas Nilsson wrote:
>> >      >
>> >      >
>> >      > On Sat, Dec 29, 2018 at 10:19 PM Niclas Zeising
>> >      > <zeising+freebsd@daemonic.se
>> >     <mailto:zeising%2Bfreebsd@daemonic.se>
>> >     <mailto:zeising%2Bfreebsd@daemonic.se
>> >     <mailto:zeising%252Bfreebsd@daemonic.se>>> wrote:
>> >      >
>> >      >     On 12/28/18 3:10 PM, Andreas Nilsson wrote:
>> >      >      > Hello,
>> >      >      >
>> >      >      > On both my laptop and workstation running FreeBSD
>> 13.0-CURRENT
>> >      >      > 0b666203a28(master) the upgrade of libepoll-shim:
>> >     0.0.20161220_1 ->
>> >      >      > 0.0.20180530 breaks evdev input.
>> >      >      >
>> >      >      > I have xorg-server port make patched to use the udev
>> >     backend, but
>> >      >     with new
>> >      >      > epoll-shim those device entries does not turn up in
>> /dev/input
>> >      >      >
>> >      >      > If I run xorg-server from ports with
>> >     libepoll-shim-0.0.20180530 input
>> >      >      > works, but only old style kbdmux and sysmouse.
>> >      >      >
>> >      >      > Has something changed on how to get evdev input running?
>> >      >      >
>> >      >
>> >      >     Hi!
>> >      >     I just updated the libepoll-shim port, can you test the
>> >     updated version?
>> >      >     Thanks!
>> >      >     Regards
>> >      >     --
>> >      >     Niclas
>> >      >
>> >      >
>> >      > Hello!
>> >      >
>> >      > libepoll-shim-0.0.20181229 works! Great work, thank you!
>> >      >
>> >
>> >     Glad it works!
>> >     Sorry for the initial breakage.
>> >     Regards!
>> >     --
>> >     Niclas
>> >
>> >
>> > 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.
>>
>> You can try setting
>> hw.psm.synaptics_support=1
>> in /boot/loader.conf and reboot the system, and see if the touchpad is
>> detected as a synaptics.
>> Regards
>> --
>> Niclas
>>
>
> Hello,
>
> It does indeed get listed as SynPS/2 Synaptics TouchPad after setting that
> loader tunable. I thouht those  hw.psm.(synaptics|elantech)_support was
> just for basic touchpad stuff for sysmouse.
>
> However xorg still wont play: synaptics: SynPS/2 Synaptics TouchPad:
> Synaptics driver unable to detect protocol.
>
> Thanks for helping me getting this far!
>
> Best regards
> Andreas
>


Also, there is a very very annoying thing that happens when setting either
hw.psm.(synaptics|trackpoint)_support=1 which is that periodically, as in
several times a minute, X freezes for a few seconds which is very hard to
work with. It happend even before trying out the evdev stuff.

Best regards
Andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSvk6zWW6j=-=QiupiMrCQL7ssMO%2BsxzgEotf37rcyB0%2BQ>