Acer Spin 5

From ArchWiki
Jump to navigation Jump to search
Device Status Modules
Intel graphics Working i915
Wireless Working ath10k
Bluetooth Working btintel
Audio Working snd_hda_intel
Touchpad Working
TouchScreen Working
Camera Working uvcvideo
Fingerprint scanner Poor quality

General info about the Acer Spin 5 SP513-52N laptop.

UEFI Settings

To disable Secure Boot, set the supervisor password in the UEFI settings. Then you should be able to disable Secure Boot and boot Arch.

Even with Secure Boot disabled, if the Windows Boot Manager is not the *first* EFI entry, it then becomes impossible to access the UEFI settings and the only known method that works for regaining such access is temporarily placing the Windows Boot Manager as the first option again. The cause for this behavior is unknown and it it therefore strongly recommended that you select your preferred settings prior to installing Arch, especially enabling the F12 Boot Menu in order to allow booting from external devices.

If the F12 Boot Menu is not enabled and you need to boot from an external device, your only option will be opening the chassi and temporarily removing the SSD to prevent it from being used as the boot device. Also note that the Spin 5 comes with a battery protection measure which causes battery power to be supplied only when the case is completely closed with all screws, as explained in this article. Any loose screw may prevent the computer from turning on except when the power chord is plugged in, or else cause unexpected shutdowns while on battery power, as reported in this article.

Another quirk is that apparently the UEFI "function keys" setting will either enable special keys such as sleep and WiFi as default (thus making the Fn prefix necessary for using F1 through F12), OR it will enable the opposite behavior but completely disabling the AltGr key as a side effect. This is not specific to Linux and there is no known solution to this problem.

Hardware

Note: This may differ from your laptop configuration.
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

CPU

$ 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):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              2
Core(s) per socket:              4
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           142
Model name:                      Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Stepping:                        10
CPU MHz:                         800.044
CPU max MHz:                     3400.0000
CPU min MHz:                     400.0000
BogoMIPS:                        3601.00
Virtualization:                  VT-x
L1d cache:                       128 KiB
L1i cache:                       128 KiB
L2 cache:                        1 MiB
L3 cache:                        6 MiB
NUMA node0 CPU(s):               0-7
Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
Vulnerability L1tf:              Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
Vulnerability Srbds:             Mitigation; Microcode
Vulnerability Tsx async abort:   Not affected
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 pni pclmulqdq dtes64 monitor ds_cpl vmx est 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 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

Configuration

Touchscreen and active stylus

The touchscreen should work perfectly out of the box, including pinching gestures - except for applications which do not implement such support (for example, viewnior).

When in tablet mode, the keyboard and touchpad are disabled, but the screen does not rotate automatically. For manual or automatic screen rotation, see Tablet PC#Rotation and Tablet_PC#Automatic_rotation.

The Acer Spin 5 has MPP (Microsoft Pen Protocol) support. To improve the functionality of an active stylus in Arch Linux, follow the instructions on Microsoft Surface Pro 3#Tuning the Pen. This post might also have useful information on the subject.

Touchpad

The touchpad works perfectly with libinput. Some commonly reviewed settings are Tapping (tap-to-click) and Natural Scrolling. The default middle button emulation may also present undesired behavior due to the fact that the button pressing area is divided in three equal parts, which causes frequent accidental middle clicks: for example, when trying to select a web browser tab, if the default region for the middle button is pressed down, the tab will be closed instead of selected.

To disable middle button emulation and enable Tapping and Natural Scrolling, create/edit the following configuration file:

/etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
        Identifier "touchpad"
        Driver "libinput"
        MatchIsTouchpad "on"
        Option "Tapping" "on"
        Option "NaturalScrolling" "on"
        Option "ButtonMapping" "1 1 3 4 5 6 7"
EndSection

For more details refer to libinput#Button re-mapping

To use touch gestures such as pinching in a window manager or desktop environment that doesn't implement it, fusuma is recommended.

Temperature management

The laptop has been observed to overheat while the power chord is connected. This can be fixed by simply installing thermald and starting/enabling the respective service. For more information, see CPU frequency scaling.

See also