Skip to content

Latest commit

 

History

History
153 lines (100 loc) · 4.91 KB

README.md

File metadata and controls

153 lines (100 loc) · 4.91 KB

README

A collection of goodies and hints to get an almost full Linux support on the GOLE1 PRO Mini Touch PC.

gole1-min

I am currently running the following setup:

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® J4125 CPU @ 2.00GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600

However, stuff mentioned here is applicable to any recent Linux distribution.

Fix the rotation sensor orientation

** This step is not needed anymore starting with Fedora 41 **

Add /etc/udev/hwdb.d/61-sensor-local.hwdb from this repo, then

sudo systemd-hwdb update
sudo udevadm trigger -v -p DEVNAME=/dev/iio:device0

Fix internal speaker sound

With the default configuration no sound is emitted by the internal speakers (headphones are working just fine). To make the internal speakers working, copy ./lib/firmware/hda-jack-retask.fw to /lib/firmware/hda-jack-retask.fw, ./etc/modprobe.d/hda-jack-retask.conf to /etc/modprobe.d/hda-jack-retask.conf and reboot.

These files are generated using hdajackretask from alsa-tools.

Screenshot from 2024-01-06 00-46-00

Note: when upgrading to Fedora 40 you need to cleanup the local wireplumber dir:

rm -rf ~/.local/state/wireplumber 

Better Wi-Fi driver

Use the rtw driver: https://github.com/lwfinger/rtw88

Place ./etc/modprobe.d/rtw88-blacklist.conf and ./etc/modprobe.d/rtw.conf into /etc/modprobe.d/.

An handy script to compile the module when needed is:

#!/bin/bash

make clean
make
sudo make install
sudo modprobe rtw_8821ce

Improve r8169 driver realiability after hibernation

The r8169 driver is known to have issues after hibernation. To improve the reliability of the driver, reload the r8169 module after resuming from hibernation.

Place ./etc/systemd/system/r8169-hibernate.service into /etc/systemd/system/ and enable the service:

sudo systemctl enable r8169-hibernate.service

Enable support of Wayland OSK in Google Chrome and Chromium

To be able to use a Wayland based OSK (provided by either Gnome or KDE) in Google Chrome or Chromium, you have to pass the following parameters to the executable:

Input version 1 (KWin)

--ozone-platform=wayland --enable-wayland-ime

Input version 3 (Mutter)

--ozone-platform=wayland --enable-wayland-ime --wayland-text-input-version=3

To make the change permanent:

cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications
sed -i 's/google-chrome-stable/google-chrome-stable --ozone-platform=wayland --enable-wayland-ime/g' ~/.local/share/applications/google-chrome.desktop

Tested with Google Chrome Version 127.0.6533.119 (Official Build) (64-bit)

KDE

As writing (Fedora 40), KDE with Plasma 6 seems to be the best option to run a DE on the Gole 1 Mini (or in general on any touch based device), since no third-party (and not always well maintained) extensions are required. It also provides, out of the box, support for any fractional display scaling factor.

It is recommended to enable the "Touch Points" Desktop Effect under the Window Management section of the KDE System Settings:

image

You may also want to disable some other effects, like the window minimize and maximize ones to save some power.

Gnome

Disable disk space warning on /boot/efi in Gnome

Local user

gsettings set org.gnome.settings-daemon.plugins.housekeeping ignore-paths "['/boot/efi']"

GDM user

sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.housekeeping ignore-paths "['/boot/efi']"

Enable fractional scaling in Gnome

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Recommend Gnome extensions

Phosh

Install 'phosh' on Fedora

sudo dnf install -y phosh

Custom scaling factor in phosh

Add the folowing lines to /etc/phosh/phoc.ini:

[output:DSI-1]
scale = 1.50