ty2 / ideapad-laptop-tb2024g6plus

The IdeaPad ACPI Extras kernel modules for ThinkBook 2024 G6+
GNU General Public License v2.0
12 stars 2 forks source link

Any chance of Ubuntu/Fedora version? #1

Open lightproof opened 1 month ago

lightproof commented 1 month ago

Do you plan to adapt the patch to Ubuntu and Fedora, or may be give some instructions on how to do it myself? Thanks!

m-chrome commented 1 month ago

@ty2 +1, actual issue for me too.

Try to make and install manually with dkms+stackoverflow+magic, module installed successfully, but not work.

upd: make it work

Environment:

OS: Ubuntu 24.04 LTS x86_64 Host: 21LE ThinkBook 16 G6+ IMH Kernel: 6.9.3-060903-generic

What have I done step by step:

Build module in repo

make

Copy sources and built module to usr/src/

sudo cp -r . /usr/src/ideapad-laptop-tb2024g6plus-6.9

Copy dkms.conf

sudo cp dkms/dkms.conf /usr/src/ideapad-laptop-tb2024g6plus-6.9/dkms.conf

Add and install module

sudo dkms add -m ideapad-laptop-tb2024g6plus/6.9
sudo dkms install ideapad-laptop-tb2024g6plus/6.9
sudo dkms status

Blacklist old ideapad-laptop module

sudo echo "blacklist ideapad-laptop" > /etc/modprobe.d/blacklist.conf

Reboot laptop

sudo reboot

P.S. It seems working, but need more checks P.S.S. If it works clearly, I may be provide PR with Makefile improvements later and README

upd2: finally it works

m-chrome commented 1 month ago

@ty2 I made PR with makefile fixes, please review it. It tested and works on my laptop.

@lightproof you can use my fork until my changes not merged. Some limitations - you need to use linux kernel 6.9

lightproof commented 1 month ago

@m-chrome thanks, I'll give it a try! Now I have to do the same for Fedora somehow :)