GithubHelp home page GithubHelp logo

Comments (12)

Raboebie avatar Raboebie commented on May 26, 2024 1

Sorry just posting here for clarity on what happened. I think 🗡️

When I updated I didn't clean the build directory before installing again so I think it installed a version that was still linked to the older kernel headers :)

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

5.13 might have the init driver, but that should be it. I suspect you're missing the T300 driver for your kernel version, but have the init driver, which causes the wheel to be detected under the correct name but doesn't provide any FFB support.

Try installing the driver through DKMS if you didn't try that already, it should automatically compile all extra modules when it detects a new kernel version. That being said I'm not entirely sure how well it handles distro updates, I should add it to my todo list. If you already installed it with DKMS, take a look in dmesg and check which driver the device gets bound to.

EDIT: Thought I should clarify the situation a little bit. @scarburato added the init driver to the kernel earlier this year, and I intended to send in my driver once the init driver got greenlit. That didn't end up happening, because a couple new issues were raised with my driver and I decided to try to iron out the bugs before I send in my driver. This has lead to a situation where the init driver is probably already out there, but it doesn't have any drivers that utilize it. Sorry for the confusing situation, it should fix itself once I'm happy enough with this driver to add it to the kernel. Assuming it gets accepted, of course.

from hid-tmff2.

Raboebie avatar Raboebie commented on May 26, 2024

Thanks! I tried that already. It has the init driver yeah.

This is what I see in dmesg

[ 168.184021] usb 1-2.4: USB disconnect, device number 6 [ 170.745328] usb 1-2.3: new full-speed USB device number 8 using xhci_hcd [ 171.031422] usb 1-2.3: New USB device found, idVendor=044f, idProduct=b65d, bcdDevice= 1.00 [ 171.031425] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 171.031426] usb 1-2.3: Product: Thrustmaster FFB Wheel [ 171.031427] usb 1-2.3: Manufacturer: Thrustmaster [ 171.088628] input: Thrustmaster Thrustmaster FFB Wheel as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-2/1-2.3/1-2.3:1.0/0003:044F:B65D.0009/input/input27 [ 171.088875] hid-generic 0003:044F:B65D.0009: input,hidraw6: USB HID v1.00 Gamepad [Thrustmaster Thrustmaster FFB Wheel] on usb-0000:01:00.0-2.3/input0 [ 171.095621] hid_tminit: disagrees about version of symbol module_layout

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

Right, thanks for the dmesg output. The init driver in kernel is named hid-thrustmaster, so you could probably try adding blacklist hid-tminit into /etc/modprobe.d/blacklist. Create the file if it doesn't exist. If that doesn't work, disagrees about version of symbol module_layout sounds like the kernel is trying to load a version compiled for some older kernel, though I'm not entirely sure why that would be.

from hid-tmff2.

Raboebie avatar Raboebie commented on May 26, 2024

Doing that prevents the wheel from being detected all together.

It's not a major train smash. I'll stay on 5.11 for now until the day comes :)

Booting into 5.11 solves the problem naturally.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

Interesting, sounds like 5.13 didn't have the init driver in that case. Can you try manually recompiling the driver, just to be sure?

from hid-tmff2.

Raboebie avatar Raboebie commented on May 26, 2024

I have. Tried with dkms and doing a manual build and install. Neither seems to revive it for me.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

Alright, thanks for the heads up. I'll look into it on my VM.

from hid-tmff2.

Raboebie avatar Raboebie commented on May 26, 2024

Thanks!

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

I was able to replicate it, although for some reason my VM was able to load the init driver just fine but complained about disagreements when trying to load the T300 driver. Anyhow, I got it working by running

sudo dkms remove hid-tmff2/0.8
sudo dkms build hid-tmff2/0.8
sudo dkms install hid-tmff2/0.8

I don't really understand why it started working, maybe the distro update somehow messed up DKMS? Check if it works for you.

from hid-tmff2.

Raboebie avatar Raboebie commented on May 26, 2024

Hmm I also don't know what to tell you now as updating the system and reinstalling the whole driver solved the problem.

There must have been something strange going on after the dist upgrade. I think we can close this now? Issues must have been my side.

from hid-tmff2.

Kimplul avatar Kimplul commented on May 26, 2024

Good thing you got it working. If someone finds issues in my DKMS setup that could've caused this, feel free to open up an issue, but for now let's assume it wasn't my fault.

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.