A01011010 / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

/dev/input/js0 permission denied #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile latest git
2. configure /dev/input/js1 in game.cfg
3. start stuntrally and configure controls

What is the expected output? What do you see instead?
expected: use joypad
instead: only keyboard

What version are you using? On what operating system?
latest git on gentoo linux

Please pick any relevant labels like Component or OpSys related to problem.

logitech f710
xpad kernel driver
ogre 1.8
ois 1.3

Please provide any additional information below.

INFO: ::: Time Sounds: 4.12954 ms
ERROR: force feedback: can not open /dev/input/js1 (Permission denied) 
[/usr/src/stuntrally/source/vdrift/forcefeedback.cpp:48]
INFO: --------------------------------------  Input devices  BEGIN
INFO: Dumping all registered OISB devices: 
INFO: ** Device: 'Keyboard'
INFO: ** - count: 256
INFO: ** Device: 'Mouse'
INFO: ** - Button 3
INFO: ** - Button 4
INFO: ** - Button 5
INFO: ** - Button 6
INFO: ** - Button 7
INFO: ** - Left Button
INFO: ** - Middle Button
INFO: ** - Right Button
INFO: ** - Wheel - analog
INFO: ** - X Axis - analog
INFO: ** - Y Axis - analog
INFO: End of dump
INFO: --------------------------------------  Input devices  END

ls -ltr /dev/input/js*
crw-r--r-- 1 root root 13, 1 Jan 12 21:04 /dev/input/js1
crwxrwxrwx 1 root root 13, 0 Jan 12 21:04 /dev/input/js0

(I did a chmod 777 /dev/input/js0 to solve this permission issue; see issue 210)

Original issue reported on code.google.com by martin.herrman@gmail.com on 12 Jan 2013 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by Cry...@gmail.com on 13 Jan 2013 at 7:56

GoogleCodeExporter commented 9 years ago
Ok I've written in Issue 211, this in not how we will do force feedback even if 
it works someday, so closing.

Original comment by Cry...@gmail.com on 13 Jan 2013 at 7:59