Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 51:49:10 |
Calls: | 422 |
Files: | 1,025 |
Messages: | 90,573 |
I'm working on an application that allows you to remap/mix/reconfigure
the channels/buttons on a USB joystick/game-controller device. That
requires access to /dev/uinput which is used to create a "synthetic"
joystick device and feed data to it.
On Gentoo /dev/uinput is accessible only to root.
$ ls -l /dev/uinput
crw------- 1 root root 10, 223 Mar 5 09:36 /dev/uinput
What's the best way to make that available to specific users?
Add a "uinput" group, change the group of /dev/uinput to "uinput",
chmod g+wr, then make specific users part of that group?
$ ls -l /dev/uinput...
What's the best way to make that available to specific users?...
What's the best way to make that available to specific users?
Add a "uinput" group, change the group of /dev/uinput to "uinput",
chmod g+wr, then make specific users part of that group?