Differences between revisions 1 and 23 (spanning 22 versions)
Revision 1 as of 2020-07-26 12:14:59
Size: 6113
Editor: ?sixsixfive
Comment:
Revision 23 as of 2020-09-25 16:47:27
Size: 9782
Editor: ?sixsixfive
Comment: workaround for the tablet mode xorg
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## In this block, we describe the similar, compatible models that are also covered by this guide.
~-''Models covered''-~<<BR>>'''Chuwi Minibook 256GB.M2+8GBRAM m3-8100Y w/ W10 Home
'''
Line 11: Line 15:
|| Fan Control || {?} ||
Line 25: Line 28:
|| Fingerprint Reader || {i} ||
|| Rotation Sensor || {i} ||
|| Optical touch sensor || {OK} ||
|| Fingerprint Reader || {X} ||
|| Rotation Sensor || {OK} ||
Line 43: Line 47:
If you want to remove warnings about missing firmware(i915/glk_dmc_ver1_04.bin) install DebianPkg:intel-microcode, DebianPkg:iucode-tool and DebianPkg:firmware-misc-nonfree

== Audio ==

Alsa, works out of the box.
If you want to remove warnings about missing firmware install DebianPkg:intel-microcode, DebianPkg:iucode-tool and DebianPkg:firmware-misc-nonfree

=== Screen Rotation ===

==== Framebuffer rotation ====

If you want to use the framebuffer console in landscape mode add the following to your Kernel commandline:

~-{{{fbcon=rotate:1}}}-~

If you add this to your GRUB2 config, don't forget to run update-grub.

Also I couldn't find a way to rotate the grub screen.

==== Xorg rotation ====

To launch Xorg always in landscape mode add this file to your /etc/X11/xorg.conf.d dir:

'''20-defaultrotatescreen.conf'''

~-{{{
Section "Monitor"
 Identifier "eDP1"
 Option "rotate" "right"
EndSection
}}}-~

If this fails(sometimes it is called eDP-1) replace eDP1 with your active output: {{{xrandr --listactivemonitors}}}

You also need to rotate the touchscreen with another file:

'''21-defaultrotatetouchscreen.conf'''

~-{{{
Section "InputClass"
    Identifier "GoodixTouchscreen"
    MatchProduct "Goodix Capacitive TouchScreen"
    Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection
}}}-~

=== Tablet/Yoga mode ===

