# Linux on the MiniBook X (U300): fan control, tablet mode and a fix for screen glitches at boot

**URL:** <https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685>\
**Category:** Minibook X N100/N150/5100\
**Created:** [November 6, 2026, 11:03pm UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685 "2026-11-06T23:03:52Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishad0w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/ishad0w/32/11743_2.png) [@ishad0w](https://forum.chuwi.com/u/ishad0w)\
**Post date:** [November 6, 2026, 11:03pm UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/1 "2026-11-06T23:03:52Z")

</div>

# 

If you run Linux on the new MiniBook X with the Intel U300 and see garbled or glitchy graphics after startup, a fan you can’t control, or a keyboard that keeps typing when folded into tablet mode, this may help. I’m looking for testers.

> **[GitHub - ishad0w/minibookx-ctl: Linux control utility for CHUWI MiniBook X U300](https://github.com/ishad0w/minibookx-ctl)**
>
> Linux control utility for CHUWI MiniBook X U300

## What it does

- **Fan control daemon.** Quiet, Balance (default) and Performance profiles with editable curves. Changes apply live, without a restart. Short temperature spikes don’t spin the fan up. When the service stops, crashes or the laptop sleeps, fan control goes back to the firmware.
- **Tablet mode.** Folding the laptop disables the built-in keyboard and touchpad; unfolding brings them back. GNOME handles screen rotation and the on-screen keyboard.
- **Optional CPU power limits (PL1/PL2).** Off by default; BIOS settings are left alone.
- **Diagnostics.** `minibookx-ctl --doctor` checks the service, sensors and kernel support, and suggests missing video-acceleration packages.

## Screen glitches after boot, and 60 Hz

The firmware runs the panel at 50 Hz. On my unit, switching it to a 60 Hz timing also got rid of the corrupted image after startup. The repo has a step-by-step guide that uses your distribution’s stock i915 driver: no kernel or module rebuild. You read your own panel table, build a 60 Hz timing file, add it to the boot image and select it with a boot argument.

Guide: [minibookx-ctl/docs/guide/display.md at main · ishad0w/minibookx-ctl · GitHub](https://github.com/ishad0w/minibookx-ctl/blob/main/docs/guide/display.md)

Be aware:

- It’s an experiment tested on one panel; the panel’s rated maximum refresh rate is unknown. 70 Hz produces corruption, so don’t push it further.
- The builder refuses panel tables it doesn’t recognise. Don’t bypass that check.
- Keep a working fallback boot entry while testing.
- Remove the boot argument before a BIOS update.
- Quick workaround if the screen is already glitched: a sleep and wake cycle often restores it temporarily.

The repo also has guides for screen and boot-menu orientation and for Intel video acceleration.

## Requirements

- MiniBook X with Intel U300 and BIOS **ZW.RP11D.26060101.009**. On any other revision or BIOS the service refuses to start. That’s deliberate. **Please don’t flash a BIOS just to test this** ; post your `--doctor` output instead.
- x86\_64 Linux with systemd. I use CachyOS with GNOME. Debian 13, Ubuntu 24.04/26.04, Fedora 43/44 and Arch are checked automatically in containers, but not on real hardware.
- Fan control needs a kernel with writable `ec_sys` support. Without it you can still install with `fan_control = false`: tablet mode works and the firmware keeps the fan.

## Install

Run as your normal user; it asks for sudo itself:

```auto
curl -fsSL https://raw.githubusercontent.com/ishad0w/minibookx-ctl/main/install.sh | sh

```

Check that it works:

```auto
minibookx-ctl --doctor

```

Uninstall:

```auto
sudo /usr/local/bin/minibookx-ctl --uninstall

```

## For the curious

The repo documents what I found about the embedded controller and the BIOS: the EC register map, how the firmware drives the fan, and the BIOS menu options. I also tried to find a battery charge limit (e.g. 90%), but so far neither the BIOS nor the EC interface offers a verified way to set one. If you have dug into this, I’d love to hear from you.

## Feedback

Useful things to report:

- `minibookx-ctl --doctor` output, plus your distribution, kernel and desktop;
- fan behaviour at idle and under load: temperatures, whether the speed keeps hunting up and down;
- folding and unfolding: does the keyboard turn off and come back, does anything get stuck after sleep or closing the lid;
- the service log: `journalctl -u minibookx-ctl -b`

Reply here or open an issue on GitHub.

Experimental software, provided as-is with no warranty. The hardware’s own overheating protection stays enabled.

---

<div class="post-metadata">

**Author:** ![Squid](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/squid/32/11763_2.png) [@Squid](https://forum.chuwi.com/u/Squid)\
**Post date:** [November 7, 2026, 8:40am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/2 "2026-11-07T08:40:52Z")

</div>

Hi,

Thank you so much for these fixes. I have tried them all on my U300 with Ubuntu 26.04.1 and it worked like a charm. You are a true hero. Now I can use this fine laptop properly. Very impressed with your technical knowledge. Your project is what I like with the open source community. Someone has a problem and resolve it to share with others.

With latest Fedora 45 Workstation the panel worked better out of the box. Perhaps because of the nature of a rolling release distro with updated kernel and drivers.

When running Ubuntu 26.04.1 I had to create my own MOK-key for Shim/UEFI or disable Secure Boot to get it to work properly. That is by design and how it is supposed to work. Ubuntu 26.04.1 does not seem to have backported the GNOME Mutter fix yet but perhaps soon. I can put the panel in tablet mode but not revert back to landscape-/laptop mode.

I will continue to test and revert back to you here or on GitHub.

Thanks again! ❤

---

<div class="post-metadata">

**Author:** ![ishad0w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/ishad0w/32/11743_2.png) [@ishad0w](https://forum.chuwi.com/u/ishad0w)\
**Post date:** [November 8, 2026, 1:48am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/3 "2026-11-08T01:48:55Z")

</div>

Hello, @Squid!

Thank you so much for the kind words and for testing everything on Ubuntu 26.04.1! It’s really encouraging to hear that the fixes are working on another U300.

Good catch on Secure Boot! I’ll add a dedicated section to the documentation covering Secure Boot, kernel lockdown and their implications for EC access. The utility itself doesn’t require custom kernel modules, but some of the interfaces it uses can be restricted by the kernel’s security policies.

Your Fedora 45 observation is particularly interesting. The display issue can actually be intermittent, even with the original 50 Hz configuration. For example, suspending and resuming often restores the image.

I’ve investigated this in i915 and found that the driver still uses a 2,500 µs timeout when waiting for DSI `LINK_READY`. Measurements on my U300 showed that the link can take longer to become ready, and increasing the timeout to 5–10 ms resolved the corruption in my downstream tests. So there’s also a tested driver-level workaround, although the upstream RFC patch still needs proper validation.

The 60 Hz VBT workaround is currently the simpler approach since it works with the stock i915 driver and doesn’t require rebuilding kernel modules.

Going forward, I also plan to test more Linux distributions directly on the hardware using live USB environments. This should help identify distribution-specific issues, improve compatibility where possible, and make the installation and troubleshooting guides more reliable. The project already has automated checks for several distributions, but there’s no substitute for testing on actual hardware.

Regarding the Ubuntu tablet mode issue, it does sound consistent with the missing Mutter fix. Just to confirm: does the keyboard/touchpad become active again when unfolding, with only the screen orientation remaining incorrect?

I’d also be curious about the exact kernel version you’re running on Fedora 45, and whether the display consistently works after a full shutdown and cold boot.

And of course, **contributions of any kind are very welcome!** Whether it’s code, testing, bug reports, distribution-specific instructions, or improvements to the documentation. Even small corrections and additional hardware test results are genuinely helpful.

---

<div class="post-metadata">

**Author:** ![Squid](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/squid/32/11763_2.png) [@Squid](https://forum.chuwi.com/u/Squid)\
**Post date:** [November 8, 2026, 5:22am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/4 "2026-11-08T05:22:22Z")

</div>

I only ran the Fedora 45 Workstation in live mode. To my surprise both orientation- and displayed image was correct after first boot. Suspend worked also. Perhaps the Fedora kernel 7.2.15 had some fixes for i915. I did not try tablet mode but can try it and report back.

Yes, correct. Only orientation after tablet mode with Ubuntu 26.04.1 does not work at the moment. AI told me the Mutter fix was backported in the provided/installed Mutter 50.1 package but it does not seem like that.

I will try to contribute as much as I can. This week I was curious about the power draw and sleep levels for the devices. Powertop corrected some of the devices.

It is a pitty that the laptop does not have support for charge levels of the battery. Have you seen if there are hidden features in BIOS/UEFI or in the PMIC? I have not checked if BIOS can be dumped via SPI.

---

<div class="post-metadata">

**Author:** ![ishad0w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/ishad0w/32/11743_2.png) [@ishad0w](https://forum.chuwi.com/u/ishad0w)\
**Post date:** [November 8, 2026, 8:03am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/5 "2026-11-08T08:03:45Z")

</div>

That’s great news about Fedora 45! I’d definitely be interested in the tablet mode results as well. It would be useful to know whether this is a kernel/i915 improvement or simply different panel initialization behaviour.

Regarding battery charging, I’ve investigated this quite extensively. Unfortunately, no verified charge-limit interface (such as 80% or 90%) has been found so far.

A few interesting findings from the research:

- The charger appears to be a **TI BQ24780S**.

- The fuel gauge appears compatible with **Cellwise CW2217**.

- The EC periodically controls charging over SMBus and overwrites its own charging parameters.

- I’ve identified internal EC variables related to charge current, battery SoC and full-charge state, but haven’t found a safe way to control them from userspace.

I’ve also extracted 5,076 BIOS Setup definitions, including hidden and advanced options. There is quite a bit of material worth exploring:

- [BIOS/UEFI research](https://github.com/ishad0w/minibookx-ctl/blob/main/docs/hardware/bios.md)

- [BIOS Setup options database](https://github.com/ishad0w/minibookx-ctl/blob/main/contrib/bios/setup-options.csv)

- [EC register map and research](https://github.com/ishad0w/minibookx-ctl/tree/main/docs/hardware)

- [Charging investigation](https://github.com/ishad0w/minibookx-ctl/blob/main/docs/hardware/charging.md)

A full SPI dump would be interesting too. I haven’t yet established a verified SPI dumping and recovery procedure, so this is definitely an area for further investigation.

I’d be very interested in your PowerTOP findings. And if you want to dig deeper into the charging controller, EC or BIOS, I’d be happy to collaborate. Contributions to the research and documentation are just as welcome as code!

---

<div class="post-metadata">

**Author:** ![Squid](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/squid/32/11763_2.png) [@Squid](https://forum.chuwi.com/u/Squid)\
**Post date:** [November 8, 2026, 11:13am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/6 "2026-11-08T11:13:51Z")

</div>

AI think there are improvements in the i915 module in later kernels but I have not read the changelog. For Ubuntu there are newer mainline kernels to try with. I agree it would be interesting to understand what change(s) where made.

I use a cheap Raspberry Pi Pico to read SMBus-, SPI and I2C data. Projects are on GitHub. I might be able to investigate also. With tools like flashrom I can read most chips and dump the BIOS. I will keep you posted about my findings. To read- and change the dump there are AMI tools and others.

PowerTOP is a bit aggressive and tells the kernel to put almost every device in low power-/sleep mode as soon as it’s possible. I have not run into any weird behaviour. PowerTOP saw that most current was drawn from devices on the PCIe-bus. I think the default power-profiles-daemon (PPD) for control of the U300 is good enough and almost give about the same battery life. But every watt counts of course for a small battery. There are also TLP and tuned but they might need parameters and manual settings. I have not yet tested changing the global ASPM policy.

---

<div class="post-metadata">

**Author:** ![Zebrilus](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@Zebrilus](https://forum.chuwi.com/u/Zebrilus)\
**Post date:** [November 9, 2026, 2:58pm UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/7 "2026-11-09T14:58:42Z")

</div>

Thank you so much, running it on Manjaro 7.2 with KDE Plasma - works great.

---

<div class="post-metadata">

**Author:** ![rui.pedro.leal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/rui.pedro.leal/32/11713_2.png) [@rui.pedro.leal](https://forum.chuwi.com/u/rui.pedro.leal)\
**Post date:** [November 11, 2026, 10:09am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/8 "2026-11-11T10:09:04Z")

</div>

Very nice and thanks for sharing. Actually i got my minibook X u300 yesterday and found your repo not because of the forum, but by a search on github. I’m on Omarchy and Installed minibookx-ctl and it was working several things out of the box already. I had to ask claude to use your repo and MD files to tweak the tablet mode a bit (rotation was not working from the start), but the agent managed to solve it in 5m.

Things i didn’t solve yet:

1. screen corruption sometimes (not always) on the login screen. I just type the password blindly and it works

2. changing the screen refresh rate to 60hz.

Will follow your guide for that and report back.

Again thanks for the app!

---

<div class="post-metadata">

**Author:** ![tim.thawkins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/tim.thawkins/32/11773_2.png) [@tim.thawkins](https://forum.chuwi.com/u/tim.thawkins)\
**Post date:** [November 15, 2026, 7:45am UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/9 "2026-11-15T07:45:24Z")

</div>

I have a u300 version on order which should arrive next week, i plan to load it with Fedora 45 as that is my main daily driver on all my other linux laptops. The latest version of 45 is now running 7.3.3-300 after the first software update.

I will put it through an initial test and record anything that does not work, and what I had to do to fix it.

---

<div class="post-metadata">

**Author:** ![tim.thawkins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.chuwi.com/tim.thawkins/32/11773_2.png) [@tim.thawkins](https://forum.chuwi.com/u/tim.thawkins)\
**Post date:** [November 17, 2026, 6:40pm UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/10 "2026-11-17T18:40:25Z")

</div>

I use a m5stack tab5 unit for all my probing of i2c etc, i also have a small board that gives me access to an i2c bus via isb-c, and I am writting a small MCP server so that my AI coding tools have access to it.

---

<div class="post-metadata">

**Author:** ![benjaminrobinson](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@benjaminrobinson](https://forum.chuwi.com/u/benjaminrobinson)\
**Post date:** [November 21, 2026, 8:18pm UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/11 "2026-11-21T20:18:41Z")

</div>

If the MCP server will let AI tools touch I2C/SMBus, I’d make read-only the default and require an explicit, separate opt-in for writes. The EC bus is not a good place for exploratory writes while the OS is running; charging and fan control can be affected. Same for SPI: dump and verify twice before any write. A bus-level voltage/level check is worth adding to the tool’s preflight, too.

---

<div class="post-metadata">

**Author:** ![jessicaanderson7704](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jessicaanderson7704](https://forum.chuwi.com/u/jessicaanderson7704)\
**Post date:** [November 26, 2026, 11:48pm UTC](https://forum.chuwi.com/t/linux-on-the-minibook-x-u300-fan-control-tablet-mode-and-a-fix-for-screen-glitches-at-boot/56685/12 "2026-11-26T23:48:37Z")

</div>

ive seen the same kind of locked power tables on other linux laptops like the nvidia rtx spark where the gpu drops to 780mhz on wall power because of encrypted windows-only firmware [Nvidia RTX Spark laptop drops to 13.9 tokens per second on native Linux over encrypted power firmware](https://newscrawler.org/en/e/nvidia-rtx-spark-laptop-drops-13-9-tokens/) and it feels a lot like the ec overwriting parameters you described on the u300. your work with the bq24780s and cw2217 might be the closest thing we have to cracking that kind of thing without a full dump.
