Comments (11)
The script is here : deploy/LenovoLegionLinux.
It checks the installation of mkinitcpio and dracut, however the mkinitcpio branch is commented out. Logic here is strange.
from lenovolegionlinux.
Yeah, the hook is broken and should be removed
The kernel-module is unrelated to initramfs
CC @MrDuartePT
We'd like to accept a patch to fix the PKGBUILD
from lenovolegionlinux.
The script is here : deploy/LenovoLegionLinux. It checks the installation of mkinitcpio and dracut, however the mkinitcpio branch is commented out. Logic here is strange.
Basically I comment wrong, should haven't only comment line 13 to prevent mkinitcpio of running twices (basically arch already has a hook that run mkinitcpio when a out-of-kernel tree module is install.
Also the install dosen't fail since, I just need to add a messange to mkinitcpio like: "Using mkinitcpio arch linux hook"
from lenovolegionlinux.
$ legion_cli Traceback (most recent call last): File "/usr/bin/legion_cli", line 5, in <module> from legion_linux.legion_cli import main ModuleNotFoundError: No module named 'legion_linux'
Now this error I don't understand why it happen please check if legion_linux is available on legion_linux python install directory. Since the AUR PKGBUILD
is base on the gentoo ebuild and the gentoo ebuild is still working fine
from lenovolegionlinux.
@st0nie @Linkachus17 looking at the action logs the aur shouldn't give that error: https://github.com/johnfanv2/LenovoLegionLinux/actions/runs/8957813959/job/24601322012#step:3:4340
The arch linux container install the packages by cloning the aur repo.
from lenovolegionlinux.
I can not reproduce this error on manjaro live cd, and since the github action also don't have the error I would assume is your arch install and not the PKGBUILD.
Closing since is not a bug LLL
from lenovolegionlinux.
@Linkachus17 seems that arch linux change to python3.12 recently you probably need to uninstall and install LLL again
from lenovolegionlinux.
I can confirm that there's something wrong with my Arch install previously, not sure why. I reinstalled my Arch last night and now LLL works fine
from lenovolegionlinux.
I had the same error. I think it's related to this:
Module version for legion-laptop.ko.zst
exactly matches what is already found in kernel 6.9.3-arch1-1.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod lenovolegionlinux/1.0.0 -k 6.9.3-arch1-1' exited 6
Running dkms install --no-depmod --force lenovolegionlinux/1.0.0 -k 6.9.3-arch1-1
seemed to fix it for me.
from lenovolegionlinux.
I had the same error. I think it's related to this:
No, it not related since is the module and not Python app
Module version for legion-laptop.ko.zst exactly matches what is already found in kernel 6.9.3-arch1-1. DKMS will not replace this module.
If you read the message carefully, it explains you already have the module install so dkms will not replace it.
from lenovolegionlinux.
No, it not related since is the module and not Python app
Doesn't the Python app depend on the module?
If you read the message carefully, it explains you already have the module install so dkms will not replace it.
Yeah, which is why I --force
d it. I think maybe the previous module didn't properly get removed when I un-installed and reinstalled the package. So I always had the apparently corrupted module, and only like this I was able to replace it.
By the way, I also deleted the LLL directory in /var/libs/dkms/
. I remember that I once updated the Nvidia driver and an old directory remained there, so mkinitcpio complained about a missing config.
from lenovolegionlinux.
Related Issues (20)
- [BUG]When the load and temperature of the NVIDIA GPU increase, the fan speed lock at 2300 rpm HOT 2
- [BUG] fan curve doesnt work on 5 pro 16irx8 HOT 1
- [BUG] Cannot change fancurve Legion 5 15IAH7H HOT 2
- [Question] Is the thinkbook 16+ 2024 raptor edition applicable? HOT 1
- Support for Lenovo 7 Pro 16IRX9 (2023) HOT 12
- Cannot interact with GUI on 16IAH7H gen 7 / 2022
- [BUG] After the latest update in Garuda LenovoLegionLinux doesnt work anymore. HOT 4
- Architecture: Implement background Service legiond in Python HOT 12
- [BUG] repository 'https://johnfanv2.github.io/LenovoLegionLinux/package_repo/ubuntu ./ Release' no longer has a Release file HOT 1
- Support for Lenovo Legion Slim 5 16AHP9
- [BUG] Running `systemd_install.sh` failed HOT 1
- [BUG] Incorrect CPU Long Term Power Limit (Cross Loading) applied and cannot be changed HOT 1
- Legion Pro 7 16IRX8H 82WQ audio not working on debian HOT 2
- CachyOs question
- [FEATURE REQUEST] Support `rpm-ostree` HOT 2
- Support For Legion 7 16IRX9 (2024)
- Add support for Lenovo LOQ 15IAX9 HOT 2
- [BUG] legion slim7 16ARHA7
- 修复 Legion Y9000X 2022 IAH7 内置扬声器在 Linux 下无声音的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lenovolegionlinux.