Lenovo Legion 7i

From ArchWiki
Jump to navigation Jump to search
Device Status Modules
Intel GPU Working modesetting
Nvidia GPU Partially Working nouveau
Ethernet Working r8169
Wireless Working iwlwifi
Audio Not Working snd_hda_intel
Webcam Working uvcvideo
Bluetooth Working btusb
USB Working
Thunderbolt Working
Power management Working
Keyboard Partially Working
Touchpad Working

For a general overview of laptop-related articles and recommendations, see Laptop.

Configuration

BIOS

v2.01

At bootup, the BIOS settings page is entered via the F2 key.

In the BIOS setings, the model name can be seen in the Main tab, Secure Boot can be disabled from the Security tab and boot mode can optionally be switched between UEFI and legacy.

Advanced BIOS options can be accessed by going into more settings, hold down Fn and press each key horizontally from q to p, a to l, then z to m, let go of Fn and press F10. Click save changes and reboot into BIOS. Advanced settings will now be available.

There is no known option to disable the discrete Nvidia GPU using the BIOS, there may be one present after unlocking the advanced options.

NVME Detection

You must manually change storage type from RST to AHCI in BIOS settings for linux to be able to detect the NVME drive.

Undervolt

Undervolting is possible. Enter advanced bios, go to overclocking section, and enable XTU settings. intel-undervolt can be used now.

Undervolting levels vary between chips, the 10875H has been known to be stable around -100mV for CPU, -25mV for GPU, and -100mV for CPU Cache.

Video

Backlight

Backlight works out of the box

$ ls /sys/class/backlight/
intel_backlight

Power Down Nvidia Card

Blacklist nouveau drivers, reboot, and run:

$ sudo sh -c "echo 'auto' >> /sys/bus/pci/devices/0000:01:00.0/power/control"

Multihead

External displays using the USB-C ports only seem to function using the proprietary NVIDIA driver.

Webcam

The webcam works out of box.

$ lsusb -vs 001:004
Bus 001 Device 004: ID 174f:2435 Syntek Integrated Camera
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.01
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x174f Syntek
  idProduct          0x2435 
  bcdDevice            0.22
  iManufacturer           2 Sonix Technology Co., Ltd.
  iProduct                1 Integrated Camera
...

Power Management

Sleep and wake work out of box.

Battery conservation mode is available. It will charge the device to 60% when charge falls below 50%, extending the life of the battery. It can be activated by running the following command:

# echo 1 >/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

Keyboard

Lights

Per-RGB keyboard lighting cannot be configured under linux. openrgb-gitAUR & ckb-nextAUR do not work to control the keyboard lighting.

Touchpad

Single tap and double finger scrolling work. Multi gestures must be configured, they are detected with libinput-gesturesAUR.

Fan Control

Fan control by "Fancontrol (lm-sensors)" and "NoteBook Fan Control (NBFC)" are not supported. thinkfanAUR can read fan speed.

Troubleshooting

System hangs with BBSwitch

System hang occurs if bbswitch is used to shutdown the discrete Nvidia card. Do not use bbswitch, instead blacklist nouveau and use powertop or run:

$ sudo sh -c "echo 'auto' >> /sys/bus/pci/devices/0000:01:00.0/power/control"

Known Issues

Sound

Sound does not work. There is no known solution at this time.

More Information

MS-16Q2

Microarchitecture, Processor and Platform

$ uname -mpi
x86_64 unknown unknown

PCI Devices

$ lspci
00:00.0 Host bridge: Intel Corporation Device 9b44 (rev 02)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Device 9bc4 (rev 05)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Device 06f9
00:14.0 USB controller: Intel Corporation Device 06ed
00:14.2 RAM memory: Intel Corporation Device 06ef
00:14.3 Network controller: Intel Corporation Device 06f0
00:15.0 Serial bus controller [0c80]: Intel Corporation Device 06e8
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 06e9
00:16.0 Communication controller: Intel Corporation Device 06e0
00:1b.0 PCI bridge: Intel Corporation Device 06c0 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device 06b0 (rev f0)
00:1d.5 PCI bridge: Intel Corporation Device 06b5 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 068d
00:1f.3 Audio device: Intel Corporation Device 06c8
00:1f.4 SMBus: Intel Corporation Device 06a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 06a4
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f54 (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)
06:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
07:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
07:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
07:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
08:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] (rev 06)
3f:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] (rev 06)
40:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

USB Devices

$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 174f:2435 Syntek Integrated Camera
Bus 001 Device 003: ID 048d:c956 Integrated Technology Express, Inc. ITE Device(8296)
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 8087:0026 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Input Devices

$ ls -lah /dev/input/by-id
total 0
drwxr-xr-x 2 root root  80 Oct 27 11:24 .
drwxr-xr-x 4 root root 480 Oct 27 11:24 ..
lrwxrwxrwx 1 root root   9 Oct 27 09:14 usb-SteelSeries_SteelSeries_KLC-event-if01 -> ../event5
lrwxrwxrwx 1 root root  10 Oct 27 11:24 usb-SunplusIT_Inc_HD_Webcam-event-if00 -> ../event10