Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LabTop MkIV] power management issues #124

Closed
macmpi opened this issue Sep 6, 2023 · 18 comments
Closed

[LabTop MkIV] power management issues #124

macmpi opened this issue Sep 6, 2023 · 18 comments

Comments

@macmpi
Copy link

macmpi commented Sep 6, 2023

coreboot 5.60 (and earlier) / 5.15.0-82-generic #91~20.04.1-Ubuntu SMP Fri Aug 18 16:24:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
(elementary 6.1)

Laptop abruptly looses power without any system low-power warning (reported capacity around 28-30% before power loss).
In Suspend mode (manually activated and lid closed), battery seems to continue to slowly drain.

Discussed within support ticket, but reporting here for records.
Seems like some EC/calibration update is in the works that may help resolve the issue.

@Sean-StarLabs
Copy link
Contributor

Do you mean 8.60? But yes, there's an EC update in the works that'll improve the calibration - but they will drain power whilst suspended, that's normal

@macmpi
Copy link
Author

macmpi commented Sep 6, 2023

Do you mean 8.60?

Yes indeed, sorry for the typo.

@macmpi
Copy link
Author

macmpi commented Sep 16, 2023

It seems 8.94 for L4 been pulled after a few days: is it recommended to eventually downgrade to 8.60 then?
https://fwupd.org/lvfs/devices/com.starlabs.L4.coreboot

@Sean-StarLabs
Copy link
Contributor

Only if you see issues, it was pulled as the 08 microcode seems to make a few distros freeze

@macmpi
Copy link
Author

macmpi commented Jan 22, 2024

But yes, there's an EC update in the works that'll improve the calibration

Dear @Sean-StarLabs, would you have any estimate on release for such fix? Thanks for any feedback.

@Sean-StarLabs
Copy link
Contributor

No - it's too hard to predict time!

@Sean-StarLabs
Copy link
Contributor

Fixed with 406ae53

@macmpi
Copy link
Author

macmpi commented Feb 25, 2024

Lost all Fn keys after (long) sleep after the update.
Hitting fn key simultaneouly does not help.
Lock has no visible influence.
Trackpad is also disabled…
Reboot did not help.

Downgraded to 8.99 from cmdline: keys are back to normal

$ fwupdmgr --version
runtime   org.freedesktop.fwupd         1.8.4
runtime   org.freedesktop.fwupd-efi     1.4
compile   org.freedesktop.gusb          0.3.5
runtime   com.dell.libsmbios            2.4
runtime   org.kernel                    5.15.0-97-generic
compile   com.hughsie.libjcat           0.1.9
compile   org.freedesktop.fwupd         1.8.4
runtime   org.freedesktop.gusb          0.3.5

@Sean-StarLabs
Copy link
Contributor

"the update" is coreboot 24.02? If so, it sounds like the EC wasn't updated - do you know what that was?

@macmpi
Copy link
Author

macmpi commented Feb 25, 2024

yes 24.02 it was. I am now back to 8.99.
EC remained 1.07 all the way.

@Sean-StarLabs
Copy link
Contributor

That'll be it. You can just manually update it with:

sudo wget https://github.com/StarLabsLtd/firmware/raw/master/binaries/ifu.efi -O /boot/efi/ifu.efi
sudo wget https://github.com/StarLabsLtd/blobs/raw/main/mainboard/starlabs/starbook/cml/ec.bin -O /boot/efi/ec.bin

Then, with the charger connected, reboot to the EFI shell and enter the below commands (there is a chance it could be fs1, fs2 etc, depending on your setup. If you get a message saying can't find ifu.efi, please try them in ascending order):

fs0:
ifu.efi ec.bin 128

@macmpi
Copy link
Author

macmpi commented Feb 25, 2024

Thanks.
Before I do, what's the version it should show after that update?
Will this EC work with 8.99, or only with 24.02?

@Sean-StarLabs
Copy link
Contributor

24.02

It'll "work", but things won't line up, so you'll lose the same things (function keys, backlight timer etc)

@macmpi
Copy link
Author

macmpi commented Feb 26, 2024

EC and coreboot now on 24.02 (fs0 was fine).
Thanks for great support!

Isn't normal firmware update supposed to also update EC if needed?

@Sean-StarLabs
Copy link
Contributor

It would have done, likely, just hadn't applied it yet as there's a long list of requirements for an EC update to apply automatically

@macmpi
Copy link
Author

macmpi commented Feb 28, 2024

S3 seems much much better now!
lock key setting does not seem to survive reboot anymore.

@macmpi
Copy link
Author

macmpi commented Feb 28, 2024

Just noticed:

[35321.550117] ACPI: battery: [Firmware Bug]: (dis)charge rate invalid.

LabTop_2024-02-28_16-09-55.zip

@Sean-StarLabs
Copy link
Contributor

[35321.550117] ACPI: battery: [Firmware Bug]: (dis)charge rate invalid.

5.15 won't support it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants