Package Details: new-lg4ff-dkms-git 0.1.r0.ge7601c0-1

Git Clone URL: https://aur.archlinux.org/new-lg4ff-dkms-git.git (read-only, click to copy)
Package Base: new-lg4ff-dkms-git
Description: Experimental Logitech force feedback module (DKMS)
Upstream URL: https://github.com/berarma/new-lg4ff
Licenses: GPL2
Conflicts: new-lg4ff-dkms
Submitter: parkerlreed
Maintainer: parkerlreed (dnmodder)
Last Packager: dnmodder
Votes: 7
Popularity: 0.20
First Submitted: 2019-11-26 18:33 (UTC)
Last Updated: 2019-12-06 16:15 (UTC)

Latest Comments

motolav commented on 2023-05-07 18:08 (UTC)

The DKMS version 3.0.11, that's out now on Arch, will let you install this module again

dunj3 commented on 2023-03-04 12:54 (UTC)

I think the situation is not as simple. hid-logitech has been part of the kernel for quite a while, and support for some (older) wheels is indeed in the source kernel version. However, new-lg4ff adds support for the Logitech G923 and the G923 in PlayStation mode. If you use one of those wheels, you still need this patched module (even on the current 6.2.1 kernel).

The installation issue actually seems to stem from a bug in DKMS itself: DKMS Issue when module has to be replaced #296 (which even mentions this AUR package). This causes DKMS to not replace the kernel hid-logitech with the the patched hid-logitech.

There seems to be a patch for DKMS in the linked issue, but no new release since, so it's not yet in the packaged version. I guess this AUR package will work again when DKMS releases a new version. In the meantime, you have to work around the bug (by using --force for dkms install, or using the manual way of installing new-lg4ff).

dreieck commented on 2023-02-16 09:54 (UTC) (edited on 2023-02-16 09:55 (UTC) by dreieck)

Just to note:

This module seems to be in the vanilla Linux kernel now:

:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms install --no-depmod new-lg4ff/0.3.3.r29.ge0ba812 -k 6.1.12
Module version  for hid-logitech.ko.zst
exactly matches what is already found in kernel 6.1.12.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
  • zgrep -i logitech /proc/config.gz:
CONFIG_HID_LOGITECH=m
CONFIG_HID_LOGITECH_DJ=m
CONFIG_HID_LOGITECH_HIDPP=m
CONFIG_LOGITECH_FF=y
  • find /lib/modules/6.1.12 -name '*logitech*':
/lib/modules/6.1.12/kernel/drivers/hid/hid-logitech-dj.ko.zst
/lib/modules/6.1.12/kernel/drivers/hid/hid-logitech-hidpp.ko.zst
/lib/modules/6.1.12/kernel/drivers/hid/hid-logitech.ko.zst

Maybe this package here is obsolete by now and should be only kept for older kernels or special prebuilt kernels that don't have the module included from the kernel's source tree?

eruizc-dev commented on 2023-02-15 00:57 (UTC) (edited on 2023-02-15 00:59 (UTC) by eruizc-dev)

Used to work in kernel 6.1.6, but after updating to 6.1.7 and now 6.1.11 I get some problems.

  1. I would expect version 0.4.0 (latest) but I get 0.3.3
  2. Installation exists with code 6

I managed to install from source and I'm trying to figure out if this is me problem, a dkms, or a packaging one

$yay -S new-lg4ff-dkms-git
...
Module version for hid-logitech.ko.zst exactly matches what is already found in kernel 6.1.11-arch1-1. DKMS will not replace this module.
$dkms status
new-lg4ff/0.3.3.r29.ge0ba812, 6.1.11-arch1-1, x86_64: built
yay -R new-lg4ff-dkms-git
...
Error! The module/version combo: new-lg4ff-0.3.3.r29.ge0ba812 is not located in the DKMS tree.

dnmodder commented on 2020-02-10 02:33 (UTC) (edited on 2020-02-10 02:34 (UTC) by dnmodder)

@Gonzo2028 Do you have linux-clear-headers installed? If you have it then go to github and create an issue

Gonzo2028 commented on 2020-02-08 19:38 (UTC)

i was just missing linux-clear-headers, so nevermind ;).

Gonzo2028 commented on 2020-02-07 06:09 (UTC)

This is not working with linux-clear, but it works with linux-zen. Any ideas?

make -j32 KERNELRELEASE=5.4.18-1-clear KVERSION=5.4.18-1-clear...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.4.18-1-clear (x86_64) Consult /var/lib/dkms/new-lg4ff/0.3.r0.g3e1e084/build/make.log for more information. Fehler: Befehl konnte nicht korrekt ausgeführt werden :: Starte post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Install DKMS modules ==> dkms install new-lg4ff/0.3.r0.g3e1e084 -k 5.4.18-1-clear Error! Bad return status for module build on kernel: 5.4.18-1-clear (x86_64)

parkerlreed commented on 2019-12-06 01:35 (UTC) (edited on 2019-12-06 01:36 (UTC) by parkerlreed)

@dnmodder Feel free to change this as needed. The folder really needs to use pkgver as dkms assumes *-* is name-ver.

Also the DKMS alpm hooks are supposedly able to remove the package as needed but didn't work for me. Hence why I have that .install. I was unable to figure out why this was the case.