You are not logged in.

#51 2022-08-23 18:55:43

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

seth wrote:

@Annika, the previously posted lsmod doesn't seem to match any of the differences but you could however diff the lsmod of the kernel w/ modprobe-db and that w/o?

huh? thats not an lsmod, that's grepping the running kernel config.gz for matches of ASUS, and I know since this issue is related to ASUS EC/ACPI control, perhaps these are causing problems so to rule that out, im compiling another kernel to test against, so i cant reboot to provide a diff atm but i will once done compiling!

Offline

#52 2022-08-23 18:58:05

seth
Member
Registered: 2012-09-03
Posts: 59,357

Re: [SOLVED] Arch no longer updates battery level/state

Yes, I'm remotely aware of that wink
The idea was to compare the lsmods *instead* (since that allows you to see what watered down from the config)

Offline

#53 2022-08-23 19:21:44

cradlemann
Member
Registered: 2017-07-14
Posts: 14

Re: [SOLVED] Arch no longer updates battery level/state

@Annika

This is an output from lts kernel. I hope this will help with debugging

zless /proc/config.gz | rg -i asus
CONFIG_USB_PEGASUS=m
CONFIG_TABLET_USB_PEGASUS=m
CONFIG_HID_ASUS=m
CONFIG_ASUS_LAPTOP=m
CONFIG_ASUS_WIRELESS=m
CONFIG_ASUS_WMI=m
CONFIG_ASUS_NB_WMI=m

Last edited by cradlemann (2022-08-23 19:22:29)

Offline

#54 2022-08-23 19:41:07

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

alright everyone, indeed it is down to these four modules!

 
CONFIG_SENSORS_ASUS_WMI=m
CONFIG_SENSORS_ASUS_EC=m
CONFIG_HID_ASUS=m
CONFIG_ASUS_LAPTOP=m

that are causing the problems, @seth, I tried to make a lsmod diff, but it kinda doesn't work out well because of the kernel process IDs being there lol

Last edited by Annika (2022-08-23 19:50:12)

Offline

#55 2022-08-23 19:46:17

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

cradlemann wrote:

@Annika

This is an output from lts kernel. I hope this will help with debugging

zless /proc/config.gz | rg -i asus
CONFIG_USB_PEGASUS=m
CONFIG_TABLET_USB_PEGASUS=m
CONFIG_HID_ASUS=m
CONFIG_ASUS_LAPTOP=m
CONFIG_ASUS_WIRELESS=m
CONFIG_ASUS_WMI=m
CONFIG_ASUS_NB_WMI=m

oh wait if this is 5.19.3, then that rules out

CONFIG_SENSORS_ASUS_WMI=m
CONFIG_SENSORS_ASUS_EC=m

Offline

#56 2022-08-23 19:48:17

cradlemann
Member
Registered: 2017-07-14
Posts: 14

Re: [SOLVED] Arch no longer updates battery level/state

Annika wrote:

oh wait if this is 5.19.3, then that rules out

No this is LTS kernel

➜ uname -a
Linux crandel 5.15.62-1-lts #1 SMP Sun, 21 Aug 2022 18:43:48 +0000 x86_64 GNU/Linux

Offline

#57 2022-08-23 19:49:25

seth
Member
Registered: 2012-09-03
Posts: 59,357

Re: [SOLVED] Arch no longer updates battery level/state

https://github.com/archlinux/svntogit-p … unk/config

CONFIG_USB_PEGASUS=m
CONFIG_TABLET_USB_PEGASUS=m
CONFIG_SENSORS_ASUS_WMI=m
CONFIG_SENSORS_ASUS_EC=m
CONFIG_HID_ASUS=m
CONFIG_ASUS_LAPTOP=m
CONFIG_ASUS_WIRELESS=m
CONFIG_ASUS_WMI=m
CONFIG_ASUS_NB_WMI=m
CONFIG_ASUS_TF103C_DOCK=m

Edit

lsmod | cut -d " " -f1 | sort

Last edited by seth (2022-08-23 19:50:58)

Offline

#58 2022-08-23 19:49:44

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

