Lenovo Yoga 7i

From ArchWiki
Jump to navigation Jump to search
Hardware PCI/USB ID Working?
Wifi 8086:a0f0 Yes
Bluetooth 8087:0026 Yes
Speakers 8086:a0c8 Yes
Microphone Yes
Webcam 5986:212a Yes
Keyboard Yes
Touchpad Yes
Touchscreen Yes
Active pen Yes
Fingerprint reader 27c6:55b4 No

Installation

After completing the installation process, the boot partition is not found because NVMe support for Intel's Volume Management Device is not present by default. It is therefore necessary to add vmd to the MODULES section section in /etc/mkinitcpio.conf before regenerating the initramfs, see also [1].

Accessibility

The speakers do not work out of the box (see below), so in particular speech-aided installation is not possible.

Power management

In order to support "Windows Modern Standby", the BIOS does not advertise S3 sleep (suspend to RAM), as discussed in detail in this forum post.

Activating S3 sleep

Follow Lenovo ThinkPad X1 Yoga (Gen 3)#Manual method to patch the DSDT table, but use the following patch instead:

--- dsdt.dsl
+++ dsdt.dsl
@@ -18,7 +18,7 @@
  *     Compiler ID      "INTL"
  *     Compiler Version 0x20210105 (539033861)
  */
-DefinitionBlock ("", "DSDT", 2, "LENOVO", "CB-01   ", 0x00000002)
+DefinitionBlock ("", "DSDT", 2, "LENOVO", "CB-01   ", 0x00000003)
 {
     External (_GPE.AL6F, MethodObj)    // 0 Arguments
     External (_GPE.P0L6, MethodObj)    // 0 Arguments
@@ -516,7 +516,7 @@

     Name (SS1, Zero)
     Name (SS2, Zero)
-    Name (SS3, Zero)
+    Name (SS3, One)
     Name (SS4, One)
     OperationRegion (GNVS, SystemMemory, 0x45AB8018, 0x0A9B)
     Field (GNVS, AnyAcc, Lock, Preserve)

Battery conservation mode

See Lenovo#Battery Conservation Mode on IdeaPad laptops.

Function keys

Key Visible?1 Marked?2 Effect
Fn+Esc No Yes Enables Fn lock
F1 Yes Yes XF86AudioMute
F2 Yes Yes XF86AudioLowerVolume
F3 Yes Yes XF86AudioRaiseVolume
F4 Yes Yes XF86AudioMicMute
F5 Yes Yes XF86MonBrightnessDown, see below
F6 Yes Yes XF86MonBrightnessUp, see below
F7 Yes Yes Super+p
F8 Yes3 Yes XF86RFKill, toggles soft-block wifi and bluetooth
F9 Yes Yes Super+i
F10 Yes Yes Super+l
F11 Yes Yes Ctrl+Alt+Tab
F12 Yes Yes XF86Calculator
Ins No Yes Opens Lenovo Vantage on Windows, not usable on Linux
Print Yes Yes Mod+Shift+s
Fn+Space No Yes Change keyboard backlight level
  1. The key is visible to xev and similar tools
  2. The physical key has a symbol on it, which describes its function
  3. systemd-logind handles this by default

Brightness keys

The brightness hotkeys only emit signals after resuming from suspend-to-RAM or hibernation, but not after (re)booting. This is because they depend on initialization by an ACPI method which is called when resuming from a sleep state but not on boot.

Speaker audio

This laptop requires firmware in order for the soundcard to work. See Advanced Linux Sound Architecture#ALSA firmware.

Due to this bug, the speakers do not work without modification. They do however work after suspending to RAM if audio playback is started within a short period of time of resuming (about 7 seconds), but they stop working if playback is interrupted for longer than this period of time. This allows for a hackish solution:

1. Make sure to activate S3 sleep.

2. Create a shell script to briefly suspend and then keep playing silent audio in the background to keep the speakers alive, for example:

activate_audio
#!/bin/bash
sudo rtcwake -m mem -s 1
while true
do
  echo -n -e '\x00' | padsp tee /dev/audio
  sleep 5
done

3. Bind this script to a key, or execute it automatically after logging in.

Fingerprint reader

The currently available fingerprint reader drivers for Linux do not support this model and because this is not one of Lenovo's Linux-certified machines, Lenovo will not provide Linux support for this device, either.