Force Feedback new-lg4ff Install problems

Hi, so I am a very new Linux user and I am trying to get my Logitech G29 Steering Wheel’s force feedback working. I think I need this berarma/new-lg4ff and have tried to follow the install procedure. I have made a directory in /usr/src called new-lg4ff and moved the tar.qz file into it. Then I followed the dkms install and I get THIS
Can anyone shed some light on what I am doing wrong.
PS my install

Welcome @Dre9872 :wave: :sunglasses: :enos_flag:

The most appropriate way to install software under Arch / EndeavourOS, is from the official packages.

To install software from the official packages, you would use pacman (replacing somepackage with an actual package name) :

sudo pacman -S somepackage

If it’s not available there, as is the case with this particular software you’re trying to install, you might then check the AUR. Turns out, it is there.
AUR > new-lg4ff-dkms-git

To install things from the AUR, you use yay :

yay -S somepackage

So to install the Logitech Force Feedback module, you would:

yay -S new-lg4ff-dkms-git

Now before you do that, you need to make sure you have your kernel headers installed, because a DKMS module (which this package is), needs to be built into your kernel, and that’s done using the kernel headers.

For example, if running the standard kernel, you just need to make sure linux-headers is installed:

sudo pacman -S linux-headers
1 Like

Also note, that AUR package hasn’t been updated in nearly 5 years, so hopefully the build recipe is still working. AUR packages ending with -git aren’t pulling a specific version, the build process will download the very latest source code and build that. Being the very latest source can also mean it’s pre-release (potentially some bugs), so keep that in mind.

The actual version it installs will be the very latest source from Github, so you don’t need to worry about that being up-to-date.

OK so I just came to say I think I got it installed from Aur using yay.
$ dkms status
new-lg4ff/0.3.3.r33.g1a2d572, 6.10.3-arch1-2, x86_64: installed (original_module exists)
and I see you telling me I need to install headers? can I do that now or have I screwed it.

You might already have headers installed. You can check:

yay -Q | grep headers

If you can see your running kernel’s headers installed, then you’re hopefully good. If they’re not, install them. Once you’ve confirmed that, you will need to reboot to see any changes though.

You can confirm the module is loaded by running lsmod. You might be able to filter for lg4ff:

lsmod | grep lg4ff

$ yay -Q | grep headers
linux-api-headers 6.10-1
linux-headers 6.10.3.arch1-2
vulkan-headers 1:1.3.285-1

$ lsmod | grep hid
hid_logitech_hidpp 81920 0
hid_logitech_dj 45056 0
hid_generic 12288 0
usbhid 86016 2 hid_logitech_dj,hid_logitech_hidpp
mac_hid 12288 0

so I don’t think its running, I think I should see hid-logitech-new

From the GIT
Installing the module won’t load it into memory. You’ll have to load it manually or update your initramfs image and reboot.

From here:

Update (rebuild) kernel boot images
When using default systemd-boot and dracut:

sudo reinstall-kernels

When using Grub and dracut:

sudo dracut-rebuild

So I have a dual boot which means I’m using Grub I believe. I do have the dracut-rebuild in /bin so I’m guessing thats the one to use?

did the dracut-rebuild but it doesn’t seem to have worked as I don’t see the hid-logitech-new when I do lsmod
$ lsmod | grep logitech
hid_logitech_hidpp 81920 0
hid_logitech_dj 45056 0
usbhid 86016 2 hid_logitech_dj,hid_logitech_hidpp

You can rerun the module installation, and note what the installation tells you. It may be a bit much to share here given it’s a -git build, but note error and success messages.

yay -S new-lg4ff-dkms-git

Reinstallation
$ dkms status
new-lg4ff/0.3.3.r33.g1a2d572, 6.10.4-arch2-1, x86_64: installed (original_module exists)
But still not seeing the hid-logitech-new
$ lsmod | grep hid
hid_logitech_hidpp 81920 0
hid_logitech_dj 45056 0
hid_generic 12288 0
usbhid 86016 2 hid_logitech_dj,hid_logitech_hidpp
mac_hid 12288 0

Have you tested for your wheel’s forced feedback, just in case it is working?

Nope. I’ll plug it in and give it a try

OK plugged in the wheel and the module has shown up
$ lsmod | grep hid
hid_logitech_new 81920 0
ff_memless 20480 1 hid_logitech_new
hid_logitech_hidpp 81920 0
hid_logitech_dj 45056 0
hid_generic 12288 0
usbhid 86016 3 hid_logitech_new,hid_logitech_dj,hid_logitech_hidpp
mac_hid 12288 0

Thankyou.

The only other thing I noticed is yay installed ver 3.3 and on the git it has ver 4.0. don’t think I need 4.0 as it seems to only add support for the new G923 which I don’t have.

Guess I need to see what happens in a game now, and work out how to adjust settings

1 Like

This is a -git build, so you’ve installed the cutting edge latest.

You can confirm this by comparing the last part of your installed version number (0.3.3.r33.g1a2d57), with the most recent commit ID . Ignore the “0.3.3.r33” part :wink:

If the Github repo is updated, it is unlikely the AUR package version will reflect that, unless the AUR package maintainer needs to update the build process. This is typical of -git AUR packages, so the “version” can largely be ignored.

As such, updates to this package won’t be pulled automatically with system updates. You would need to watch for updates on the Github repo, then reinstall the package the same way you have been, to pull and build those updates.

Well thanks for your help. It still doesn’t work in SnowRunner, but I think that’s a known issue, gonna have a go in FS22 and see what that’s like.

Please feel free to mark the solution to the install problems, as the topic issue would appear to have been addressed.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.