cradlemann wrote:
Annika wrote:

oh wait if this is 5.19.3, then that rules out

No this is LTS kernel

➜ uname -a
Linux crandel 5.15.62-1-lts #1 SMP Sun, 21 Aug 2022 18:43:48 +0000 x86_64 GNU/Linux

ah, my bad then

Offline

#59 2022-08-23 19:52:32

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

well anyway if @Hubbleexplorer can update the bug report to include the affected modules, im sure that would help.

Offline

#60 2022-08-23 19:55:21

seth
Member
Registered: 2012-09-03
Posts: 59,357

Re: [SOLVED] Arch no longer updates battery level/state

Did you see my edit on your edit on how to filter lsmod to make it diff'able?

Offline

#61 2022-08-23 20:00:09

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

seth wrote:

Did you see my edit on your edit on how to filter lsmod to make it diff'able?

I did, i'm not seeing anything conclusive but here it is anyway

[^ ^] ~ [1]> cat lsmod.diff
--- ../linux-tkg-subvol/linux-tkg/full-5.19.3-arch-kernel.diff2 2022-08-23 15:54:18.691998975 -0400
+++ asus_exclude_Conflict-db-6.0rc2-tkg-kernel.diff2    2022-08-23 15:56:25.568108983 -0400
@@ -9,7 +9,6 @@ asus_nb_wmi
 asus_wireless
 asus_wmi
 atkbd
-blake2b_generic
 bluetooth
 bnep
 bpf_preload
@@ -40,6 +39,7 @@ curve25519_x86_64
 dm_mod
 dm_multipath
 dns_resolver
+drm_buddy
 drm_display_helper
 drm_ttm_helper
 ecdh_generic
@@ -77,6 +77,7 @@ joydev
 k10temp
 kvm
 kvm_amd
+led_class_multicolor
 ledtrig_audio
 libarc4
 libchacha
@@ -112,6 +113,9 @@ nft_objref
 nft_reject
 nft_reject_inet
 nls_utf8
+nvidia
+nvidia_drm
+nvidia_modeset
 nvme
 nvme_core
 pcspkr
@@ -122,7 +126,6 @@ r8169
 raid6_pq
 rapl
 realtek
-rfcomm
 rfkill
 rng_core
 roles
@@ -143,7 +146,6 @@ snd_hda_codec_hdmi
 snd_hda_codec_realtek
 snd_hda_core
 snd_hda_intel
-snd_hrtimer
 snd_hwdep
 snd_intel_dspcfg
 snd_intel_sdw_acpi
@@ -153,9 +155,7 @@ snd_pci_acp6x
 snd_pcm
 snd_pcm_dmaengine
 snd_rn_pci_acp3x
-snd_seq
-snd_seq_device
-snd_seq_dummy
+snd_rpl_pci_acp6x
 snd_soc_acpi
 snd_soc_core
 snd_sof

Offline

#62 2022-08-23 20:02:50

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

from what i can gather, it seems likely that one (or more) of those 4 modules enables other code paths in the asus-wmi module that cause these laptops to not function correctly with reporting acpi events to the kernel

Last edited by Annika (2022-08-23 20:03:25)

Offline

#63 2022-08-24 01:55:49

Hubbleexplorer
Member
Registered: 2021-05-15
Posts: 89

Re: [SOLVED] Arch no longer updates battery level/state

First sorry for the long time to respond

Annika wrote:

well anyway if @Hubbleexplorer can update the bug report to include the affected modules, im sure that would help.

Yes i will add that information. Also thanks for sharing the patchset

Offline

#64 2022-08-24 15:30:18

Hubbleexplorer
Member
Registered: 2021-05-15
Posts: 89

Re: [SOLVED] Arch no longer updates battery level/state

So today a tried the patchset on the kernel 6.0-rc2
the good news the battery and the sensor problem is gone and also more sensors appear
the bad news is that the touchpad stop working and kde can't find it

Offline

#65 2022-08-24 16:48:20

Annika
Member
Registered: 2022-08-14
Posts: 24

Re: [SOLVED] Arch no longer updates battery level/state

