Differences between revisions 3 and 29 (spanning 26 versions)
Revision 3 as of 2020-07-26 12:24:45
Size: 8279
Editor: ?sixsixfive
Comment:
Revision 29 as of 2020-09-26 12:14:20
Size: 11485
Editor: ?sixsixfive
Comment:
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 18: Line 21:
|| Screen (USB-C HDMI2) || {OK} ||
Line 25: Line 29:
|| Fingerprint Reader || {i} ||
|| Rotation Sensor || {i} ||
|| Optical touch sensor || {OK} ||
|| Fingerprint Reader || {X} ||
|| Stylus (H
iPen H3) || {OK} ||
|| Rotation Sensor || {OK} ||
Line 43: Line 49:
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
}}}-~


=== 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.

== Tablet/Yoga mode ==

There are some tools available to autorotate the screen and touchscreen on Linux or to disable the keyboard if the tablet mode switch is triggerd. However I haven't 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]]
Line 54: Line 107:

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]]

=== 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.

== 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]]

=== 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 workaround this issue just let Xorg ignore the tablet 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 159:

== lscpu ==

~-{{{
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 142
Model name: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz
Stepping: 9
CPU MHz: 1313.167
CPU max MHz: 3400,0000
CPU min MHz: 400,0000
BogoMIPS: 3199.92
Virtualization: VT-x
L1d cache: 64 KiB
L1i cache: 64 KiB
L2 cache: 512 KiB
L3 cache: 4 MiB
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtr
                                 r pge mca cmov pat pse36 clflush dts acpi mmx f
                                 xsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rd
                                 tscp lm constant_tsc art arch_perfmon pebs bts
                                 rep_good nopl xtopology nonstop_tsc cpuid aperf
                                 mperf pni pclmulqdq dtes64 monitor ds_cpl vmx e
                                 st tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_
                                 1 sse4_2 x2apic movbe popcnt tsc_deadline_timer
                                  aes xsave avx f16c rdrand lahf_lm abm 3dnowpre
                                 fetch cpuid_fault epb invpcid_single pti ssbd i
                                 brs ibpb stibp tpr_shadow vnmi flexpriority ept
                                  vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep
                                  bmi2 erms invpcid mpx rdseed adx smap clflusho
                                 pt intel_pt xsaveopt xsavec xgetbv1 xsaves dthe
                                 rm ida arat pln pts hwp hwp_notify hwp_act_wind
                                 ow hwp_epp md_clear flush_l1d
}}}-~

Line 109: Line 161:
## Paste the output of "lspci -nn" here, within some {{{ }}} brackets. Optionally, attach "lscpi -vnn"
##(lspci -nn missing)
##(lspci -nn)
Line 135: Line 186:
== lsusb ==

##(lsusb)

~-{{{
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0603:0003 Novatek Microelectronics Corp. USB Composite Device
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 058e:3821 Tripath Technology, Inc. 2M Front Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
}}}-~


== xinput ==

##(xinput --list)

~-{{{
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SIPODEV USB Composite Device Mouse id=11 [slave pointer (2)]
⎜ ↳ Goodix Capacitive TouchScreen id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ 2M Front Camera: 2M Front Camer id=10 [slave keyboard (3)]
    ↳ Intel HID events id=13 [slave keyboard (3)]
    ↳ Intel HID 5 button array id=14 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
    ↳ Goodix Capacitive TouchScreen id=16 [slave keyboard (3)]
}}}-~

Line 155: Line 242:
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 (USB-C HDMI2)

{OK}

Screen Rotation

{i}

Touchscreen

{i}

Wireless

- Bluetooth

X-(

- Wifi

X-(

Integrated Microphone

{OK}

Integrated Camera

{OK}

Optical touch sensor

{OK}

Fingerprint Reader

{X}

Stylus (?HiPen H3)

{OK}

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

Hide the mouse cursor for touchscreen use

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

Tablet/Yoga mode

There are some tools available to autorotate the screen and touchscreen on Linux or to disable the keyboard if the tablet mode switch is triggerd. However I haven't tested it since I just need a small laptop and Linux isn't really useful with touchscreens.

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:

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.

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

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 workaround this issue just let Xorg ignore the tablet 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)

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0603:0003 Novatek Microelectronics Corp. USB Composite Device
Bus 001 Device 003: ID 8087:0a2a Intel Corp. 
Bus 001 Device 002: ID 058e:3821 Tripath Technology, Inc. 2M Front Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

xinput

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SIPODEV USB Composite Device Mouse        id=11   [slave  pointer  (2)]
⎜   ↳ Goodix Capacitive TouchScreen             id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ 2M Front Camera: 2M Front Camer           id=10   [slave  keyboard (3)]
    ↳ Intel HID events                          id=13   [slave  keyboard (3)]
    ↳ Intel HID 5 button array                  id=14   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=15   [slave  keyboard (3)]
    ↳ Goodix Capacitive TouchScreen             id=16   [slave  keyboard (3)]

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