Lenovo Yoga Slim 7 Pro X (14ARH7) - ArchWiki

Jump to content
From ArchWiki

Hardware | PCI/USB ID | Working?
--- | --- | ---
GPU (AMD) | `1002:1640` | Yes
GPU (NVIDIA) | `10de:25e2` | Yes
Wireless (MediaTek) | `14c3:0616` | Yes
#Wireless (RealTek) | `10ec:b852` | Yes
Bluetooth | `0489:e0d8` | Yes
Audio | `1022:15e3` | Yes
Microphone | `1022:15e2` | Yes
TouchPad | `04f3:3202` | Yes
Webcam | `30c9:0057` | Yes

## Installation

See #Accessibility on how to change UEFI settings, disable Secure Boot and boot an Arch installation medium.

In order to boot the system in a working state (e.g. also from an installation medium), add `module_blacklist=nouveau iommu=pt` to the kernel parameters so that the system is stable and suspend works. Note that you still need kernel 5.20 or 6.0 to get the internal keyboard working and a patched kernel 6.0 to keep the keyboard working after resuming from suspend (see #Keyboard below).

## Accessibility

The UEFI firmware settings can be entered by pressing `F2` repeatedly during boot.

### Navigation

The interface can be fully navigated and controlled with a keyboard and mouse. Up and down arrow keys let the user choose categories, settings items within each category and values for settings. Left and right arrow keys let the user leave and enter a category, settings item or value picker. The enter key can also be used to enter a category or enter and leave an item's value picker. Settings can be saved and the system restarted by pressing `F10`.

### Secure Boot

In order to boot an Arch installation medium, Secure Boot must be disabled in the UEFI settings. Once disabled, press `F12` on the next boot to enter the boot device menu and select your Arch installation medium.

## Firmware

This laptop is not supported by fwupd. You need a Windows installation in order to update UEFI.

### Disabling Dedicated GPU

It is possible to disable the dedicated NVIDIA GeForce RTX 3050 Mobile GPU in UEFI by selecting the UMA Graphics option of the video mode setting. However, the AMDGPU driver is then not able to properly run the integrated Rembrandt Radeon 680M video adapter.

## Video

The nouveau driver that is automatically loaded for the NVIDIA dedicated GPU causes system freezes. Disable it with

    module_blacklist=nouveau

in your kernel parameters.

The NVIDIA drivers are untested.

The screen supports 10-bit color. To enable it for `amdgpu` driver, refer to AMDGPU#10-bit color

## Wireless

The RealTek wireless adapter included in some models does not work out of the box, it needs the rtw89-dkms-gitAUR driver. Intel AX210 cards are compatible and do work out of the box with this computer.

## Keyboard

The built-in keyboard does not work with kernels before `5.20`. Linux `5.20` and `6.0` include a patch that fixes the keyboard on all AMD Zen systems.

The keyboard sometimes stops working when resuming from suspend. There is a kernel patch (bug report) for `6.0` to fix this.

### Function Keys

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 | ??
`Fn+F8` | Yes | Yes | `XF86RFKill` 3
`Fn+F9` | Yes | Yes | `Super_L+i`
`Fn+F10` | Yes | Yes | `Super_L+l`
`Fn+F11` | Yes | Yes | `Control_L+Alt_L+Tab`
`Fn+F12` | Yes | Yes | `XF86Calculator`
`Fn+Ins` | No | Yes | ??
`Fn+PrtSc` | Yes | Yes | `Super_L+Shift_L+s`
`Fn+Q` | Yes | No | `XF86Launch4`
`Fn+I` | Yes | No | `Insert`
`Fn+P` | Yes | No | `Pause`
`Fn+S` | Yes | No | `Print`
`Fn+K` | Yes | No | `Scroll_Lock`
`Fn+B` | Yes | No | `Break`
`Fn+Space` | No | Yes | Cycles keyboard backlight brightness
`Fn+Left` | Yes | Yes | `Home`
`Fn+Right` | Yes | Yes | `End`
`Fn+Up` | Yes | Yes | `PageUp`
`Fn+Down` | Yes | Yes | `PageDown`

1. The key is visible to `xev` and similar tools.
2. The physical key has a symbol on it, which describes its function.
3. Pressing `Fn+F8` always hardware-toggles the Wifi and Bluetooth hardware and additionally releases an `XF86RFKill` keypress event.

#### REISUB

The "magic" SysRq key sequence REISUB can be sent with the following key-presses:

Press `Fn+Alt+R` then release `Fn` while still holding `Alt+R` and press sequentially `E`, `I`, `S`, `U`, `B`.

## Power Management

### CPU Performance Scaling

This laptop's AMD Ryzen 6000 series CPUs support the new AMD P-State performance scaling driver, which is driven by the `amd_pstate` kernel module. However, currently the generic `acpi_cpufreq` driver takes precedence when booting the linux kernel. In order to activate the `amd_pstate` module, the `acpi_cpufreq` module has to be blacklisted and the `amd_pstate` module has to be explicitly loaded.

### System Performance Mode

This article or section is a candidate for merging with Laptop/Lenovo#Lenovo.

Notes: This is shared across multiple models and should be put on the generic page instead of duplicated for every model. (Discuss in Talk:Lenovo Yoga Slim 7 Pro X (14ARH7))

There are 3 modes available: Intelligent Cooling, Extreme Performance and Battery Saving. To toggle it, you need to call some ACPI methods.

First install acpi_call (or acpi_call-lts for LTS kernel, acpi_call-dkms for other kernels) and load the kernel module:

    # modprobe acpi_call

Set it to Intelligent Cooling mode:

    # echo '\_SB.PCI0.LPC0.EC0.VPC0.DYTC 0x000FB001' > /proc/acpi/call

Set it to Extreme Performance mode:

    # echo '\_SB.PCI0.LPC0.EC0.VPC0.DYTC 0x0012B001' > /proc/acpi/call

Set it to Battery Saving mode:

    # echo '\_SB.PCI0.LPC0.EC0.VPC0.DYTC 0x0013B001' > /proc/acpi/call

To verify your setting:

    # echo '\_SB.PCI0.LPC0.EC0.SPMO' > /proc/acpi/call
    # cat /proc/acpi/call; printf '\n'

As a result you get the value for the bit SPMO (either `0x0`, `0x1` or `0x2`). To interpret the results the following table can be used:

SPMO | Mode
--- | ---
0x0 | Intelligent Cooling
0x1 | Extreme Performance
0x2 | Battery Saving

### Suspend

Besides the aforementioned keyboard issues when resuming from suspend, the SSD controller stops working when resuming from suspend (bug report, (expected to land in kernel 6.1)1), rendering the system unusable. This can be fixed by adding

    iommu=pt

to the kernel parameters (works with kernel versions `5.x` and `6.0`).

## Microphone

The integrated dual array microphone is driven by a separate audio coprocessor (AMD ACP6x). A kernel patch is currently necessary to enable a quirk in the respective module `snd_soc_acp6x_mach` (this patch is scheduled to be merged in kernel `6.1-rc1`)2. If using PulseAudio, ALSA UCM probably has to be disabled.

## References

1. https://bugzilla.kernel.org/show_bug.cgi?id=216438#c24
2. https://bugzilla.kernel.org/show_bug.cgi?id=216299#c7

Category:

- Lenovo

Hidden category:

- Pages or sections flagged with Template:Merge