Documente Academic
Documente Profesional
Documente Cultură
Audio
Volume controls
Persistent fix
Microphone
Hardware
Additional hardware information from lsusb and lspci can be found bellow when using the linux (http
1 of 6 12/15/19, 7:18 PM
Lenovo ThinkPad X1 Carbon (Gen 7) - ArchWiki https://wiki.archlinux.org/index.php/Lenovo_Th...
1. The Fibocom LTE module has Linux support once switched to USB mode; see [1] (ht
tps://forums.lenovo.com/t5/Other-Linux-Discussions/How-To-Configure-X1-C
arbon-Gen-7-on-Debian-FingerPrint-4G-Modem/td-p/4550327) and [2] (http
s://github.com/abrasive/xmm7360)
2. An official driver and a reverse engineered driver are in the works [3] (https://gitla
b.freedesktop.org/libfprint/libfprint/issues/181) (06cb:00bd).
3. S3 suspend requires changes to BIOS settings, see section on #Sleep/Suspend.
4. The internal microphone doesn't work on versions of the linux (https://www.arch
linux.org/packages/?name=linux) kernel before 5.3. On version 5.3 and newer
the SOF firmware can be enabled, see Talk#Microphone.
lsusb [Expand]
lspci [Expand]
BIOS
The most convenient way to install Arch Linux is by disabling "Secure Boot"
Security -> Secure Boot - Set to "Disabled" . However it is possible to self-sign your kernel and
boot with it enabled. For further information have a look at the Secure Boot article.
In case your efivars are not properly set it is most likely due to you not being booted into UEFI. Should the
problem persist be sure to consult the UEFI#UEFI variables section.
2 of 6 12/15/19, 7:18 PM
Lenovo ThinkPad X1 Carbon (Gen 7) - ArchWiki https://wiki.archlinux.org/index.php/Lenovo_Th...
Updates
Manual (fwupdmgr)
Lenovo may in the future provide cabinet files that can be directly installed with fwupdmgr. Check for Linux .cab
files from the Lenovo ThinkPad X1 Carbon (Gen 7) driver website (https://pcsupport.lenovo.com/us/en/product
s/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-carbon-7th-gen-type-20qd-20qe/downloads).
Sleep/Suspend
The BIOS has two "Sleep State" options, Windows and Linux, which you can find in at
Config -> Power -> Sleep State . The Linux option is the traditional S3 power state where all hardware
components are turned off except for the RAM, and it should work normally. The Windows option is a newer
software-based "modern standby" which works on Linux (despite the name). One possible benefit to the Windows
sleep state is faster wake up time, and one possible drawback is increased power usage.
BIOS configurations
Config -> Thunderbolt BIOS Assist Mode - Set to "Enabled" . When disabled, on
Linux, power usage appears to be significantly higher because of a substantial number of
CPU wakeups during s2idle.
3 of 6 12/15/19, 7:18 PM
Lenovo ThinkPad X1 Carbon (Gen 7) - ArchWiki https://wiki.archlinux.org/index.php/Lenovo_Th...
t.com/r/thinkpad/comments/870u0a/t480s_linux_throttling_bug/)).
throttled
Note: As of the BIOS/EC version 1.23 (N2HET40W/N2HHT27W) it has not been fixed
Audio
As there are physically four loudspeakers, you need to configure to 4.0 audio output. When using PulseAudio there
are various configuration utilities.
Volume controls
In order for volume controls to work correctly you must edit
/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common by adding the
following above [Element PCM] :
[Element Master]
switch = mute
volume = ignore
A PulseAudio restart is required for this change to take affect. Make sure to increase the "Master" channel volume to
4 of 6 12/15/19, 7:18 PM
Lenovo ThinkPad X1 Carbon (Gen 7) - ArchWiki https://wiki.archlinux.org/index.php/Lenovo_Th...
100% for the top-firing speakers to work (using amixer or alsamixer, found in alsa-utils (https://www.ar
chlinux.org/packages/?name=alsa-utils)).
Persistent fix
Upgrading or reinstalling pulseaudio (https://www.archlinux.org/packages/?name=pulseaud
io) will overwrite this file, and PulseAudio doesn't appear to offer another way (https://www.freedesktop.org/w
iki/Software/PulseAudio/Documentation/User/PulseAudioStoleMyVolumes/) to make this configuration change.
To prevent pacman from overwriting the file, add the following line under [options] in /etc/pacman.conf
:
NoUpgrade = usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common
Microphone
On kernel up to 5.2, the internal microphones are detected but no audio is captured. Unfortunately even on the 5.3
kernels, the microphones still don't work out of the box.
You might be able to get the microphones working by following the instructions in this docx file (https://forums.leno
vo.com/lnv/attachments/lnv/lx02_en/3061/1/sof-driver-guide.docx) from the Lenovo Forums. Also check out this
post (https://bbs.archlinux.org/viewtopic.php?id=249900) from the Arch Forums.
1. Enable writing to the embedded controller registers by adding the kernel parameter
ec_sys.write_support=1 . If you use UEFI boot, you can add this parameter in
/boot/efi/loader/entries/arch.conf under "options".
2. Then, you can disable directly the LED with this command:
#!/bin/bash
echo -n -e "\x0a" | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev
/null
2. Create a new service unit file in {{ic|/etc/systemd/system} called "led.service", and insert the following:
5 of 6 12/15/19, 7:18 PM
Lenovo ThinkPad X1 Carbon (Gen 7) - ArchWiki https://wiki.archlinux.org/index.php/Lenovo_Th...
[Service]
ExecStart=/root/disable_led.sh
[Install]
WantedBy=multi-user.target
Additional resources
ThinkWiki X1 Carbon 7th Gen page (https://www.thinkwiki.org/wiki/Category:X1
_Carbon_(7th_Gen))
Dell XPS 13 9370 quirks (https://gist.github.com/greigdp/bb70fbc331a0aaf447c
2d38eacb85b8f): Some pointers on getting Watt usage down to ~2W, Intel video
powersaving features might be interesting, see also the Intel graphics page for
interesting power-saving options.
Intel Blog: Best practice to debug Linux* suspend/hibernate issues (https://01.o
rg/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues),
including the pm-graph (https://github.com/01org/pm-graph) tool to analyze power
usage during suspend
How to fix volume control (ALSA problem) (https://forums.linuxmint.com/viewto
pic.php?t=91453) This is where the volume fix came from originally.
Windows System Power States (https://docs.microsoft.com/en-us/windows/win3
2/power/system-power-states)
System Power Management Sleep States at kernel.org (https://www.kernel.org/
doc/Documentation/power/states.txt)
Content is available under GNU Free Documentation License 1.3 or later unless otherwise
noted.
6 of 6 12/15/19, 7:18 PM