GithubHelp home page GithubHelp logo

linux-steering-wheels's People

Contributors

berarma avatar jacketus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

berarma

linux-steering-wheels's Issues

Simagic wheelbases

Simagic followed USB HID spec up until v159 firmware. After that, with version 171, in around august 2023, they moved to something proprietary.
Now from firmware 171 (SimPro 2) there is two .dll files: simpro_1.dll and simpro_2.dll, which appears to be the userspace FFB kernel driver1. They are registered in a system with CLSID = 148CC31A-2476-4F1A-84AC-8A51B275DAA7.

At first glance protocol between the wheel and these drivers is the same as PID protocol, but reports are shifted to the right for 1 byte, and that first byte is set to 0x01. Also, now USB descriptor does not contain any effect identifiers, as well as report id's, etc, all of that seems to be hardcoded in simpro_1.dll and simpro_2.dll.

Sigma Cortex, a converter for Simagic wheelbases, which allows it to work with PlayStation, released a firmware update2 at that time, which enabled FFB on new and old firmware.

Another thing to considerate - there is 4 (four!) devices with the same VID/PID: M10, Alpha Mini, Alpha, Alpha U. M10 software support is ended on fw159, So driver for Linux should be able to tell them apart and enable/disable protocol adaptations for <=159 and >=171 firmwares.

Further testing / reverse-engineering required.

Footnotes

  1. https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/force-feedback-device-driver-interface

  2. https://www.facebook.com/permalink.php?story_fbid=pfbid0zCwdaeKvLkZEMTa1a3oAVF1J2HyiekzUGWAvt3KmHdj6CFguHH8bDAFmip1XTcEVl&id=100090148879187

Cammus Wheels Proton support

Wheel and FFB works perfectly fine on native games like truck sims (ETS/ATS)
We got it working with BeamNG when I launch the game installed using steam but launched using lutris using wine instead of proton
FFB also works on Assetto Corsa Competizione when I launch it with lutris/wine but not when I launch it using steam/proton or proton/ge

Asetek LaPrima Wheelbase support

Rotation is detected on a gamepad tester and seems to show 99% range as intended from -1 to +1 (I have a bump stop enabled in the firmware).

iRacing calibration tool detected it as going from 50%-100% rotation which is odd. Gives error that the wheel does not support force feedback.

Windows raw values go from 0 to 65535

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.