Skip to content

using tag+="uaccess" for /dev/input/event<mouse> #68

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

Open
KAGEYAM4 opened this issue Jan 30, 2025 · 0 comments
Open

using tag+="uaccess" for /dev/input/event<mouse> #68

KAGEYAM4 opened this issue Jan 30, 2025 · 0 comments

Comments

@KAGEYAM4
Copy link

SUBSYSTEM=="input", ATTRS{id/product}=="009d", ATTRS{id/vendor}=="068e", ATTRS{name}=="DA V2 X Mouse", MODE="0660", TAG+="uaccess"

Is the above rule not enough for it to be able to read mouse events ? Getting the following error.

[2025-01-30T02:36:29Z INFO  mouse_actions::process_args] Wayland detected : enable --no-listen option
[2025-01-30T02:36:29Z INFO  mouse_actions::config] Watch the config "/home/phoenix/.config/mouse-actions.json" !
[2025-01-30T02:36:29Z INFO  mouse_actions::process_args] mouse_actions successfully stopped
root_loop
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args] Grab Error: IoError(
        Os {
            code: 13,
            kind: PermissionDenied,
            message: "Permission denied",
        },
    )
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args] The user must be in the file group of /dev/input files, usually 'input' or 'plugdev' :
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args]   $ sudo usermod -a -G input $USER
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args]   $ sudo usermod -a -G plugdev $USER
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args]   $ sudo tee /etc/udev/rules.d/80-mouse-actions.rules <<<'KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"'
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args] Then restart to apply this user modifications.
[2025-01-30T02:36:29Z ERROR mouse_actions::process_args] See https://github.com/jersou/mouse-actions#requirement-
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