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

Dynamic Kernel Module to add a poll mode to the kbd port in the i8042 chip driver so that the keyboard of the Lenovo 82YU notebook will work on linux

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

hacklian/lenovo_82yu_i8042-dkms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Archive Notice

Important: This dynamic kernel module is 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, this dynamic kernel module 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 patch 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 Linux Keyboard Patch

This repository contains kernel patches for different versions of the Linux kernel to enable the keyboard on the Lenovo V15 G4 AMN notebook to work seamlessly with Linux. The Lenovo V15 G4 AMN notebook is known to have some compatibility issues with the Linux kernel, and this project aims to resolve those issues by providing the necessary kernel patches.

Compatibility

These patches have been tested and are compatible with the following Linux kernel versions:

  • Linux Kernel 5.4
  • Linux Kernel 5.10
  • Linux Kernel 5.15
  • Linux Kernel 6.1
  • Linux Kernel 6.2
  • Linux Kernel 6.3
  • Linux Kernel 6.4
  • Linux Kernel <6.5.10

Usage

To make the keyboard of your Lenovo V15 G4 AMN notebook work on Linux, follow these steps:

  1. Install the DSDT Patches from https://github.com/hacklian/lenovo_82yu_dsdt_patches

  2. Clone this repository to your local machine:

git clone [email protected]:hacklian/lenovo_82yu_i2c_hid-dkms.git
  1. Change into the project directory:
cd lenovo_82yu_i2c_hid-dkms
  1. Run the build.sh script to build the kernel module for your specific kernel version:
./build.sh --kernel-version 6.5

If you omit the kernel version, the build script will create a version for the currently running kernel.

  1. After the build process is complete, you can install the built module using dkms. Run the following command to install the module:
sudo dkms install ./dist/{KERNEL_VERSION}
  1. Run DKMS Autoinstall and recreate the ramdisk
sudo dkms autoinstall
sudo mkinitcpio -P
  1. Reboot your system to apply the changes:
sudo reboot now

The keyboard on your Lenovo V15 G4 AMN notebook should now work properly with Linux.

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.

The Linux Kernel is provided under the SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note. See the COPYING file for details.

About

Dynamic Kernel Module to add a poll mode to the kbd port in the i8042 chip driver so that the keyboard of the Lenovo 82YU notebook will work on linux

Topics

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published