====== Chuwi Minibook X N100 ======
See Also: [[teclastf5|Teclast F5]]
Update 2023-12-26
//**After a few weeks of heavy use**//
The half-screen after sleep/hibernate/low-power/screen-dim issue is pretty brutal. What would happen is on wakeup the screen would split in two the bottom half would be a blurry mess that seemed to clean up as you typed frantic xrandr commands to try and get it sane. I went so far as to create a hot-key ctrl-alt-f that made the xrandr call I could bang easily sometimes requiring 5 or more tries until the screen was sane. With the installation of the SID kernel (Debian 6.6.8-1 (2023-12-22) x86_64 GNU/Linux) this issue appears to have been resolved.
So I will be updating a few things below, but as of now I am actually happy with this machine running vanilla debian with a number of tweaks. I have *everything* working and the latest kernel from SID seems to have resolved the crazy half-screen pixellation issue.
===== BIOS =====
Hit F7 At the Chuwi Screen
===== Installing Linux/Debian =====
Debian 12:
* Need USB-C / RJ-45
* Post Install:
* Enable bookworm-backports
*
deb http://deb.debian.org/debian/ bookworm-backports main non-free-firmware non-free
deb-src http://deb.debian.org/debian/ bookworm-backports main non-free-firmware non-free
* apt-get update
* apt-cache search linux-image
* apt-get install linux-image-[>6.5]-amd64 (bpo)
* This fixes Wifi and Bluetooth
* Grub
* fbcon=rotate:1
* i915.enable_psr=2
* i915.mitigations=off
* mitigations=off (Let's assume we are not running a production VMware environment)
* net.ifnames=0 (Unless you like stupid names)
* SDDM / lightdm /login/greeter, Fix rotation at X launch
* Create /etc/X11/xorg.conf.d/10-monitor.conf:
*
Section "Monitor"
Identifier "DSI-1"
option "Rotate" "right"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "DSI-1"
EndSection
* Bluetooth
* cd /usr/lib/firmware/intel
* cp ibt-0040-4150.ddc ibt-0040-1050.ddc
* cp ibt-0040-4150.sfi ibt-0040-1050.sfi
* ScreenFix
* /usr/lib/pmutils/sleep.d/99_xrandr
*
#!/bin/sh
#
# Script: /etc/pm/sleep.d/99_xrandr
# Title: Cleanup screen / Half-Screen Fix
#
# Last Modified: 2023-12-07 22:00:04
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin
case "$1" in
suspend|hibernate) : ;;
resume|thaw)
DISPLAY=:0
export DISPLAY
xrandr --output DSI-1 --mode 1920x1200
;;
esac
exit 0
==== Better Screen Fix ====
The Debian 6.6.8-1 (2023-12-22) x86_64 GNU/Linux kernel from sid, seems to correct the screen problems
* Add the sid repo to /etc/apt/sources.list
* deb http://deb.debian.org/debian/ sid main contrib non-free-firmware non-free
* deb-src http://deb.debian.org/debian/ sid main contrib non-free-firmware non-free
* apt-get update
* apt-get -y install linux-image-6.6.8-amd64
* Comment out the above enties in sources.list