sonnyp / linux-minibook-x

Linux for the Chuwi MiniBook X 2023 / N100
29 stars 1 forks source link

Linux MiniBook X

This project is dedicated to documenting, collaborating and coordinating efforts over excellent out-of-the-box Linux support for the laptop known as

Contributions welcome.

General info

Hardware Support

As of Linux 6.8 (2023-03-02)

Feature Support Info
Display ✅* Not all kernel versions
Audio Including speakers and combo jack
GPU
Accelerometer ✅*
Lid Switch
Tablet Switch
Performance profiles
Screen brightness
Media keys
USB-C ports Full featured incl Display Port
Touch screen Multi-Touch
Keyboard
Touchpad Multi-Touch
Keyboard backlight
Night Light
Bluetooth
Ambient light sensor ?
Wifi

Features

Display

Between Linux 6.6.15 and Linux 6.9.0 the display output is broken. It looks like a hardware issue where only half of the panel is used and it presents glitches.

See

Orientation

The "physicial" screen orientation is incorrect. You can fix it in` the display settings by changing the orientation to "Portrait Right" but that will only work once post boot.

A better solution is to set the following kernel parameter video=DSI-1:panel_orientation=right_side_up.

TODO: submit a patch to https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/drm_panel_orientation_quirks.c

Refresh rate

Out of the box, the display supports 50hz.

I've succesfully managed to use 60hz and even 90hz on Windows but wasn't able to do so on Linux yet.

⚠️ It's unclear what effects increasing the refresh rate can have. It may degrade the hardware.

Resolution

The resolution is 1920x1200 (16:10).

You'll need fractonal scaling, on GNOME if it's not enabled you can do so with

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

150% is recommended, specially for touch but it's usable at 125%.

Brightness

Tablet switch

There is a physical switch to trigger the tablet mode in order to lock the keyboard and touchpad. However it's not currently working. On Windows it appears to use PNP0C60 / INT33D3.

It's not working on Linux but there is some support for it.

Possibly helpful

Accelerometer

There is a MEMSIC MXC6655 accelerometer in the device for detecting screen orientation.

Since Linux 6.9.0 it is supported and you can read its value.

However auto rotation in GNOME doesn't work even though the iio-sensor-proxy is able to read the device orientation. That is because it needs the tablet switch to work to enable auto rotation.

You can use this extension meanwhile https://extensions.gnome.org/extension/5389/screen-rotate/

See

License

CC BY-SA 4.0

https://creativecommons.org/licenses/by-sa/4.0/