Difference between revisions of "Advanced:udev-uinput-rules"
Jump to navigation
Jump to search
(→About) |
|||
Line 24: | Line 24: | ||
# KERNEL=="uinput", GROUP="<group>" | # KERNEL=="uinput", GROUP="<group>" | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Script]][[Category:WiiMote]][[Category:udev]] |
Latest revision as of 07:36, 5 February 2011
Udev rule set for uinput
About
The udev rule set below will allow access to the uinput module (used by CWiid) for normal (non-root) users on a linux system.
Installation
- Save this script as 70-wminput.rules
- Copy this file to /etc/udev/rules.d/ sudo cp 70-wminput.rules /etc/udev/rules.d/
- Remove the uinput module if it has been installed previously sudo rmmod uinput
- Add the uninput module to the system sudo modprobe uinput
You may need to add uinput to your /etc/modules file if the uinput module does not reload after reboot.
Script
# This file maintains module settings. # See udev(7) for syntax. # # The easy way KERNEL=="uinput", MODE="0666" # The better way # KERNEL=="uinput", GROUP="<group>"