[Bug 252236] atp(4): Need EVDEV support for modern input stack

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 May 2021 21:33:39 UTC

--- Comment #43 from Vladimir Kondratyev <wulf@freebsd.org> ---
(In reply to Constantin F├╝rst from comment #42)
> The patch works flawlessly. Tracking, specifically scrolling, extraordinarily well. Thank you!

It is great to know that it works. As this patch contains 2 drivers, it is
necessary to test both of them. Please do following steps:

1. Remove atp, wsp, usp and hidraw drivers from kernel config and ensure that
'device evdev' and 'options EVDEV_SUPPORT' lines are here.
2. Apply patch and rebuild kernel.
3. Test wsp(4). To do that add 'wsp_load="YES"' to /boot/loader.conf and
4. Test bcm5974(4). To do that replace previously added 'wsp_load="YES"' with
'usbhid_load="YES"' and 'hw.usb.usbhid.enable=1' lines and reboot again.

It is enough to check that tested driver is appeared as properly attachjed in
console output during boot and is handled by evdev/libinput.

To do the latter check /var/log/Xorg.0.log file for presence of following line:
Using input driver 'libinput' for 'My Apple trackpad name',
and run 'libinput debug-events' or evdev-record from devel/evemu to test
incoming input events

You are receiving this mail because:
You are the assignee for the bug.