There are some tools available to autorotate the screen and touchscreen on Linux however I havent tested it since I just need a small laptop and Linux isn't really useful with touchscreens.

 * [[https://github.com/pierroelmito/2in1screen|2in1screen]]
 *[[https://github.com/alesguzik/linux_detect_tablet_mode|linux_detect_tablet_mode]]

=== Hide the mouse cursor for touchscreen use ===

You can also hide the mouse cursor if its not in use with DebianPkg:unclutter or DebianPkg:unclutter-xfixes.
Line 54: Line 104:

Note: The 3165 wifi module seems to be very prone to platform noise and it works much better if you limit the 2.4GHz Wifi to 20 MHz.

See also:

 * [[https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_platform_noise|Platform noise iwlwifi@Linux Wireless wiki]]

== Hibernation ==

Unlike WIndows where the Notebook only supports Hybrid sleep you can also hibernate on Linux however If you install Linux on the eMMC or sdcard make sure to use a [[https://wiki.debian.org/Hibernation#Hibernate_without_Swap_Partition|swap file instead of a swap partition]]

=== Power Saving ===

For power saving you can try DebianPkg:tlp which works well if you enable auto dim and downclocking(~6-7 hours on battery mode) or use DebianPkg:powertop to optimize your power consumption.

You can also install [[https://forum.chuwi.com/t/minibook-ec-patch-fans-turn-off-now/4678|this]] custom EC wich will turn the fan off at lower temperatures.

Another way to increase battery time is to install [[https://forum.chuwi.com/t/bios-update-mod-unlock/3113|this]] unlocked BIOS to lower the maximum turbo multiplier.

=== Fingerprint reader ===

The device from Focaltech is [[https://fprint.freedesktop.org/supported-devices.html|not supported by fprint]] yet however you can check from time to time the [[https://packages.debian.org/search?keywords=fprint|experimental fprint releases]].

== Device workarounds ==

=== Battery meter is incorrect ===

You can recalibrate your battery if you completely discharge the battery(just turn it on on on until there is no screen going on) and charge it overnight.

If this doesnt work disconnect the battery for a few minutes and reconnect.

=== Keyboard is not working in X11 ===

Depending on your libinput/debian version the Xorg server might start in tablet mode and disables your keyboard(Your keyboard should work in recovery mode/virtual console)

to fix this just let Xorg ignore the laptop mode switch by adding this file to your /etc/X11/xorg.conf.d dir:

'''00-tabletmodefix.conf'''

~-{{{
Section "InputClass"
    Identifier "IntelVirtualButtons"
    MatchProduct "Intel Virtual Button driver"
    Option "Ignore" "on"
EndSection
}}}-~
Line 59: Line 156:

== lscpu ==

~-{{{
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 122
Model name: Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
Stepping: 1
CPU MHz: 2084.120
CPU max MHz: 2800,0000
CPU min MHz: 800,0000
BogoMIPS: 2995.20
Virtualization: VT-x
L1d cache: 24K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid arch_capabilities
}}}-~

Line 95: Line 161:
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:31f0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3184] (rev 03)
00:0c.0 Network controller [0280]: Intel Corporation Device [8086:31dc] (rev 03)
00:0e.0 Audio device [0403]: Intel Corporation Device [8086:3198] (rev 03)
00:0f.0 Communication controller [0780]: Intel Corporation Device [8086:319a] (rev 03)
00:12.0 SATA controller [0106]: Intel Corporation Device [8086:31e3] (rev 03)
00:13.0 PCI bridge [0604]: Intel Corporation Device [8086:31d8] (rev f3)
00:13.2 PCI bridge [0604]: Intel Corporation Device [8086:31da] (rev f3)
00:15.0 USB controller [0c03]: Intel Corporation Device [8086:31a8] (rev 03)
00:1c.0 SD Host controller [0805]: Intel Corporation Device [8086:31cc] (rev 03)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:31e8] (rev 03)
00:1f.1 SMBus [0c05]: Intel Corporation Device [8086:31d4] (rev 03)
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:590c] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 615 [8086:591c] (rev 02)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02)
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
00:15.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 [8086:9d62] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1)
00:1e.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 [8086:9d27] (rev 21)
00:1e.3 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO SPI Controller #1 [8086:9d2a] (rev 21)
00:1e.4 SD Host controller [0805]: Intel Corporation Device [8086:9d2b] (rev 21)
00:1e.6 SD Host controller [0805]: Intel Corporation Sunrise Point-LP Secure Digital IO Controller [8086:9d2d] (rev 21)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d4b] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
01:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 79)
Line 126: Line 199:
 * [[https://downloadcenter.intel.com/product/126137|Intel Product Support]]  * [[https://forum.chuwi.com/t/topic/3282|Chuwi Product Support]]
Line 131: Line 204:
CategoryBareboneComputer CategoryLaptopComputer

Models covered
Chuwi Minibook 256GB.M2+8GBRAM m3-8100Y w/ W10 Home

Overall Status

Core Components

photo.png

Boot Standard Kernel:

{OK}

LAN network card:

[-]

Detect hard drive:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

{OK}

Sleep / Suspend

{OK}

Xorg

{OK}

- OpenGL (Intel)

{OK}

- TwinView/Xinerama

{OK}

Screen (Mini HDMI1)

{OK}

Screen Rotation

{i}

Touchscreen

{i}

Wireless

- Bluetooth

X-(

- Wifi

X-(

Integrated Microphone

{OK}

Integrated Camera

{OK}

Optical touch sensor

{OK}

Fingerprint Reader

{X}

Rotation Sensor

{OK}

Card Reader

{OK}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Installation

If you need networking use the non-free install media to avoid any issues.

Configuration

Display/GPU

The built-in Intel UHD 615 graphic card works out of the box with the modesetting driver but it will also work withe the old intel driver xserver-xorg-video-intel.

If you have a graphical corruption at the top of the screen boot the kernel with i915.enable_fbc=0, See Xorg Bug 108085.

If you want to remove warnings about missing firmware install intel-microcode, iucode-tool and firmware-misc-nonfree

Screen Rotation

Framebuffer rotation

If you want to use the framebuffer console in landscape mode add the following to your Kernel commandline:

fbcon=rotate:1

If you add this to your GRUB2 config, don't forget to run update-grub.

Also I couldn't find a way to rotate the grub screen.

Xorg rotation

To launch Xorg always in landscape mode add this file to your /etc/X11/xorg.conf.d dir:

20-defaultrotatescreen.conf

Section "Monitor"
        Identifier   "eDP1"
        Option       "rotate" "right"
EndSection

If this fails(sometimes it is called eDP-1) replace eDP1 with your active output: xrandr --listactivemonitors

You also need to rotate the touchscreen with another file:

21-defaultrotatetouchscreen.conf

Section "InputClass"
    Identifier "GoodixTouchscreen"
    MatchProduct    "Goodix Capacitive TouchScreen"
    Option    "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection

Tablet/Yoga mode

There are some tools available to autorotate the screen and touchscreen on Linux however I havent tested it since I just need a small laptop and Linux isn't really useful with touchscreens.

Hide the mouse cursor for touchscreen use

You can also hide the mouse cursor if its not in use with unclutter or unclutter-xfixes.

Network

WiFi/Bluetooth

Requires the firmware-iwlwifi package.

Note: The 3165 wifi module seems to be very prone to platform noise and it works much better if you limit the 2.4GHz Wifi to 20 MHz.

See also:

Hibernation

Unlike WIndows where the Notebook only supports Hybrid sleep you can also hibernate on Linux however If you install Linux on the eMMC or sdcard make sure to use a swap file instead of a swap partition

Power Saving

For power saving you can try tlp which works well if you enable auto dim and downclocking(~6-7 hours on battery mode) or use powertop to optimize your power consumption.

You can also install this custom EC wich will turn the fan off at lower temperatures.

Another way to increase battery time is to install this unlocked BIOS to lower the maximum turbo multiplier.

Fingerprint reader

The device from Focaltech is not supported by fprint yet however you can check from time to time the experimental fprint releases.

Device workarounds

Battery meter is incorrect

You can recalibrate your battery if you completely discharge the battery(just turn it on on on until there is no screen going on) and charge it overnight.

If this doesnt work disconnect the battery for a few minutes and reconnect.

Keyboard is not working in X11

Depending on your libinput/debian version the Xorg server might start in tablet mode and disables your keyboard(Your keyboard should work in recovery mode/virtual console)

to fix this just let Xorg ignore the laptop mode switch by adding this file to your /etc/X11/xorg.conf.d dir:

00-tabletmodefix.conf

Section "InputClass"
    Identifier "IntelVirtualButtons"
    MatchProduct    "Intel Virtual Button driver"
    Option    "Ignore" "on"
EndSection


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:590c] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 615 [8086:591c] (rev 02)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02)
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
00:15.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 [8086:9d62] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1)
00:1e.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 [8086:9d27] (rev 21)
00:1e.3 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO SPI Controller #1 [8086:9d2a] (rev 21)
00:1e.4 SD Host controller [0805]: Intel Corporation Device [8086:9d2b] (rev 21)
00:1e.6 SD Host controller [0805]: Intel Corporation Sunrise Point-LP Secure Digital IO Controller [8086:9d2d] (rev 21)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:9d4b] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
01:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 79)

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2020-07-28 20:29:06, 25.8 KB) [[attachment:photo.png]]
 All files | Selected Files: delete move to page copy to page

Credits


CategoryLaptopComputer