Search Criteria
Package Details: hid-lg-g710-plus-dkms-git r35.ba8c9f6-6
Package Actions
Git Clone URL: | https://aur.archlinux.org/hid-lg-g710-plus-dkms-git.git (read-only, click to copy) |
---|---|
Package Base: | hid-lg-g710-plus-dkms-git |
Description: | Linux DKMS kernel module allowing use of extra keys and LEDs on the Logitech G710+ |
Upstream URL: | https://github.com/jonpas/logitech-g710-linux-driver |
Keywords: | g710 g710+ logitech |
Licenses: | GPL2 |
Conflicts: | hid-lg-g710-plus, logitech-g710, logitech-g710-kmod-git |
Provides: | hid-lg-g710-plus |
Submitter: | forivall |
Maintainer: | jonpas |
Last Packager: | jonpas |
Votes: | 9 |
Popularity: | 0.000000 |
First Submitted: | 2015-04-04 02:50 (UTC) |
Last Updated: | 2023-12-24 18:12 (UTC) |
Dependencies (3)
- dkms (dkms-gitAUR, dkms-fast-zstdAUR)
- git (git-gitAUR, git-glAUR) (make)
- linux-headers (optional) – build the module against Arch kernel
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
Zeth commented on 2018-08-09 09:11 (UTC)
@Eschwartz: yes, it's gross because I didn't know how to include a file in the src tree. @aereaux: The issue comes from the upstream module code ignoring the kernel version.
I incorporated the suggestions by Eschwartz and found this patch to work better: https://github.com/Wattos/logitech-g710-linux-driver/pull/31/commits/63713452247688de6f660419bb708f437c870bb3
The whole work looks like this:
makefile.patch:
PKGBUILD:
When I down-/upgrade linux and linux-headers now, there's no error popping up for me. Can you confirm that?
aereaux commented on 2018-07-13 19:57 (UTC)
This is also still wrong as far as building for the right kernel, as well. When the kernel is updated, the build (in the hook) fails because it is looking for the wrong version. I think the variable you need to use is $kernelver, although I'm not sure that's the only change that might be needed. Anyways, this page might help: https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#DKMS_package_creation
eschwartz commented on 2018-07-11 05:03 (UTC) (edited on 2018-07-11 05:04 (UTC) by eschwartz)
That's utterly gross, what makes this package different from pretty much every other PKGBUILD ever written which uses $srcdir?
The problem with ../../ is that it's completely wrong and at the beginning of the package function (before any cd) will point to a file two directories above the actual PKGBUILD, which makes no sense whatsoever...
$startdir is just wrong because makepkg by design is supposed to unify $startdir and $SRCDEST (which might not be the same) by symlinking everything to $srcdir.
Please read the
PKGBUILD(5)
manpage and take heed of:srcdir
startdir
Zeth commented on 2018-06-26 20:08 (UTC)
Interesting, didn't know that. It works with the relative path on my system but with $srcdir is pointing to
hid-lg-g710-plus-dkms-git/src/makefile.patch
so it's not working, too. Just found the proper variable: $startdirSorry for that <.<
aereaux commented on 2018-06-25 01:41 (UTC)
../../makefile.patch
is not always the correct path.$srcdir/makefile.patch
should work instead.forivall commented on 2018-06-24 15:48 (UTC) (edited on 2018-06-24 15:48 (UTC) by forivall)
I added @Zeth's patches.
Zeth commented on 2018-06-02 10:29 (UTC) (edited on 2018-06-02 10:33 (UTC) by Zeth)
@thorsteng Does your problem still exist? It looks like this issue: https://forum.manjaro.org/t/manjaro-4-14-15-version-magic-doesnt-match-prevents-module-from-loading/39318/7
Another thing I noticed is that this module fails to build directly after a new kernel was installed. That is because the module itself assumes you want to build for your current running kernel instead for the "next".
I did a quick fix for myself, here are the patches. PKGBUILD:
The makefile.patch looks like this:
And the lastly the install file hid-lg-g710-plus-dkms.install:
thorsteng commented on 2018-01-31 20:15 (UTC)
After the last update the module does not run anymore.
I installed with yaourt and everything runs without a error message, then I recognized that the g-keys not working anymore. I searched a bit and tried to insert the module manually with the following error:
sudo modprobe hid-lg-g710-plus modprobe: ERROR: could not insert 'hid_lg_g710_plus': Exec format error
dmesg tells me:
[12338.792998] hid_lg_g710_plus: version magic '4.4.113-1-MANJARO SMP preempt mod_unload modversions retpoline ' should be '4.4.113-1-MANJARO SMP preempt mod_unload modversions '
I'm on manjaro here with latest packages installed. Can anyone help?
Regards Thorsten
AlexanderS commented on 2017-11-12 13:29 (UTC)
forivall commented on 2015-04-04 02:58 (UTC)
« First ‹ Previous 1 2 3 Next › Last »