ty2 / goodix-gt7868q-linux-driver

Goodix GT7868Q Linux Driver
GNU General Public License v2.0
25 stars 5 forks source link

My operating OS is Ubuntu 24.04, how can I use this linux driver in Ubuntu? #5

Open liaoweiyang2017 opened 2 months ago

ty2 commented 2 months ago

You can easily install it using DKMS.

# Install the DKMS configuration file to the appropriate directory
sudo install -Dm644 dkms/dkms.conf /usr/src/goodix-gt7868q-0.1.0/dkms.conf

# Copy the source to the DKMS source directory
sudo cp -r . /usr/src/goodix-gt7868q-0.1.0

# Add the DKMS module to the system
sudo dkms add -m goodix-gt7868q/0.1.0

# Install the DKMS module
sudo dkms install goodix-gt7868q/0.1.0

# Install the custom libinput quirks file to the appropriate directory
sudo install -Dm644 local-overrides.quirks /usr/share/libinput/60-custom-thinkbookg6p2024imh.quirks

# Check the status of the DKMS modules
sudo dkms status
# Reboot the system to apply changes
sudo reboot