Lenovo ThinkPad X1 Carbon (Gen 12)

From ArchWiki

This article or section does not follow the Laptop page guidelines.

Reason: Missing an Accessibility section. (Discuss in Talk:Lenovo ThinkPad X1 Carbon (Gen 12))
Hardware PCI/USB ID Working?
GPU 8086:7d55 Yes
NPU 8086:7d1d No
Wireless 8086:7e40 Yes
Bluetooth 8087:0033 Yes
Mobile broadband 2c7c:0310 Yes
Audio 8086:7e28 Yes
TouchPad Yes
TrackPoint Yes
Webcam 30c9:005f Yes
"Intel IPU6" Partial
Fingerprint reader Yes

Audio

This laptop requires ALSA firmware (i.e. the sof-firmware package needs to be installed) in order to make the soundcard working.

Video

See Lenovo ThinkPad X1 Carbon (Gen 9)#Video.

This machine uses OLED 2880*1800@120Hz monitor. Users should apply HiDPI settings and Scaled by System is not recommended, as it will blur the programs.

Xe driver

This laptop uses Intel Iris Arc Graphics according to Intel's official specification page, but it is in the official support list of Xe driver. From Linux kernel 6.8, Xe driver has been made as a kernel module but not enabled by default.

You can enable with i915.force_probe:!7d55 and xe.force_probe:7d55 kernel parameters. Note that mesa in the current repo does not support the new Xe driver yet. You have to install mesa-gitAUR. See Intel graphics#Testing the new experimental Xe driver for any update.

Fingerprint reader

The fingerprint reader works out of the box using fprintd. See Fprint.

Function keys

In the firmware configuration it is possible to swap the Ctrl and Fn keys.

Similar to Lenovo ThinkPad X1 Carbon (Gen 10)#Function keys,some of the function keys have keycodes with values that are too high to use in X, which truncates values past 248. In Wayland, these keys might be difficult to map but can be doable manually using the in your desktop environment by specifying the XF86 keysym by hand from the table below. For example, in Gnome you can use dconf-editor to modify entries in /org/gnome/settings-daemon/plugins/media-keys/ and other settings locations.

Key Visible?1 Marked?2 Effect
Fn+Esc No Yes Toggles Fn lock
Fn+F1 Yes Yes XF86AudioMute
Fn+F2 Yes Yes XF86AudioLowerVolume
Fn+F3 Yes Yes XF86AudioRaiseVolume
Fn+F4 Yes Yes XF86AudioMicMute
Fn+F5 Yes Yes XF86MonBrightnessDown
Fn+F6 Yes Yes XF86MonBrightnessUp
Fn+F7 Yes Yes XF86Display
Fn+F8 No No
Fn+F9 No No
Fn+F10 No Yes XF86Launch2
Fn+F11 No No No
Fn+F12 Yes Yes XF86Favorites
Fn+PrtSc No No
Fn+Space Yes Yes Toggle Keyboard Backlight
Fn+4 Yes No XF86Sleep
Fn+Left Yes No Home
Fn+Right Yes No End
Fn+l No No Switch to low power mode
Fn+m No No Switch to balanced/medium power mode
Fn+h No No Switch to performance/high power mode
Fn+u, Fn+s No No Enable/Disable USB-C restricted mode3
  1. The key is visible to xev and similar tools. Wayland-only indicates the code can only be seen from a Wayland session.
  2. The physical key has a symbol on it, which describes its function.
  3. Security feature that disables data transfer through USB-C connectors while the charge function is kept

Mobile broadband

For now only China veriants have WWAN module preinstalled, with Quectel EM05-CN.

From this generation, WWAN modules are detected with lsusb(8)

Using this module does not requires to have FCC unlocked and can be used directly with modemmanager.

Note that this module will fail to reactivate after hibernation, you can solve it via resetting the USB device:

# usbreset $(lsusb | grep Quectel | awk '{print $6}')
Note: This script is only for official devices with Quectel WWAN module. You should check your WWAN device's manufacturer if you are concerned about it or your WWAN module is not delivered with device.

Firmware

Similar to Lenovo ThinkPad X1 Carbon (Gen 10)#Firmware, UEFI firmware and other device firmware is available through the Linux Vendor Firmware Service (LVFS), and can be installed using fwupd. Updates to the UEFI firmware include updates to the Intel Management Engine, so they may fail altogether if IME is disabled on the UEFI settings. A workaround for this is to temporarily enable IME, upgrade the firmware with fwupd, and disable IME after that.

Secure boot works out of the box with custom keys from multiple tools, including sbctl.

Webcam

This article or section needs expansion.

Reason: See Lenovo ThinkPad X1 Yoga (Gen 8)#Webcam for a potential solution. The hardware should appear with lsusb under the "Intel Multimedia controller" name. Using hw-probe and putting a list to the result in a #See also section would help other to compare their hardware to the one used to write the page. (Discuss in Talk:Lenovo ThinkPad X1 Carbon (Gen 12))

This webcam by Intel had little success in operating under Linux. Intel has available drivers, but these drivers require special userspace libraries and are not compatible with V4L2.

Please note the webcam is not detected by neither lspci(8) nor lsusb(8).