[Linux/0.54beta1] Controller detection problem

R

Rallymen007

  • 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
 
  • 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.
 
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.
 

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 94 7.7%
  • 75% online 25% offline

    Votes: 130 10.7%
  • 50% online 50% offline

    Votes: 173 14.2%
  • 25% online 75% offline

    Votes: 341 28.0%
  • 100% offline racing

    Votes: 473 38.9%
  • Something else, explain in comment

    Votes: 5 0.4%
Back
Top