Package Details: lenovolegionlinux-dkms-git r255.ae96a82-0

Git Clone URL: https://aur.archlinux.org/lenovolegionlinux-dkms-git.git (read-only, click to copy)
Package Base: lenovolegionlinux-dkms-git
Description: LenovoLegionLinux (LLL) DKMS module
Upstream URL: https://github.com/johnfanv2/LenovoLegionLinux
Licenses: GPL
Submitter: MrDuartePT
Maintainer: MrDuartePT (XenHat)
Last Packager: MrDuartePT
Votes: 10
Popularity: 0.65
First Submitted: 2023-04-28 00:06 (UTC)
Last Updated: 2025-02-04 16:39 (UTC)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

un1ns commented on 2025-08-23 14:40 (UTC)

Rhinoceros, I might be wrong as I'm not an experienced user but it seems like you just didn't install a kernel headers package. AFAIK, it's not a dependency as you can have different kernels on your system, each kernel has its own headers package and this is a dkms module that requires the headers to compile. so you have to install it as well, depending on what kernel you have, for linux it's linux-headers. the kernel you're using could be found using pacman/yay/paru, something like pacman -Qs linux kernel. If you have other DKMS modules installed and working, then it's not that.

Rhinoceros commented on 2025-08-05 10:59 (UTC)

I can't seem to install this package. I get these errors when attempting to install

:: Processing package changes...
(1/1) installing lenovolegionlinux-dkms-git                                          [################################################] 100%
rmmod: ERROR: Module legion_laptop is not currently loaded
Installation Finished!
Reboot the system or run modprobe legion-laptop to load the module!
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Install DKMS modules
==> ERROR: Missing bin kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing mnt kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing lib kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing efi kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing usr kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing run kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing sbin kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing lib64 kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing var kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing srv kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing home kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing lost+found kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing sys kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing dev kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing proc kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing boot kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing tmp kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing etc kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing opt kernel headers for module lenovolegionlinux/1.0.0.
==> ERROR: Missing root kernel headers for module lenovolegionlinux/1.0.0.

I then tried rebooting, which didn't help, so I tried the other suggestion.

$ sudo modprobe legion-laptop
modprobe: FATAL: Module legion-laptop not found in directory /lib/modules/6.15.9-arch1-1

Indeed, there is nothing installed by this package into /lib/modules/6.15.9-arch1-1. Is that expected?

user2 commented on 2025-06-18 14:22 (UTC)

Try removing your local PKGBUILD cache, e.g. the $HOME/.cache/paru/clone/lenovolegionlinux-dkms-git directory. (Older versions of this PKGBUILD strangely pin to a certain commit despite being a -git package) The upstream has already fixed the compilation problems.

mba commented on 2025-05-20 18:48 (UTC) (edited on 2025-05-20 18:52 (UTC) by mba)

Please update this, it doesn't compile on kernel 6.14.6 at all, exiting with error:

 legiond.c:77:35: error: assignment to ‘void (*)(__sigval_t)’ {aka ‘void (*)(union sigval)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
   77 |         sev.sigev_notify_function = timer_handler;
      |                                   ^
legiond.c:32:6: note: ‘timer_handler’ declared here
   32 | void timer_handler()
      |      ^~~~~~~~~~~~~
make: *** [Makefile:19: legiond.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'lenovolegionlinux-git-r255.e0a361f-1':
error: can't build lenovolegionlinux-dkms-git-r255.ae96a82-0, deps not satisfied: lenovolegionlinux-git
error: packages failed to build: lenovolegionlinux-git-r255.e0a361f-1  lenovolegionlinux-dkms-git-r255.ae96a82-0 

youswer commented on 2025-04-06 04:05 (UTC)

Please update. It doesn't work on kernels version 13 and last 14.

Consult /var/lib/dkms/lenovolegionlinux/1.0.0/build/make.log for more information. ==> WARNING: `dkms install --no-depmod lenovolegionlinux/1.0.0 -k 6.14.0-rc7-1-mainline' exited 10

mba commented on 2024-11-23 17:28 (UTC)

Should we install both DKMS and the other version (lenovolegionlinux-git) if we want the DKMS functionality ? Or should we only install DKMS?