Skip to content

Instantly share code, notes, and snippets.

@bademux
Last active June 29, 2025 14:46
Show Gist options
  • Save bademux/a32ea0651045b5e5a0aa0729bce6c2fa to your computer and use it in GitHub Desktop.
Save bademux/a32ea0651045b5e5a0aa0729bce6c2fa to your computer and use it in GitHub Desktop.
GPD Pocket 4 fix collection

Rotate boot screen

echo 'GRUB_CMDLINE_LINUX="quiet splash fbcon=rotate:1 video=eDP-1:panel_orientation=right_side_up"'>>/etc/default/grub 
update-grub

Update set orientation index with 1 value for Screen Rotate Gnome extention

Fingerprint scaner

wget https://github.com/ftfpteams/focaltech-linux-fingerprint-driver/raw/refs/heads/main/Ubuntu_Debian/x86/libfprint-2-2_1.94.4+tod1-0ubuntu1~22.04.2_amd64_20250219.deb -O libfprint-ftfp.deb
deb-reversion -s ftfp -v 1:1.94.9+tod1-1ubuntu1~25.04 libfprint-ftfp.deb
dpkg -i libfprint-2-2_1.94.9+tod1-1ubuntu1~25.04_amd64.deb
cp /usr/share/polkit-1/rules.d/50-default.rules /etc/polkit-1/rules.d/

Run pam-auth-update and select Fingerprint sensor

Use fprintd-enroll $USER to add new finger

BIOS tuning

Set battery charger level to 90%
Advanced - NBIO:
 GFX Configuration:
  iGPU Advanced = enabled 
  Dedicated Graphics Memory= 4G

 SMU:
  System Configuration= 20W
  Tjmax = 90C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment