[Xastir] Linux Joystick Tweaks (off topic? ;-)
Curt, WE7U
archer at eskimo.com
Mon Jan 7 14:07:54 EST 2008
On Wed, 2 Jan 2008, Jeremy Utley wrote:
> > It's in "/etc/udev/rules.d/50-udev-default.rules". I changed this
> > section:
> >
> > # input devices
> > #KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640"
> > KERNEL=="mouse*|mice", NAME="input/%k", MODE="0640"
> > KERNEL=="event*", NAME="input/%k", MODE="0666"
> > #
> > #KERNEL=="js*", NAME="input/%k", MODE="0644"
> > KERNEL=="js*", NAME="input/%k", MODE="0666"
>
> It probably should not be done this way - by doing this, if your
> distribution provides any form of update to the udev package, your
> changes will be overwritten. You should probably create a new file -
> something like 51-custom-joystick.rules - and have it contain these
> lines. It will then override anything in previous files.
Thanks for that! I just did an update on a couple of systems and a
complete install on another this weekend. Yep, my mods went bye-bye
and I've since converted to your way of thinking.
I created a "51-joystick-we7u.rules" file on each system with only
two lines in it. There was already a file in there starting with
"51-", but it doesn't matter as long as I don't have a name clash.
--
Curt, WE7U: <www.eskimo.com/~archer/> XASTIR: <www.xastir.org>
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
The world DOES revolve around me: I picked the coordinate system!
More information about the Xastir
mailing list