Hi All,
i am on Debian Lenny 32bit System with kernel 2.6.30 and a Nvidia 8600GT graphics card. I downloaded(cvs or svn or git) and compiled vdrift. I tried to get my xbox controller to work, but vdrift seems to ignore my controller. I am not sure whether this is a driver Problem, but maybe someone can help me.
Here are some messages i get when i connect my xbox controller to my pc:
http://pastebin.com/f3e7b6570
Any hint ?
I still played vdrift with this xbox controller some time ago on a Debian Lenny System. But this was on my old pc i think.
regards markus
When you start vdrift, it prints out a line listing all of the input devices that SDL knows about:
Code:
INFO: 1 joystick found:
INFO: 0. Gravis Eliminator AfterShock
Do you have a similar line? Does it say 0 joysticks found?
Hmm he seems not to find one.
Code:
INFO: Multi-processor system detected. Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: 2505, O/S: Unix-like
INFO: Home directory: /home/markus
INFO: Settings file: /home/markus/.vdrift/VDrift.config
INFO: Data directory: /usr/local/share/games/vdrift/data
DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /home/markus/.vdrift/log.txt
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Enabling antialiasing: 4X
INFO: Display change was successful: 1280x1024x32 24z fullscreen=1
INFO: Video card information:
Vendor: NVIDIA Corporation
Renderer: GeForce 8600 GT/PCI/SSE2/3DNOW!
Version: 3.0.0 NVIDIA 185.18.14
Maximum texture size: 8192
Using GLEW 1.5.0
INFO: Texture units: 4 full, 32 partial
INFO: Loaded shader package simple
INFO: Loaded shader package less_simple
INFO: Loaded shader package full
INFO: Loaded shader package full
INFO: Loaded shader package depthgen
INFO: Loaded shader package depthgen2
INFO: Loaded shader package depthonly
INFO: Loaded shader package distancefield
INFO: Loaded shader package bloompass
INFO: Loaded shader package bloomcomposite
INFO: Loaded shader package gaussian_blur
INFO: Loaded shader package gaussian_blur
INFO: Successfully enabled shaders
INFO: Maximum anisotropy: 16
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/markus/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 940
Size: 3760
Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Got quit message from GUI. Shutting down...
INFO: Shutting down...
INFO: Exiting
I have the following modules loaded:
Code:
Module Size Used by
pppoe 9432 2
pppox 2460 1 pppoe
ppp_generic 17924 6 pppoe,pppox
slhc 4392 1 ppp_generic
nvidia 9531916 26
nfsd 205024 9
exportfs 3452 1 nfsd
battery 10144 0
ppdev 6664 0
powernow_k8 14640 1
cpufreq_conservative 6248 0
cpufreq_powersave 1368 0
f71882fg 19268 0
serio_raw 4604 0
wmi 5472 0
button 5132 0
psmouse 37636 0
xpad 9180 0
processor 33940 1 powernow_k8
pcspkr 2056 0
thermal 12708 0
fan 4012 0
But the most modules are not shown here, because i implemented them into my kernel.
Thanks for your help. My /dev/input directory contains the following:
Code:
/dev/input/
|-- by-id
| `-- usb-045e_0202-event-joystick -> ../event4
|-- by-path
| |-- pci-0000:00:13.4-usb-0:1.1:1.0-event-joystick -> ../event4
| |-- pci-0000:00:14.2-event- -> ../event2
| |-- platform-i8042-serio-0-event-kbd -> ../event1
| |-- platform-i8042-serio-1-event-mouse -> ../event7
| |-- platform-i8042-serio-1-mouse -> ../mouse1
| `-- platform-pcspkr-event-spkr -> ../event3
|-- event0
|-- event1
|-- event2
|-- event3
|-- event4
|-- event5
|-- event6
|-- event7
|-- mice
|-- mouse0
`-- mouse1
And my whole /dev/directory contains:
http://pastebin.com/f4221ea07
But as i know there should be a js* device ??? Or am i wrong ?
Ok i got it. Most games seem to use /dev/input/jp[0-9] as joystick device. In my kernel config was only the Event Interface enabled. So i enabled the Joystick interface too.
Device Drivers --> Input Device support --> Joystick Interface
regards Markus