You are not logged in.

#1 2023-10-05 10:45:44

4FF3RI$T
Member
Registered: 2023-10-05
Posts: 3

[SOLVED] Permission denied on trying to open /dev/input/

Hello! So, I'm currently trying to customize my Hyprland, added waybar, and when I'm starting it from terminal it gives me this:

[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event15 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event14 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event13 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event12 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event11 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event10 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/mouse1 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/mouse0 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/mice (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event9 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event8 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.376] [warning] Can't open /dev/input/event7 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event6 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event5 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event4 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event3 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event2 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event1 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] Can't open /dev/input/event0 (are you in the input group?): EACCES Permission denied
[2023-10-05 10:39:21.377] [warning] module keyboard-state: Disabling module "keyboard-state", Failed to find keyboard device: EACCES Permission denied

BTW, waybar working. Why am I seeing it? I know, that there is something wrong with keyboard or mouse, but what?

Last edited by 4FF3RI$T (2023-10-06 17:24:23)

Offline

#2 2023-10-05 12:52:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,079

Re: [SOLVED] Permission denied on trying to open /dev/input/

The error is rather self-explanatory, isn't?

stat /dev/input/event0 
getfacl /dev/input/event0
id

Why waybar is trying to access the input devices directly: no idea, but google has this a lot
https://www.google.com/search?q=waybar% … Fevent0%22
https://bbs.archlinux.org/viewtopic.php?id=273094

Online

#3 2023-10-06 17:13:59

4FF3RI$T
Member
Registered: 2023-10-05
Posts: 3

Re: [SOLVED] Permission denied on trying to open /dev/input/

Well, I figured out, that it can be solved by redacting /etc/group via adding your username after group you need

Offline

#4 2023-10-06 18:10:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,079

Re: [SOLVED] Permission denied on trying to open /dev/input/

Don't edit that file manually, one typo and you've locked yourself out.
https://man.archlinux.org/man/core/shadow/usermod.8.en

Online

Board footer

Powered by FluxBB