[SOLVED] Linux and racing pedals

Use this forum to report bugs or ask for help

Moderator: kilo

[SOLVED] Linux and racing pedals

Postby rlovi » Thu May 19, 2016 1:05 pm

How do the rest of you Linux users get your brake and gas pedals recognized in Linux? I'm running Ubuntu Studio 14.04 and I'm having a difficult time figuring our how to get my bodnar cable/G25 pedals recognized. Using a /lib/udev/rules.d/ rules script I'm able to get a /dev/input/event file with the proper permissions but no /dev/input/js file so my pedals aren't being recognized in Speed Dreams.

Does anyone have any idea how to do this? I tried wiring a button to the D-Sub connector thinking this might fool the udev process though that didn't work.

BTW, the cable does work in the Windows version of Speed Dreams so I know my wiring is correct.
Last edited by rlovi on Fri May 20, 2016 1:06 am, edited 1 time in total.
rlovi
 
Posts: 11
Joined: Tue Apr 12, 2016 10:49 pm

Re: Linux and racing pedals

Postby rlovi » Fri May 20, 2016 1:05 am

Out of luck I stumbled upon this website and followed the instructions:

http://redthreadgames.com/forum/topic/1 ... joysticks/

With this as a xboxdrv.config file I was able to get my pedals recognized:

Code: Select all
[axismap]

[buttonmap]

[device-name]

[device-usbid]

[evdev-absmap]
ABS_X=x1
ABS_Y=y1
ABS_RX=x2
ABS_RY=y2

[evdev-keymap]

[modifier]

[relative-axis]

[ui-axismap]

[ui-buttonmap]

[xboxdrv]
evdev = /dev/input/event8
evdev-debug = false
mimic-xpad = true
silent = true

[xboxdrv-daemon]


And with this command:

Code: Select all
sudo xboxdrv -c xboxdrv.config


a new event file along with a js file was created in /dev/input and my pedals showed up in the SD control calibration screen.
rlovi
 
Posts: 11
Joined: Tue Apr 12, 2016 10:49 pm


Return to Problems, Fixes & Help

Who is online

Users browsing this forum: No registered users and 4 guests

cron