Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

DSDT Patches for Lenovo 82YU (Lenovo V15 G4 AMN) Notebook

License

Notifications You must be signed in to change notification settings

hacklian/lenovo_82yu_dsdt_patches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repository Archive Notice

Important: These DSDT patches are now obsolete as of Linux Kernel versions >=6.5.10 and >=6.6.1. It is strongly recommended to update your Linux kernel to at least these versions. Following this update, the keyboard and touchpad functionalities for Lenovo V15 G4 AMN notebooks should work without the need for additional patches.

For users running older kernel versions, including most LTS Kernels up until 2026, these patches may still be used. Because of that, this repository is now being archived for future reference.

It's worth noting that the official kernel patch functions differently and, notably, more effectively than the patches provided in this repository. The official fix does not necessitate DSDT patching and offers better touchpad accuracy. For users still on older kernel versions, considering the application of the official fix is recommended for optimal results. You can get more information about the offical kernel patch here.

Lenovo V15 G4 AMN DSDT Patches for Linux

This repository contains DSDT (Differentiated System Description Table) patches for the Lenovo V15 G4 AMN notebook to enable keyboard and touchpad functionality on Linux. These patches are essential for ensuring full hardware compatibility with Linux-based operating systems.

What are DSDT Tables and why do we sometimes need to patch them?

DSDT tables are typically written by the hardware manufacturer and define how the operating system should interact with various hardware components. However, sometimes these tables have issues or inaccuracies, which can lead to hardware compatibility problems or performance issues, especially when running non-Windows operating systems like Linux.

DSDT patches are modifications made to the DSDT table to correct issues, improve hardware support, or optimize the system's ACPI implementation. In this case, the Manufacturers DSDT Table has wrong Interrupt Configurations which need to be patched.

Usage

Follow these steps to apply the DSDT patches to your Lenovo V15 G4 AMN notebook:

  1. Clone this repository to your local machine and change into the project directory:
git clone git@github.com:hacklian/lenovo_82yu_dsdt_patches.git
cd lenovo_82yu_dsdt_patches
  1. Run the provided patcher.sh bash script in the project directory:
./patcher.sh
  1. Copy the generated DSDT image to the /boot folder: Note: You need administrative privileges when copying the patched DSDT image to the /boot directory and updating your bootloader configuration.
sudo cp dist/patched_dsdt.img /boot/patched_dsdt.img
  1. Update your bootloader configuration to include the patched DSDT image. The specific steps may vary depending on your bootloader. Here's an example for systemd-boot:

    • Open your bootloader configuration file, typically located at /boot/loader/entries/<your_entry>.conf.
    • Add the following line to the configuration file:
    initrd /patched_dsdt.img
    • Save the configuration file and exit the text editor.
    • Reboot your system.
  2. Install the Dynamic Kernel Modules from:

Contributing

If you encounter issues or have improvements to the patches, feel free to open an issue or submit a pull request. Your contributions are welcome and appreciated.

License

This project is licensed under the GNU GENERAL PUBLIC License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages