Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux multitouch without running as root #3

Open
snibbe opened this issue Oct 4, 2023 · 0 comments
Open

Linux multitouch without running as root #3

snibbe opened this issue Oct 4, 2023 · 0 comments

Comments

@snibbe
Copy link
Collaborator

snibbe commented Oct 4, 2023

Allow running on Linux without being root (or provide instructions how), possibly like this:

Find out the device information:
Run lsusb or lspci commands to identify the vendor and product IDs of your input device. For example, if it's a USB device, lsusb will provide the necessary information.

Create a udev rule:
Create a new udev rule, for example, in /etc/udev/rules.d/99-my-input.rules, with the following content (replace 1234 and 5678 with your device's vendor and
product IDs):

SUBSYSTEM=="input", ATTRS{idVendor}=="1234", ATTRS{idProduct}=="5678", MODE="0666"
This rule grants read/write permissions (0666) to the specified input device.

Reload udev rules:
After creating or modifying udev rules, reload the udev rules for the changes to take effect:

sudo udevadm control --reload-rules

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

No branches or pull requests

1 participant