Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Creating" a joystick "device" in /dev .
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NicZak
n00b
n00b


Joined: 21 Apr 2002
Posts: 29

PostPosted: Mon May 06, 2002 11:31 pm    Post subject: "Creating" a joystick "device" in /dev . Reply with quote

After having no luck what-so-ever w/ my usb gamepad I slapped in my old sidewinder gamepad (gameport) into my soundblaster live card. As I had been screwing with the usb gamepad, one of the suggestions was to rm js* from /dev and make symlinks to the js* in /dev/input. In short, I just need to know what I should include with the mknod command, 'mknod /dev/js0' ? Is it the same as the usb devices where I do 'mknod /dev/js0 c 13 0' etc ..? Anyone else have this problem? Thanks -

NicZak
Back to top
View user's profile Send private message
Syntaxis
Guru
Guru


Joined: 28 Apr 2002
Posts: 511
Location: London, UK

PostPosted: Tue May 07, 2002 12:00 am    Post subject: Re: "Creating" a joystick "device" in /d Reply with quote

Are you using devfs?
If so, I think that /dev/js should just be a symlink to the input device already, in the same way as /dev/mouse.
Back to top
View user's profile Send private message
NicZak
n00b
n00b


Joined: 21 Apr 2002
Posts: 29

PostPosted: Tue May 07, 2002 4:33 am    Post subject: Reply with quote

There is actually nothing listed in /dev/js*, as they were symlinks to /dev/input/js* and were removed when I switched from a usb gamepad -> a gameport gamepad. Would mknod /dev/js0 c 13 0 work? Thanks -

NicZak
Back to top
View user's profile Send private message
Guest






PostPosted: Fri May 10, 2002 6:54 am    Post subject: Reply with quote

Ok, I cant test my gamepad (Logitech Wingman USB) as I have no game, yet. But if it might help, there was no /dev/js0 until i did modprobe joydev. Then, it suddenly appeared.
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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