You are not logged in.
this patch (https://lore.kernel.org/platform-driver … l.com/T/#t) still isn't in the kernel 6.0-rc3
That patch is part of a series that was not pulled for 6.0 as far as I can tell it is currently in the for-next branch of https://git.kernel.org/pub/scm/linux/ke … rs-x86.git so should be part of linux 6.1.
Did reverting 87d0e2f41b8cc2018499be4e8003fa8c09b6f2f not help restore battery level reporting to the same state as in 5.18?
Last edited by loqs (2022-08-28 23:25:56)
Offline
Hubbleexplorer wrote:this patch (https://lore.kernel.org/platform-driver … l.com/T/#t) still isn't in the kernel 6.0-rc3
That patch is part of a series that was not pulled for 6.0 as far as I can tell it is currently in the for-next branch of https://git.kernel.org/pub/scm/linux/ke … rs-x86.git so should be part of linux 6.1.
Ok thanks i will wait for 6.1
Did reverting 87d0e2f41b8cc2018499be4e8003fa8c09b6f2f not help restore battery level reporting to the same state as in 5.18?
I didn't test that because i have been busy with some stuff and i don't know when i will have time to test it
so for now im just using lts
Offline
Hubbleexplorer wrote:this patch (https://lore.kernel.org/platform-driver … l.com/T/#t) still isn't in the kernel 6.0-rc3
That patch is part of a series that was not pulled for 6.0 as far as I can tell it is currently in the for-next branch of https://git.kernel.org/pub/scm/linux/ke … rs-x86.git so should be part of linux 6.1.
Did reverting 87d0e2f41b8cc2018499be4e8003fa8c09b6f2f not help restore battery level reporting to the same state as in 5.18?
I tested your gdrive compilations 5.19.4 kernel but level reporting is not working yet.
Offline
I tested your gdrive compilations 5.19.4 kernel but level reporting is not working yet.
Can you remember which of the builds was the first with the issue? I assume the 5.18 build did not have the issue?
Offline
Mario156090 wrote:I tested your gdrive compilations 5.19.4 kernel but level reporting is not working yet.
Can you remember which of the builds was the first with the issue? I assume the 5.18 build did not have the issue?
Yes, I remember. The build actually is 5.18.16. In my case I use zen kernel.
[mario@Asus-Arch ~]$ uname -a
Linux Asus-Arch 5.18.16-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:10 +0000 x86_64 GNU/Linux
Offline
Either you misunderstood loqs or you might be facing an entirely different problem w/ similar symptoms.
https://bbs.archlinux.org/profile.php?id=119502
Is 5.18.16 a good or (the first) bad version?
Offline
It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
Offline
how to apply the kernel patch for asus ec sensor
my machine is asus tuf 2021
my kernel is xanmod 5.19
Offline
It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
can you show your configuration about asus_ec_module?
Offline
DodoGTA wrote:It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
can you show your configuration about asus_ec_module?
seems you can just use kernel parameter: `modprobe.blacklist=asus_ec_sensors` or place `blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf
Offline
On that note, it looks like the asus_ec_sensors module locks the ACPI mutex when loaded, which explains all the issues...as to why it happens to begin with is yet to be concluded since the module doesnt appear to load....at least it isnt present in lsmod
EDIT: maybe it doesnt have to fully load but be attempted to load, and then fails to unlock the mutex
Last edited by Annika (2022-08-29 17:45:45)
Offline
On that note, it looks like the asus_ec_sensors module locks the ACPI mutex when loaded, which explains all the issues...as to why it happens to begin with is yet to be concluded since the module doesnt appear to load....at least it isnt present in lsmod
Did the issue start with 5.19 on your system? If so why not try the bisection kernels to find which commit introduced it?
Offline
Annika wrote:On that note, it looks like the asus_ec_sensors module locks the ACPI mutex when loaded, which explains all the issues...as to why it happens to begin with is yet to be concluded since the module doesnt appear to load....at least it isnt present in lsmod
Did the issue start with 5.19 on your system? If so why not try the bisection kernels to find which commit introduced it?
yes it did, the commit is probably this https://git.kernel.org/pub/scm/linux/ke … bc1ff53d14
Offline
I can confirm after blacklisting asus_ec_sensors everything works correctly on 5.19.5 kernel
Offline
the commit is probably this https://git.kernel.org/pub/scm/linux/ke … bc1ff53d14
https://drive.google.com/file/d/1SG8reu … sp=sharing linux-5.18rc7.r28.gde8fbac5e59e-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1iLGTTq … sp=sharing linux-headers-5.18rc7.r28.gde8fbac5e59e-1-x86_64.pkg.tar.zst
and its parent
https://drive.google.com/file/d/14FoaeB … sp=sharing linux-5.18rc7.r27.g5cd29012028d-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1V8x9qC … sp=sharing linux-headers-5.18rc7.r27.g5cd29012028d-1-x86_64.pkg.tar.zst
Offline
Mario156090 wrote:DodoGTA wrote:It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
can you show your configuration about asus_ec_module?
seems you can just use kernel parameter: `modprobe.blacklist=asus_ec_sensors` or place `blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf
Huawei matebook 14 KLVD-WFH9
Now it works well
Thank you!
Offline
Is 5.18.16 a good or (the first) bad version?
5.18.16 was the last good version. Anything >= 5.19 doesn't work. I haven't tried patches from other people in this thread, but I did decide to try linux-zen just for fun, and it provided similar results. Right now I still am on the LTS kernel.
Offline
Ok, so you didn't answer loqs' question, however w/ the recent findings that's now moot.
Try to blacklist asus_ec_module and see whether that "fixes" it. If so, you're in the same boat as everyone else in this thread.
Offline
Mario156090 wrote:DodoGTA wrote:It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
can you show your configuration about asus_ec_module?
seems you can just use kernel parameter: `modprobe.blacklist=asus_ec_sensors` or place `blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf
now works for me on 5.19.5
Offline
Offline
Annika wrote:Mario156090 wrote:can you show your configuration about asus_ec_module?
seems you can just use kernel parameter: `modprobe.blacklist=asus_ec_sensors` or place `blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf
now works for me on 5.19.5
Me too, blacklisted that module is a valid workaround but the question is:
What problem is the consecuence?
My CPU is now 90 celsius in gamming.
Offline
I can relate for my huawei matebook 14 intel version. Blacklisting the asus module fix the issue
Offline
Mario156090 wrote:DodoGTA wrote:It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
can you show your configuration about asus_ec_module?
seems you can just use kernel parameter: `modprobe.blacklist=asus_ec_sensors` or place `blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf
`blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf works on 5.19.3.
Offline
Mario156090 wrote:DodoGTA wrote:It looks like that the asus_ec_sensors module causes the battery issue on 5.19+ (I blocklisted it and my system works fine now)
I'm actually typing on this system right now (unplugged of course) and the battery percentage keeps going down
can you show your configuration about asus_ec_module?
seems you can just use kernel parameter: `modprobe.blacklist=asus_ec_sensors` or place `blacklist asus_ec_sensors` in /etc/modprobe.d/asus_ec_sensors.conf
Works for HUAWEI MateBook D 14 NbDE-WXX9. Thank you!
Offline
For those who want a recent kernel without the problems use the linux-g14 from the g14 repo dont use the one in the aur
https://asus-linux.org/wiki/arch-guide/
Offline