You are not logged in.

#1 2013-01-24 10:23:46

maribu8789
Member
Registered: 2011-01-13
Posts: 3

[solved] Set /dev/input/mouse* permission via udev

Hi, there!

I have the same problem described here: https://bbs.archlinux.org/viewtopic.php?id=107707

I also tried to use his udev rules:

KERNEL=="event?", NAME="input/%k", MODE=660, GROUP="mouse"
KERNEL=="mouse?", NAME="input/%k", MODE=660, GROUP="mouse"
KERNEL=="mice", NAME="input/%k", MODE=660, GROUP="mouse"

But it doesn't work. I saved the rule to "/etc/udev/rules.d/76-mouse.rules" and got this after reboot:

ls -lisa /dev/input/mouse*
7974 0 crw-r----- 1 root root 13, 32 24. Jan 10:53 /dev/input/mouse0
7979 0 crw-r----- 1 root root 13, 33 24. Jan 10:53 /dev/input/mouse1
9026 0 crw-r----- 1 root root 13, 34 24. Jan 10:53 /dev/input/mouse2
9028 0 crw-r----- 1 root root 13, 35 24. Jan 10:53 /dev/input/mouse3

Has anyone an idea how to get the rule working?

Regards,
Maribu

Last edited by maribu8789 (2013-07-30 10:38:57)

Offline

#2 2013-07-30 09:48:36

maribu8789
Member
Registered: 2011-01-13
Posts: 3

Re: [solved] Set /dev/input/mouse* permission via udev

Hi, again!

I finally got it working:

$ cat /usr/lib/udev/rules.d/12-mouse.rules
KERNEL=="mouse?", GROUP="mouse", MODE="660"
KERNEL=="mice", GROUP="mouse", MODE="660"
KERNEL=="event?", GROUP="mouse", MODE="660"

Make sure you name it 12-mouse.rules. I think the high priority (the low number at the beginning) is needed to get it working.

Regrads,
Maribu

Offline

#3 2013-07-30 10:22:28

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Set /dev/input/mouse* permission via udev

No, you have the priority the wrong way around.

What probably fixed it is the quotes in MODE="660"

Offline

Board footer

Powered by FluxBB