Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can use Joystick only as root , not as user :S
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gsf
n00b
n00b


Joined: 07 Jul 2002
Posts: 46

PostPosted: Wed Sep 25, 2002 8:15 pm    Post subject: Can use Joystick only as root , not as user :S Reply with quote

Hi , i hope somebody can help me out , coz i want to
play tuxracer as user before i go to bed ;).

My problem is , i can use the gamepad only as root , not
as normal user and i dont want to use su everytime.

i own a sb live and sidewinder.
ns558 fixed in kernel
loaded modules :
emu10k1 as module
emu10k1-gp as module
joydev as module

have i to be in a special group or something ?

thx alot for ur time
bye
_________________
...to be or wannabe.......
Back to top
View user's profile Send private message
Kawada
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 159
Location: Florida, USA

PostPosted: Wed Sep 25, 2002 8:58 pm    Post subject: Reply with quote

What does the output of the following commands show?
Code:
ls -l /dev/js*
ls -l /dev/input/js*

_________________
Kawada

2002 Nethack Tournament -- 317th runner-up http://nethack.devnull.net/
Back to top
View user's profile Send private message
gsf
n00b
n00b


Joined: 07 Jul 2002
Posts: 46

PostPosted: Wed Sep 25, 2002 11:27 pm    Post subject: Reply with quote

hi,

bash-2.05a$ ls -l /dev/js*
lr-xr-xr-x 1 root root 9 09-25 23:59 /dev/js0 -> input/js0

bash-2.05a$ ls -l /dev/input/js*
crw------- 1 djoi root 13, 0 1970-01-01 /dev/input/js0


thx
_________________
...to be or wannabe.......
Back to top
View user's profile Send private message
Kawada
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 159
Location: Florida, USA

PostPosted: Thu Sep 26, 2002 4:52 am    Post subject: Reply with quote

Well, I've got mine looking like this:
Code:
lr-xr-xr-x    1 root     root            9 Sep 24 15:33 /dev/js0 -> input/js0
crw-rw-rw-    1 root     root      13,   0 Dec 31  1969 /dev/input/js0
and I have no trouble with non-root users using the joystick. So I would suggest maybe trying
Code:
chmod 666 /dev/input/js0
Let me know how that works out.
_________________
Kawada

2002 Nethack Tournament -- 317th runner-up http://nethack.devnull.net/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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