The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.28 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.28 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.28 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
xbox controller will not shown in vdrift - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: xbox controller will not shown in vdrift (/showthread.php?tid=1149)



xbox controller will not shown in vdrift - feldmaus - 07-30-2009

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


- joevenzon - 07-31-2009

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?


- feldmaus - 07-31-2009

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



- feldmaus - 07-31-2009

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.


- joevenzon - 07-31-2009

Since SDL reports 0 joysticks, this is not a VDrift problem.

With it plugged in, what does your /dev/input directory look like?

You could try this:
http://pingus.seul.org/~grumbel/xboxdrv/


- feldmaus - 08-03-2009

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 ?


- feldmaus - 08-03-2009

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