Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[FIX] Udev doesn't create /dev/js0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Fri Aug 27, 2004 5:09 pm    Post subject: [FIX] Udev doesn't create /dev/js0 Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum