User Tools

Site Tools


robots:phoenix:manual:gamepad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
robots:phoenix:manual:gamepad [2014/02/26 14:39]
claes [Permissions]
robots:phoenix:manual:gamepad [2021/08/14 04:21] (current)
Line 17: Line 17:
   - Add a new group <code>sudo groupadd gamepad</code>   - Add a new group <code>sudo groupadd gamepad</code>
   - Add your user to the group <code>useradd -G gamepad [username]</code>   - Add your user to the group <code>useradd -G gamepad [username]</code>
-  - Add the files joystick_acl_correction.sh and 80-local.rules to <code>/etc/udev/rules.d/</code> The udev-rule flie is numbered 80 to make sure it is executed after /lib/udev/rules.d/70.udev-acl.rules+  - Add the file joystick_acl_correction.sh  to <code>/etc/udev/</code>
   - Make joystick_acl_correction.sh executable <code>sudo chmod a+x joystick_acl_correction.sh</code>   - Make joystick_acl_correction.sh executable <code>sudo chmod a+x joystick_acl_correction.sh</code>
 +  - Add the file  80-local.rules to <code>/etc/udev/rules.d/</code> The udev-rule file is numbered 80 to make sure it is executed after /lib/udev/rules.d/70.udev-acl.rules
 +
  
 <file bash joystick_acl_correction.sh> <file bash joystick_acl_correction.sh>
Line 34: Line 36:
 <file bash 80-local.rules> <file bash 80-local.rules>
 #This rule is to make the Logitec gamepad read/writeable for the normal user. #This rule is to make the Logitec gamepad read/writeable for the normal user.
-SUBSYSTEM=="input", ATTRS{name}=="Generic X-Box pad", GROUP="gamepad", MODE="0660", RUN+="/etc/udev/rules.d/joystick_acl_correction.sh"+SUBSYSTEM=="input", ATTRS{name}=="Generic X-Box pad", GROUP="gamepad", MODE="0660", RUN+="/etc/udev/joystick_acl_correction.sh"
 </file> </file>
  
robots/phoenix/manual/gamepad.1393421984.txt.gz · Last modified: 2021/08/14 04:20 (external edit)