You are not logged in.
@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
Yes, I'm remotely aware of that
The idea was to compare the lsmods *instead* (since that allows you to see what watered down from the config)
Online
@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
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
@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
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
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)
Online
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
well anyway if @Hubbleexplorer can update the bug report to include the affected modules, im sure that would help.
Offline
Did you see my edit on your edit on how to filter lsmod to make it diff'able?
Online
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
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
First sorry for the long time to respond
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
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
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
enable CONFIG_PINCTRL_AMD
Thanks problem solve
Offline
Will the problem be solved in current kernel?
Offline
Will the problem be solved in current kernel?
Probably not the patch that is available is for 6.0
Offline
Same problem here with Asus TUF A15 2021. Kernel 5.19.3 does not work. The last kernel works is 5.18.16.
Offline
5.19.4 not fixed...
Offline
5.19.4 not fixed...
me neither.
Offline
MarselCoder wrote:5.19.4 not fixed...
me neither.
What about the kernels from https://bbs.archlinux.org/viewtopic.php … 5#p2053895 and https://bbs.archlinux.org/viewtopic.php … 8#p2053918
Offline
Mario156090 wrote:MarselCoder wrote:5.19.4 not fixed...
me neither.
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
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
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