Lenovo ThinkPad X1 Nano (Gen 2) - ArchWiki

Jump to content

# Lenovo ThinkPad X1 Nano (Gen 2)

From ArchWiki

Hardware | PCI/USB ID | Working?
--- | --- | ---
Video | `` | Yes
Wireless | `` | Yes
Mobile broadband | `` | No
Audio | `` | Yes
TouchPad | `` | Yes
TrackPoint | `` | Yes
Webcam | `` | Partial
Fingerprint reader |  | Yes
Bluetooth |  | Yes
NFC |  | Untested

## Audio

This laptop requires Sound Open Firmware in order for the sound card to work. With this firmware, microphone and speakers are fully operational.

On the headphone jack, a buzz/noise might be audible that even changes with different CPU usage. The fix is to install the alsa-tools package and then run

     hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0

## Fingerprint reader

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

## Camera

For Tiger/Alder Lake platforms, Intel offers a more sophisticated smartphone-like integrated "IPU6/MIPI" camera that talks through their IPU chip. Linux support is currently hacky at best, having been developed on Chromebooks and with Intel/Dell/Ubuntu cobbling together support from the Windows driver. See these messages on the kernel mailing list for a discussion on the state of upstreaming a real API for these cameras.

It is supposedly possible to get it working in Arch.

See this forum post on getting the Alder lake IPU6 camera working in an XPS 13.

The specific camera model in the X1 Nano Gen2 is an OV2740[dead link 2024-10-12 ⓘ]

## Powersaving

This laptop works nearly out of the box with tlp; however, the WWAN chip currently has issues with runtime power management and will prevent booting if runtime-pm is enabled for the device. To exclude it, modify the tlp configuration like:

    /etc/tlp.conf

    RUNTIME_PM_DENYLIST="08:00.0"

"throttled" works effectively for tightly monitoring CPU speeds and performance if so desired, and works around some firmware issues.

### Performance modes

Lenovo supports 'platform-profiles' on newer kernels which can rather dramatically improve performance by decreasing throttling, or greatly improve battery life and thermals by lowering the CPU's power limit. These modes can result in over a 100% increase or decrease in CPU power draw.

The default mode is "balanced" however users can switch between these modes using the following keyboard shortcuts:

- `Fn+l` - Low-power mode
- `Fn+m` - Balanced mode (aka Medium)
- `Fn+h` - Performance mode (aka High)

These modes can also be selected automatically by using tlp and the `PLATFORM_PROFILE_ON_AC/BAT` configuration fields.

The currently active mode can be checked with the following command:

    # cat /sys/firmware/acpi/platform_profile

## Firmware

UEFI firmware and other device firmware is available through the Linux Vendor Firmware Service (LVFS), and can be installed using fwupd.

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

## Function Keys

In the firmware configuration it is possible to swap the `Ctrl` and `Fn` 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` | Yes | Yes | `XF86WLAN`
`Fn+F9` | Wayland-only | Yes | `XF86NotificationCenter`
`Fn+F10` | Wayland-only | Yes | `XF86PickupPhone`
`Fn+F11` | Wayland-only | Yes | `XF86HangupPhone`
`Fn+F12` | Yes | Yes | `XF86Favorites`
`Fn+PrtSc` | Wayland-only | Yes | `XF86SelectiveScreenshot`
`Fn+Space` | Yes | Yes | `XF86SelectiveScreenshot`
`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

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.

Category:

- Lenovo

Hidden category:

- Pages with dead links