[Linux/0.54beta1] Controller detection problem

R

Rallymen007

Hi,

I've just downloaded Racer for Linux (the last beta released) and it fails to detect my controller (a Dualshock plugged in a BigBen adaptator).

Here's the relevant line (I think) of the QLog:
Code:
Wed May 19 08:50:25 (WARN ): [racer/21079] QDXJoy: can't create/find joystick #0
I'm using Ubuntu 10.04. Controller is detected by the OS ("cat /dev/input/js0" returns symbols changing when I move analog sticks).

Any help ?
Thanks in advance,

Rallymen007
 
L

Lars Bøgild Thomsen

Code:
Wed May 19 08:50:25 (WARN ): [racer/21079] QDXJoy: can't create/find joystick #0
I'm using Ubuntu 10.04. Controller is detected by the OS ("cat /dev/input/js0" returns symbols changing when I move analog sticks).
Any help ?
Thanks in advance,
You sort of said it yourself :) The linux kernel and udev creates the device as /dev/input/js0 while racer expects to find a /dev/js0. Just do a symbolic link (in your startup scripts if you want it permanent - for example /etc/rc.local):

ln -s /dev/input/js0 /dev/js0

That's the "hackish" way to do it. A best would be to fix racer, second best to configure udev to create the device as /dev/js0 - but that might break other stuff depending on /dev/input/js0.
 

R110

1RPM
Thank you, Lars!
I`ve got a thrustmaster wheel with clutch, and it didn`t work, but after copying a link jso to /dev it WORKED.
 
Top Bottom