Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hid-tmff2/0.82 is not installed but DKMS install fails #142

Closed
Tropingenie opened this issue Jan 22, 2025 · 3 comments
Closed

hid-tmff2/0.82 is not installed but DKMS install fails #142

Tropingenie opened this issue Jan 22, 2025 · 3 comments

Comments

@Tropingenie
Copy link

So my FFB stopped working properly on my Thrustmaster T300 recently, and I suspect it was due to Nobara updating from Fedora 40 to 41. Came across #51 and tried to reinstall through dkms, didn't work. Now, that would be fine, except the errors are both that I do not have hid-tmff2/0.82 installed, and that I do (see below).

Let me know what else is needed to help, new-ish to Linux so I can never remember what commands to try off the top of my head.

░▒▓  …/hid-tmff2    master !  ▓▒░ ◦•······························································································································•◦ ░▒▓   83ms ▓▒░
··• sudo dkms uninstall -m "hid-tmff2" -v "0.82"
Module hid-tmff2/0.82 is not installed for kernel 6.12.10-200.nobara.fc41.x86_64 (x86_64). Skipping...

░▒▓  …/hid-tmff2    master !  ▓▒░ ◦•·····························································································································•◦ ░▒▓   483ms ▓▒░
··• ./dkms/dkms-install.sh 
You must run this script as root!

░▒▓  …/hid-tmff2    master !  ▓▒░ ◦•·······························································································································•◦ ░▒▓   5ms ▓▒░
··• sudo ./dkms/dkms-install.sh 

Error! DKMS tree already contains: hid-tmff2/0.82
You cannot add the same module/version combo more than once.

Sign command: /lib/modules/6.12.10-200.nobara.fc41.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s).... done.

Error! Build of hid-tminit-new.ko failed for: 6.12.10-200.nobara.fc41.x86_64 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/hid-tmff2/0.82/build for more information.

Sign command: /lib/modules/6.12.10-200.nobara.fc41.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s).... done.

Error! Build of hid-tminit-new.ko failed for: 6.12.10-200.nobara.fc41.x86_64 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/hid-tmff2/0.82/build for more information.
@Kimplul
Copy link
Owner

Kimplul commented Jan 22, 2025

Have a look at #140, I believe you're running into the same issue.

The DKMS errors are a bit confusing, but it's probably just that DKMS keeps track of three values, the name of the module, version of the module, and version of the kernel. Presumably the driver failed to build for your newest kernel due to an API change in 6.12, so you don't have hid-tmff2/0.82/6.12-... 'installed', but you do have hid-tmff2/0.82/6.11-... (or whatever the previous name was) and the error messages are just reporting this kind of odd situation poorly.

@Tropingenie
Copy link
Author

Ran git submodule update to pull in hid-tminit and ran sudo dkms remove hid-tmff2/0.82 --all, output looks good now. Will close this once I verify the issue is resolved, thanks for the help.

··• sudo ./dkms/dkms-install.sh 
Creating symlink /var/lib/dkms/hid-tmff2/0.82/source -> /usr/src/hid-tmff2-0.82

Sign command: /lib/modules/6.12.10-200.nobara.fc41.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s).... done.
Signing module /var/lib/dkms/hid-tmff2/0.82/build/deps/hid-tminit/hid-tminit-new.ko
Signing module /var/lib/dkms/hid-tmff2/0.82/build/deps/hid-tminit/usb-tminit-new.ko
Signing module /var/lib/dkms/hid-tmff2/0.82/build/hid-tmff-new.ko
Cleaning build area... done.

Installing /lib/modules/6.12.10-200.nobara.fc41.x86_64/extra/hid-tminit-new.ko.zst
Installing /lib/modules/6.12.10-200.nobara.fc41.x86_64/extra/usb-tminit-new.ko.zst
Module /lib/modules/6.12.10-200.nobara.fc41.x86_64/updates/hid-tmff-new.ko.zst already installed (unversioned module), override by specifying --force
Running depmod... done.

@Tropingenie
Copy link
Author

Confirmed working on Tuesday, FFB is working in Euro Truck (which I know was working prior to the kernel update that confused dkms).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants