Skip to content

Add FreeBSD support#108

Open
er2off wants to merge 1 commit intotheyareonit:masterfrom
er2off:master
Open

Add FreeBSD support#108
er2off wants to merge 1 commit intotheyareonit:masterfrom
er2off:master

Conversation

@er2off
Copy link

@er2off er2off commented Feb 5, 2025

This pull request adds FreeBSD support for evdev input handling in same way as linux.

Because evdev isn't in base system, user needs to pkg install libepoll-shim libevdev (should be preinstalled with xorg)

To make it work without root, user needs to add himself to wheel group and run chmod 640 /dev/input/* or add to /etc/devfs.rules something like (for autoboot):

[localrules=10]
  add path 'input/*' mode 0640

and to /etc/rc.conf (to load this rule): devfs_system_ruleset="localrules"

(if someone have easier method, you're welcome)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant