Jump to content

# Lenovo Yoga 9i 2022 (14AiPI7)

From ArchWiki

Hardware | PCI/USB ID | Working?
--- | --- | ---
GPU (Intel) | `` | Yes
Wireless | `` | Yes
Bluetooth | `` | Yes
Audio | `` | Yes
Webcam | `30c9:0057` | Yes
Fingerprint Reader | `27c6:550c` | No

The Lenovo Yoga 9i 2022 (14IAP7) is a 2-in-1 convertible laptop powered by Intel's Alder Lake P-Series. It features a 14" touchscreen (IPS or OLED variants).

To ensure you have this version, you can use dmidecode

    # dmidecode -s system-version

    Yoga 9 14IAP7

## Installation

Before installing, disable Secure Boot in the BIOS.

## Accessibility

This article or section needs expansion.

Reason: Details on the firmware appearance would be nice to know if a blind reader might need assistance to change the settings. (Discuss in Talk:Lenovo Yoga 9i 2022 (14AiPI7))

You can access the BIOS by pressing `F2` at the Splash screen. The boot menu can also be accessed by pressing `F12`.

## Wireless

For wireless to work, unblock rfkill.

To unblock wlan:

    $ rfkill unblock wlan

To unblock bluetooth:

    $ rfkill unblock bluetooth

## Audio

For audio to work, install ALSA firmware.

The bass speakers do not work by default. Create:

    /etc/modprobe.d/snd.conf

    options snd-sof-intel-hda-common hda_model=alc287-yoga9-bass-spk-pin

Reboot and both the bass speakers and internal microphone should work.

## Power management

Battery Conservation Mode is a feature that limits battery charging to 55-60% of its capacity to improve battery life, being most useful when the laptop tends to run on external power much of the time. It can be controlled with ideapad-cmAUR. With battmngrAUR it is possible to control both Battery Conservation and System performance modes.

### Kernel method

Set the `ideapad_laptop.allow_v4_dytc=1` kernel parameter.

To use without reboot:

    # rmmod ideapad_laptop
    # modprobe ideapad_laptop allow_v4_dytc=1

Restart `power-profiles-daemon.service`. Now power-profiles-daemon can do everything below.

Apply this across reboots by setting it permanently.

### 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 9i 2022 (14AiPI7))

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.PC00.LPCB.EC0.VPC0.DYTC 0x000FB001' > /proc/acpi/call

Set it to Extreme Performance mode:

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

Set it to Battery Saving mode:

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

To verify your setting:

    # echo '\_SB.PC00.LPCB.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`).

    # echo '\_SB.PC00.LPCB.EC0.SPMO.FCMO' > /proc/acpi/call
    # cat /proc/acpi/call; printf '\n'

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

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

### Rapid charge

Make sure you have set up acpi_call.

Turn on:

    # echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x07' > /proc/acpi/call

Turn off:

    # echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x08' > /proc/acpi/call

To verify your setting:

    # echo '\_SB.PC00.LPCB.EC0.QCHO' > /proc/acpi/call
    # cat /proc/acpi/call; printf '\n'

where `0x0` stands for off and `0x1` stands for on.

See the note at the end of #Battery Conservation

### Battery conservation

Similarly to the #Rapid Charge, make sure you have set up acpi_call.

Turn on:

    # echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x03' > /proc/acpi/call

Turn off:

    # echo '\_SB.PC00.LPCB.EC0.VPC0.SBMC 0x05' > /proc/acpi/call

To verify your setting:

    # echo '\_SB.PC00.LPCB.EC0.BTSM' > /proc/acpi/call
    # cat /proc/acpi/call; printf '\n'

where `0x0` stands for off and `0x1` stands for on.

There is also an alternative way to control the conservation mode of the battery.

Note: The following is not confirmed on this laptop, but it is worth noting that the Lenovo Vantage software for Windows when turning on Battery Conservation mode also turns off #Rapid Charge (if it was on). The same is also valid for the #Rapid Charge: turning it on will bring the battery conservation mode down. The aforementioned acpi call #Battery Conservation will not do this for you, but #Rapid Charge will. So it is possible to get the state where both battery conservation and rapid charge modes are active if you activate #Battery Conservation after #Rapid Charge. You generally do not want this, as Rapid Charging puts more strain on the battery than regular charging, defeating the purpose of Battery Conservation Mode.

## Keyboard

### Function key

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 | `Super_L+p`
`Fn+F8` | Yes | Yes | `XF86RFKill`3

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.

## See also

- Bass speaker issue

Category:

- Lenovo

Hidden categories:

- Pages or sections flagged with Template:Expansion
- Pages or sections flagged with Template:Merge