Bug 273537 - x11-drivers/xf86-input-synaptics: should default to EVDEV enabled on FreeBSD 15
Summary: x11-drivers/xf86-input-synaptics: should default to EVDEV enabled on FreeBSD 15
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-03 04:06 UTC by Taku YAMAMOTO
Modified: 2023-09-03 18:48 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taku YAMAMOTO 2023-09-03 04:06:53 UTC
Currently, x11-drivers/xf86-input-synaptics defaults to EVDEV off on FreeBSD
15-CURRENT due to its Makefile lacking the line like following:

OPTIONS_DEFAULT_FreeBSD_15=	EVDEV

resulting the package cannot be used out-of-the-box.

Typical /var/log/Xorg.0.log will look like:

[    14.514] (EE) synaptics: SynPS/2 Synaptics TouchPad: Synaptics driver unable to detect protocol


In my opinion, however, it's better to default to EVDEV enabled regardless of
OSREL as long as the OPSYS is FreeBSD because:

  * All supported versions of FreeBSD will need this anyway nowadays.
  * We don't have to worry about FreeBSD 16, which will appear 2 or maybe
    3 years later.


Related bug #245966
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-09-03 18:47:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d8216d213530fa83602affc508409f8fa855eb6

commit 6d8216d213530fa83602affc508409f8fa855eb6
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-09-03 18:45:25 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-09-03 18:46:46 +0000

    x11-drivers/xf86-input-synaptics: Always use EVDEV on FreeBSD

    Remove the condition on $OSREL as all supported FreeBSD version should
    default using evdev.

    PR:     273537
    Sponsored by:   Beckhoff Automation GmbH & Co. KG

 x11-drivers/xf86-input-synaptics/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)