MaxDamage l33t
Joined: 03 Jan 2004 Posts: 650 Location: Oviedo, Spain
|
Posted: Fri Aug 27, 2004 5:09 pm Post subject: [FIX] Udev doesn't create /dev/js0 |
|
|
That's the problem. Some games, like Zsnes, find my joystic in /dev/input/js0, but others like Dosemu try to use /dev/js0 and it doesn't exist.
The line that creates the joystick nodes, in /etc/udev/rules.d/50-udev.rules:
Code: | KERNEL="js*", NAME="input/%k" |
but we want /dev/js0 also bein created. So we only have to add this line to the /etc/udev/rules.d/10-local.rules file (create it if doesn't exist):
Code: | KERNEL="js*", NAME="%k" |
Doing Code: | rmmod joydev
modprobe joydev | allows me to test the configs without rebooting. Perhaps simply unpluging-pluging my gamepad also works (because it's USB, dont think serials would do so too). _________________ La PDA de tungsteno |
|