Hi,
when I plug in my controller, a /dev/input/event12 is created for example.
With permissions:
crw------- 1 root wheel 0xca Nov 4 22:21 event12
So that I can have the rights to the controller I must do:
I would like it to happen automatically when I plug it in.
I tried to create a file:
/usr/local/etc/devd/n64gamepad.conf which contains:
But nothing happens, no modification of rights.
Someone would have any idea ?
THANKS.
when I plug in my controller, a /dev/input/event12 is created for example.
With permissions:
crw------- 1 root wheel 0xca Nov 4 22:21 event12
So that I can have the rights to the controller I must do:
# chmod 640 /dev/input/event12
I would like it to happen automatically when I plug it in.
I tried to create a file:
/usr/local/etc/devd/n64gamepad.conf which contains:
Code:
#N64 gamepad
notify 100 {
match "system" "USB";
match "subsystem" "INTERFACE";
match "type" "ATTACH";
match "vendor" "0x0f0d";
match "product" "0x00c1";
action "chmod 640 $cdev";
};
But nothing happens, no modification of rights.
Someone would have any idea ?
THANKS.
Last edited: