GPD Pocket 3

  • https://wiki.archlinux.org/title/GPD_Pocket
  • https://wiki.archlinux.org/title/GPD_Pocket_3

Install

系统安装过程参考:Archlinux

Setup

Screen

The Pocket 3’s display is designed for portrait devices and is rotated by 90 degrees counter-clockwise by default.
GPD Pocket 3 的屏幕总成用的是平板电脑的库存屏幕,默认的固件是竖屏模式,可以通过下面的命令修改屏幕的模式。

~# xrandr --rotate right

可以添加到配置文件 /etc/X11/xorg.conf.d/01-monitor.conf

+ Section "Monitor"
+   Identifier "DSI-1"
+   Option "Rotate" "right"
+ EndSection

Note: The Identifier may be different depending on your display driver of choice (either DSI-1 for modesetting or DSI1 for xf86-video-intel)

Install intel video drivers

~# pacman -S xf86-video-intel

/etc/X11/xorg.conf.d/20-intel.conf

Section "Device" 
  Identifier  "Intel Graphics" 
  Driver      "intel" 
  Option      "AccelMethod"     "sna" 
  Option      "TearFree"        "true" 
  Option      "DRI"             "2" 
EndSection

安装后 Identifier/etc/X11/xorg.conf.d/01-monitor.conf 中的 DSI-1 改为 DSI1

Section "Monitor"
-   Identifier "DSI-1"
+   Identifier "DSI1"
    Option "Rotate" "right"
EndSection

屏幕缩放

由于屏幕分辨率较高,所以 UI 元素较小,需要调整 DPI 来缩放屏幕。

~/.Xresources

Xft.dpi: 144

如果需要支持多显示器可以设置一下:

Section "Monitor"
    Identifier  "DSI1"
    Option      "Rotate"        "right"
    Option      "Primary"       "true"
EndSection

Section "Monitor"
    Identifier  "HDMI1"
    Option      "LeftOf"        "DSI1"
    Option      "PreferredMode" "3840x2160"
    Option      "DPI"           "144x144"
EndSection

Backlight 屏幕背光控制

~$ pacman -S xorg-xbacklight
~$ xbacklight -set 80

Touch Screen

Install xf86-input-wacom

/etc/X11/xorg.conf.d/99-touchscreen.conf

Section "InputClass"
  Identifier    "calibration"
  Driver        "wacom"
  MatchProduct  "GXTP7380"
  Option        "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
  Option        "Button2" "3"
EndSection

Sound

~# pacman -S sof-firmware

Sources Used in this Document