Hubbleexplorer wrote:

So today a tried the patchset on the kernel 6.0-rc2
the good news the battery and the sensor problem is gone and also more sensors appear
the bad news is that the touchpad stop working and kde can't find it

enable CONFIG_PINCTRL_AMD

Offline

#66 2022-08-25 13:15:20

Hubbleexplorer
Member
Registered: 2021-05-15
Posts: 89

Re: [SOLVED] Arch no longer updates battery level/state

Annika wrote:

enable CONFIG_PINCTRL_AMD

Thanks problem solve

Offline

#67 2022-08-25 13:29:31

cradlemann
Member
Registered: 2017-07-14
Posts: 14

Re: [SOLVED] Arch no longer updates battery level/state

Will the problem be solved in current kernel?

Offline

#68 2022-08-25 18:12:13

Hubbleexplorer
Member
Registered: 2021-05-15
Posts: 89

Re: [SOLVED] Arch no longer updates battery level/state

cradlemann wrote:

Will the problem be solved in current kernel?

Probably not the patch that is available is for 6.0

Offline

#69 2022-08-26 00:40:20

Mario156090
Member
Registered: 2018-12-04
Posts: 50

Re: [SOLVED] Arch no longer updates battery level/state

Same problem here with Asus TUF A15 2021. Kernel 5.19.3 does not work. The last kernel works is 5.18.16.

Offline

#70 2022-08-26 07:17:22

MarselCoder
Member
Registered: 2022-08-18
Posts: 3

Re: [SOLVED] Arch no longer updates battery level/state

5.19.4 not fixed...

Offline

#71 2022-08-26 20:59:48

Mario156090
Member
Registered: 2018-12-04
Posts: 50

Re: [SOLVED] Arch no longer updates battery level/state

MarselCoder wrote:

5.19.4 not fixed...

me neither. sad

Offline

#72 2022-08-26 21:17:35

loqs
Member
Registered: 2014-03-06
Posts: 18,103

Re: [SOLVED] Arch no longer updates battery level/state

Mario156090 wrote:
MarselCoder wrote:

5.19.4 not fixed...

me neither. sad

What about the kernels from https://bbs.archlinux.org/viewtopic.php … 5#p2053895 and https://bbs.archlinux.org/viewtopic.php … 8#p2053918

Offline

#73 2022-08-27 15:54:18

Mario156090
Member
Registered: 2018-12-04
Posts: 50

Re: [SOLVED] Arch no longer updates battery level/state

loqs wrote:
Mario156090 wrote:
MarselCoder wrote:

5.19.4 not fixed...

me neither. sad

What about the kernels from https://bbs.archlinux.org/viewtopic.php … 5#p2053895 and https://bbs.archlinux.org/viewtopic.php … 8#p2053918

I don't test that version but I can see is 5.18 release candidate version, de bug is from 5.19.X version.

Offline

#74 2022-08-27 16:13:50

loqs
Member
Registered: 2014-03-06
Posts: 18,103

Re: [SOLVED] Arch no longer updates battery level/state

Mario156090 wrote:

I don't test that version but I can see is 5.18 release candidate version, de bug is from 5.19.X version.

By default git describe finds the most recent tag that predates the commit rather than the most recent tag that contains the commit.  If a commit has been queued for weeks or months this can lead to surprising results:

git describe c069d2756c01
v5.18-rc7-164-gc069d2756c01
git describe --contains c069d2756c01
v5.19-rc1~47^2~4

Edit:
https://bbs.archlinux.org/viewtopic.php … 8#p2054108 5.19.4 with 87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb reverted which fixes one of the issues.

Last edited by loqs (2022-08-27 19:47:33)

Offline

#75 2022-08-28 23:10:23

Hubbleexplorer
Member
Registered: 2021-05-15
Posts: 89

Re: [SOLVED] Arch no longer updates battery level/state

this patch (https://lore.kernel.org/platform-driver … l.com/T/#t) still isn't in the kernel 6.0-rc3
any one knows when it will be added to the kernel?
if it will be added at all

Offline

Board footer

Powered by FluxBB