Lenovo LOQ 15IAX9E - ArchWiki

Jump to content

# Lenovo LOQ 15IAX9E

From ArchWiki

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

Reason: Missing the "Function keys" section. (Discuss in Talk:Lenovo LOQ 15IAX9E)

Hardware | PCI/USB ID | Working?
--- | --- | ---
Touchpad |  | Yes
Keyboard |  | Yes
GPU (Intel) | `8086:468b` | Yes
GPU (NVIDIA) | `10de:25ad` | Yes
Webcam | `5986:216a` | Yes
Ethernet | `10ec:8168` | Yes
Bluetooth | `0bda:4853` | Yes
SD-card reader |  | Untested
Audio | `8086:7ad0` | Yes
Wi-Fi | `10ec:b852` | Yes
TPM |  | Untested

## Installation

Installing Arch requires disabling #Secure Boot.

## Accessibility

The BIOS is GUI-based and can be colorful in certain areas. Both keyboard and mouse navigation are supported.

When booting into BIOS via `F2` key on startup, an intermediate "splash screen" is shown with the current #Performance Mode and a short list of available boot targets shown. To move into the actual configurable BIOS, the user needs to press the "More Settings" button.

While the splash screen is colorful, the BIOS itself has a white background with dark text, the currently selected option has a faint highlight and its current value is contrasted with a blue background.

Note Blind users may need the assistance of a sighted person to change firmware settings

## Firmware

This device is not supported by fwupd.

### Secure Boot

Secure Boot management can be done from the BIOS's "Security Tab".

### Advanced BIOS

No known keyboard combinations work. An external tool such as https://github.com/Thomashighbaugh/Lenovo-Legion-Advanced-Bios/ is needed to access the "Advanced" tab of the bios.

### Undervolting

On models with an HX cpu, undervolting can be unlocked in the Advanced BIOS, where each of the following needs to be disabled:

1. CPU Lock Configuration
2. Overclocking Lock
3. Undervolt Protection

After which a tool like throttled (recommended) or intel-undervolt can be used to undervolt the CPU.

Note Turning off Intel VT-d is not required.

### Keyboard Backlight

Cannot be controlled through software. The keyboard shortcut of `Fn+Space` works to switch between Off, Dim and Bright backlight modes.

## Power Management

### Power Modes

#### Performance Mode

The keyboard shortcut `Fn+Q` works as intended.

An alternative method is querying and writing to `/sys/firmware/acpi/platform_profile` with `/sys/firmware/acpi/platform_profile_choices` showing the available choices.

Note The "custom" mode does not work and will result in an `Invalid argument` error when applied.

#### Conservation Mode

Toggled by writing a `1` for enabled and a `0` for disabled into `/sys/bus/platform/devices/VPC2004\:00/conservation_mode`

#### Charging Modes

Write one of `Fast`, `Standard`, or `Long_Life` into `/sys/class/power_supply/BAT0/charge_types`

#### Active State Power Management

ASPM can be force enabled which may provide extra power saving when using the #Helper Script. To do this, add `pcie_aspm=force` to your kernel parameters

#### Helper Script

A helper script exists at minivantage.sh that allows easy switching between all power/charging/conservation modes for this device.

To switch without needing to enter a password multiple times, a polkit rule may be created as such:

    /etc/polkit-1/rules.d/10-power-management.rules

    polkit.addRule(function(action, subject) {
        if (action.id == "org.freedesktop.policykit.exec" &&
            (action.lookup("program") == "/usr/bin/bash" || action.lookup("program") == "/usr/bin/sh") &&
            (
            	action.lookup("command_line").indexOf("/sys/firmware/acpi/platform_profile") !== -1
            	|| action.lookup("command_line").indexOf("/sys/bus/platform/devices/VPC2004\\:00/conservation_mode") !== -1
            	|| action.lookup("command_line").indexOf("/sys/class/power_supply/BAT0/charge_types") !== -1
            	|| action.lookup("command_line").indexOf("/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/camera_power") !== -1
            	|| action.lookup("command_line").indexOf("/sys/module/pcie_aspm/parameters/policy") !== -1
            ) &&
            subject.user == "USERNAME"
        ) {
            return polkit.Result.YES;
        }
    });

Replace `USERNAME` with your username.

### Sleep

Hibernation does not work. Both s2idle and deep sleep suspend modes work flawlessly.

There is no need to disable ASPM, and its recommended to be left on for extended battery life. NVIDIA's sleep services (`nvidia-suspend.service`, `nvidia-hibernate.service`, ...) are not required either.

### Battery Life Extension

- CPU frequency scaling#power-profiles-daemon integrates well with the device's keyboard shortcuts for performance mode switching (Fn+Q) and seems to provide the best power savings for this device.
- Lowering the refresh rate to 60hz results in a significant increase in battery life
- Quiet mode also affects battery life positively

## CPU Throttling

This article or section needs expansion.

Reason: This needs corroboration from other users of this device. (Discuss in Talk:Lenovo LOQ 15IAX9E)

throttled is required for the CPU to properly boost. No other software, including thermald, has properly allowed the CPU to turbo.

### Throttled Configuration

A basic config should look like the following, with a complete config here.

    /etc/throttled.conf

    ...
    Sysfs_Power_Path: /sys/class/power_supply/ADP0/online
    ...
    PL1_Tdp_W: 80
    ...
    PL2_Tdp_W: 140
    ...

## NVIDIA

This device is supported by the nvidia-open drivers, which should be used per NVIDIA#Installation.

### Dynamic Power Management

Follow CPU frequency scaling#nvidia-powerd.

Automatic shutdown of the card when not in use is possible. To check the current GPU power state, use `cat /sys/bus/pci/devices/0000:01:00.0/power_state`. A reported state of "D3Cold" means the GPU is fully powered off and not drawing any power.

This module configuration may be needed as well:

    /etc/modprobe.d/nvidia-pm.conf

    options nvidia NVreg_DynamicPowerManagement=0x02

## See also

- The BIOS guide

Category:

- Lenovo

Hidden categories:

- Pages or sections flagged with Template:Laptop style
- Pages or sections flagged with Template:Expansion

Lenovo LOQ 15IAX9E
Add topic