Giter Site home page Giter Site logo

Comments (4)

berarma avatar berarma commented on May 20, 2024 1

@Kimplul You could take a look at this SDL function. I think the T300RS hasn't made it into the list yet:

https://github.com/libsdl-org/SDL/blob/e1db4b82ecf4b2420840b7b31a666563b2656481/src/joystick/SDL_joystick.c#L2049

Then it depends on games or Wine/Proton using SDL to ask for this information. But I think it's the best place to start.

Games like DR had internally defined profiles that they would apply when the associated device was found, but it would use a gamepad profile when there was none.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 20, 2024 1

The SSL errors don't stop the module from compiling, but might stop the module from loading if your distro has disabled unloading unsigned code. See #8 (maybe also #14?) and particularly the StackOverflow thread linked in that issue:
https://superuser.com/questions/1214116/no-openssl-sign-file-signing-key-pem-leads-to-error-while-loading-kernel-modules/1322832#1322832

This /sys/bus/hid/devices/XXXX:044F:B66E.XXX/rangeis not found in the /sys/bus/devices directory

It should be created automatically when the module is loaded properly, you can run sudo modprobe hid-tmt300rs and see if there are any error messages.

The file /etc/modprobe.d/hid-tmt300rs.conf is also not available in the modprobe.d directory

That file has to be created manually, I should maybe specify that in the README.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 20, 2024

Have you/can you try other games, as well as maybe fftest? If it's only American Truck simulator that's not working, it could be the same issue I'm seeing with other games, where the wheel is being recognised as a gamepad, and some or all the FF effects are disabled by the game.

from hid-tmff2.

MaestroGlanz avatar MaestroGlanz commented on May 20, 2024

@Kimplul

That's the result of the sudo make install command.
`
make -C hid-tminit install
make[1]: Verzeichnis „/home/name/_Computer/Thrustmaster/hid-tmff2/hid-tminit“ wird betreten
make -C /lib/modules/5.11.0-7612-generic/build M=/home/name/_Computer/Thrustmaster/hid-tmff2/hid-tminit modules_install
make[2]: Verzeichnis „/usr/src/linux-headers-5.11.0-7612-generic“ wird betreten
INSTALL /home/name/_Computer/Thrustmaster/hid-tmff2/hid-tminit/hid-tminit.ko
At main.c:160:

  • SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
  • SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
    sign-file: certs/signing_key.pem: No such file or directory
    DEPMOD 5.11.0-7612-generic
    Warning: modules_install: missing 'System.map' file. Skipping depmod.
    make[2]: Verzeichnis „/usr/src/linux-headers-5.11.0-7612-generic“ wird verlassen
    make[1]: Verzeichnis „/home/name/_Computer/Thrustmaster/hid-tmff2/hid-tminit“ wird verlassen
    make -C /lib/modules/5.11.0-7612-generic/build M=/home/name/_Computer/Thrustmaster/hid-tmff2 modules_install
    make[1]: Verzeichnis „/usr/src/linux-headers-5.11.0-7612-generic“ wird betreten
    INSTALL /home/name/_Computer/Thrustmaster/hid-tmff2/hid-tmt300rs.ko
    At main.c:160:
  • SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
  • SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
    sign-file: certs/signing_key.pem: No such file or directory
    DEPMOD 5.11.0-7612-generic
    Warning: modules_install: missing 'System.map' file. Skipping depmod.
    make[1]: Verzeichnis „/usr/src/linux-headers-5.11.0-7612-generic“ wird verlassen
    depmod -A
    This/sys/bus/hid/devices/XXXX:044F:B66E.XXX/rangeis not found in the/sys/bus/devices directory`.

The file /etc/modprobe.d/hid-tmt300rs.conf is also not available in the modprobe.d directory.

Looks like the installation fails at some point.

from hid-tmff2.

Related Issues (20)

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.