Table of Contents

LENOVO Legion 5 17ACH6

disable_aspm 82K0 (LENOVO_MT_82K0_BU_idea_FM_Legion 5 17ACH6)

AMD Ryzen 5 5600H

AMD Renoir Chipset

enter BIOS

  1. Fn + F12 - boot menu
  2. Fn + F2 - setup
  3. F9 (no Fn key) - Novo Menu

change to GRUB bootloader

grub-install complains that system doesn't support EFI variables, but it installs correctly into EFI partition. Solution is to use another tool, and add GRUB UEFI entry grub manually. From Windows:

bcdedit /set "{bootmgr}" path \EFI\debian\shimx64.efi

reboot to BIOS

Boot to Windows.

  1. Settings –> Update & Security → Recovery → Advanced Startup → Restart Now
  2. Troubleshoot → Advanced Options → UEFI Firmware Settings

nvidia

To use 2 external monitors:

  1. BIOS
    1. select “Discrete graphics”
    2. disable Secure Boot (to use nvidia modules)
  2. Linux
    1. sudo apt install nvidia-tesla-470-driver

mt7921e

WiFI disconnects

Sometimes network connectivity is blocked. WiFi is connected but no connection to outside. Reconnects helps. Nothing in kernel log.

04:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
	Subsystem: Lenovo MT7921 802.11ax PCI Express Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 75, IOMMU group 12
	Memory at fcf2000000 (64-bit, prefetchable) [size=1M]
	Memory at fcf2100000 (64-bit, prefetchable) [size=16K]
	Memory at fcf2104000 (64-bit, prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mt7921e
	Kernel modules: mt7921e

sensors

k10temp

watchdog

# dmesg
[    0.197577] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    3.834143] sp5100-tco sp5100-tco: Using 0xfed80b00 for watchdog MMIO address
 
# ls -l /dev/watchdog*
crw------- 1 root root  10, 130 wrz  8 10:35 /dev/watchdog
crw------- 1 root root 245,   0 wrz  8 10:35 /dev/watchdog0
crw------- 1 root root 245,   1 wrz  8 10:35 /dev/watchdog1
 
# ls -l /sys/dev/char/10\:130/
lrwxrwxrwx 1 root root    0 wrz  9 10:37 device -> ../../../sp5100-tco