You are not logged in.

#1 2023-11-14 19:45:08

JoeBlakeB
Member
Registered: 2022-03-06
Posts: 8
Website

Lenovo LOQ AMD (15APH8) - Lid+Button Crashes & Power Off Issues

Hi, my laptop (Lenovo LOQ 15APH8) is having a few problems and I am struggling to find a fix for any of them.

Three of them are similar: closing the lid, the disable microphone button (Fn+F4), and the disable touchpad button (Fn+F10) usually cause an instant power off. It happens almost every time when plugged in, and less often but still occasionally while on battery. Sometimes it does this the first time after a boot, sometimes it doesn't and you have to press it a few times for it to cause the crash. Here are logs of the boots where the crashes happened with the following boot: Closing the lid (first time caused a crash), Disable Microphone Button (first time caused a crash), Disable Touchpad Button (while plugged in, the second time caused it to crash), and another one for the Disable Touchpad Button (while on battery was not causing a crash, but plugging in then the next time caused a crash).

When it happens I think it may have something to do with the BIOS because after a few seconds, the led in the power button comes back on and quickly flashes for a second and then stops, and then when I power it on again the keyboard RGB has been back to the default, which does not happen if it powers off normally. The only other time this happens is reconnecting the battery after disconnecting it. Everything (the lid and buttons) works fine in Windows, its just linux that has this problem. I also tried updating the BIOS but this did not fix this problem, however I did have a problem with suspending which was fixed by a BIOS update.

I also have a problem with powering off where it will hang and never turn off, it seems to be more likely to happen after plugging in and unplugging during that boot, heres a log of that happening.

Here's the system hardware, if anything else would be useful I'm happy to provide that:

$ lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e8
        Subsystem: Lenovo Device 3801
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14e9
        Subsystem: Lenovo Device 3802
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ed
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ed
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14ee
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
        Kernel driver in use: pcieport
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14ea
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 14eb
        Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 14eb
        Kernel driver in use: pcieport
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14eb
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 14eb
        Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
        Subsystem: Lenovo FCH SMBus Controller
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f3
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14f7
01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1)
        Subsystem: Lenovo AD107M [GeForce RTX 4060 Max-Q / Mobile]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)
        Subsystem: Lenovo Device 3c93
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
        Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
        DeviceName: Realtek
        Subsystem: Lenovo Device 4853
        Kernel driver in use: rtw89_8852be
        Kernel modules: rtw89_8852be
04:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD Controller BG5 (DRAM-less)
        Subsystem: KIOXIA Corporation NVMe SSD Controller BG5 (DRAM-less)
        Kernel driver in use: nvme
        Kernel modules: nvme
05:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd SSD 970 EVO
        Kernel driver in use: nvme
        Kernel modules: nvme
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c2)
        Subsystem: Lenovo Phoenix1
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device
        Subsystem: Lenovo Family 19h (Model 74h) CCP/PSP 3.0 Device
        Kernel driver in use: ccp
        Kernel modules: ccp
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b9
        Subsystem: Lenovo Device 3821
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15ba
        Subsystem: Lenovo Device 3822
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
        Subsystem: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
        Kernel driver in use: snd_pci_ps
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: Lenovo Family 17h/19h HD Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
        Subsystem: Lenovo Device 381f
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 14ec
        Subsystem: Lenovo Device 381f
08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c0
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15c0
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
08:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15c1
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15c1
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

Any help would be greatly appreciated.

Offline

#2 2023-11-19 11:10:47

JoeBlakeB
Member
Registered: 2022-03-06
Posts: 8
Website

Re: Lenovo LOQ AMD (15APH8) - Lid+Button Crashes & Power Off Issues

I think it may be kernel related, I tested the keys and lid on lts, zen and hardened, as well as only the buttons on some live usbs, and it sort of works with some kernels but not with others. Here's the uname -a of what I have tried:

Not Working:
Linux LenovoJB 6.6.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 08 Nov 2023 16:05:38 +0000 x86_64 GNU/Linux
Linux LenovoJB 6.6.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 08 Nov 2023 16:05:16 +0000 x86_64 GNU/Linux
Linux LenovoJB 6.5.11-hardened1-1-hardened #1 SMP PREEMPT_DYNAMIC Thu, 16 Nov 2023 21:02:52 +0000 x86_64 GNU/Linux

Keys and lid working, but closing the lid or plugging in power while sleeping causes it to crash, also wifi does not work:
Linux LenovoJB 6.1.62-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 09 Nov 2023 17:21:17 +0000 x86_64 GNU/Linux

Live USBs (only mic+touchpad tested):
Manjaro, seems to work: Linux manjaro 6.5.5-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Sep 23 12:48:15 UTC 2023 x86_64 GNU/Linux
Ubuntu, not working: Linux ubuntu 6.5.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct  7 01:35:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Fedora, not working: Linux localhost-live 6.5.6-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct  6 19:57:21 UTC 2023 x86_64 GNU/Linux

Is there anything else I should try or should I open a bug?

Offline

#3 2023-12-16 18:38:20

SnowPoro
Member
Registered: 2023-12-16
Posts: 3

Re: Lenovo LOQ AMD (15APH8) - Lid+Button Crashes & Power Off Issues

Same laptop same problem. If you found any solution please msg me.

Offline

#4 2023-12-16 21:36:40

JoeBlakeB
Member
Registered: 2022-03-06
Posts: 8
Website

Re: Lenovo LOQ AMD (15APH8) - Lid+Button Crashes & Power Off Issues

@snowporo so far no I haven't been able to find a fix, other than using the lts kernel which doesn't have wifi. I am planning on compiling a bunch of different linux-next versions to try and maybe find when the bug was introduced, and then reporting it to the correct subsystem maintainer. Ill keep this updated for you and anyone else who has the same laptop. If you find anything too, please post it here or message me.

Offline

#5 2023-12-20 13:40:28

SnowPoro
Member
Registered: 2023-12-16
Posts: 3

Re: Lenovo LOQ AMD (15APH8) - Lid+Button Crashes & Power Off Issues

@JoeBlakeB I'm not an expert in things like that, what I can say is on Kubuntu 23.10 with kernel 
6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
it behaves the same way as you described, LTS kernel crashes if plugged in or lid closed while laptop is sleeping. And Wi-Fi works. 
But fedora behaves same way as arch closing lid, FN+f4 = crash

Update*
Never mind, on Kubuntu it's also broken. Worked just fine for 2 days, then suddenly it broke and I didn't do any updates.

Last edited by SnowPoro (2023-12-20 19:09:13)

Offline

#6 2024-08-12 18:58:54

SnowPoro
Member
Registered: 2023-12-16
Posts: 3

Re: Lenovo LOQ AMD (15APH8) - Lid+Button Crashes & Power Off Issues

Forget to post update if someone finds this thread.
Blacklist ideapad_laptop
if this driver is blocked all those problems are solved. But you lose ability to set charge thresholds.

Offline

Board footer

Powered by FluxBB