[Wine] no ForceFeedback in Wine

Martin Gregorie martin at gregorie.org
Sun Apr 19 13:46:52 CDT 2009


> after a reboot the read/write settings for js0 and event1 are set back
> to standard.. dont know why..
>
Because these udev recreates device files when the system is booted,
setting the access permissions from the rules in /etc/udev/rules.d

You can either look in /etc/udev/rules.d, find the rules that set the
joystick and event permissions and add a local rules file setting
MODE="0666" (i.e. giving read and write permission for owner, group and
world) and naming it so it is executed after the original rule or add
the following line to /etc/rc.d/rc.local:

chmod uga+rw /dev/input/js0 /dev/input/event*

Either approach will alter the device file permissions after udev has
created the device files.

If you modify the udev rules DON'T change the original rule since any OS
upgrade can overwrite the original udev rule set and this will remove
any change you made to the original file.


Martin






More information about the wine-users mailing list