You are not logged in.

#26 2024-08-10 20:55:06

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

seth wrote:
acpi_osi=! "acpi_osi=Windows 2022"

is wrong

acpi_osi=! acpi_osi="Windows 2022"

In the boot entry, the cmdline looks like this:

acpi_osi=! acpi_osi="Windows 2022"

after boot, cat /proc/cmdline shows like this:

acpi_osi=! "acpi_osi=Windows 2022"

This is my default grub config:

$ cat /etc/default/grub
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_DISABLE_OS_PROBER="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet acpi_osi=! acpi_osi=\"Windows 2022\""
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="true"

What I doing wrong?

Offline

#27 2024-08-10 21:00:07

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Very slow charging on my new laptop

Try

GRUB_CMDLINE_LINUX='rhgb quiet acpi_osi=! acpi_osi="Windows 2022"'

but you could also edit /boot/grub/grub.cfg manually.

Offline

#28 2024-08-10 21:31:59

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

Already tried, does not work. sad

Offline

#29 2024-08-10 21:34:43

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Very slow charging on my new laptop

Manually editing the grub.cfg does not work??

Offline

#30 2024-08-10 21:59:53

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

Changing grub.cfg and changing boot entry directly also does not work.

To be clear, I using Fedora 40 and your instructions are right, but maybe this is a weird behavior from how the distro handles the grub config.

https://bugzilla.redhat.com/show_bug.cgi?id=950760

I will keep searching how to solve this issue.

Offline

#31 2024-08-11 09:38:33

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Very slow charging on my new laptop

D'ohh… roll
Do you get away w/ using single quotes for the OSI token?

GRUB_CMDLINE_LINUX="rhgb quiet acpi_osi=! acpi_osi='Windows 2022'"

Offline

#32 2024-08-11 12:58:10

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

I already tried, and keep trying other ways. neutral

Offline

#33 2024-08-11 13:38:41

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Very slow charging on my new laptop

1. escape it
GRUB_CMDLINE_LINUX="rhgb quiet acpi_osi=! acpi_osi=Windows\ 2022"
2. try whether just "windows" makes the device happy enough
GRUB_CMDLINE_LINUX="rhgb quiet acpi_osi=! acpi_osi=Windows"

Offline

#34 2024-08-11 14:15:31

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

I also tried acpi_osi=Windows, does not make it happy.

Later, I will try using the "escaped" way.

Offline

#35 2024-08-11 15:04:58

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

seth wrote:

1. escape it
GRUB_CMDLINE_LINUX="rhgb quiet acpi_osi=! acpi_osi=Windows\ 2022"
2. try whether just "windows" makes the device happy enough
GRUB_CMDLINE_LINUX="rhgb quiet acpi_osi=! acpi_osi=Windows"

Yep, also don't works...

Offline

#36 2024-08-11 17:36:53

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

Well, I reinstalled Fedora with systemd-boot, applied the kernel options and it's matched correctly. smile

When I tested the charging rate with upower, charge rate shows 1W. sad

So, I think this isn't a workaround, not at least for Fedora. I'll try install Arch and try again.

Offline

#37 2024-08-11 19:26:34

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Very slow charging on my new laptop

The kernel/the OS has almost nothing to do with this (other than here signalling the firmware what kind of OS it's booting) - make sure the firmware is somewhat up-to-date (the @Gurgur might be able to share the version they're running) and check the UEFI settings) - and just to be sure, the notebook charges at full speed when no OS is running and you do not have a parallel OS (windows) installed?

Offline

#38 2024-08-11 20:19:10

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

seth wrote:

The kernel/the OS has almost nothing to do with this (other than here signalling the firmware what kind of OS it's booting) - make sure the firmware is somewhat up-to-date (the @Gurgur might be able to share the version they're running) and check the UEFI settings)

Galaxy Book BIOS only have UEFI option, so no problem about using Legacy option.
I have Windows dual boot to make sure the firmware is up to date.
Secure boot is enabled.

seth wrote:

- and just to be sure, the notebook charges at full speed when no OS is running

Yes.

seth wrote:

you do not have a parallel OS (windows) installed?

No, I have dual boot with windows.

Offline

#39 2024-08-11 20:31:07

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [SOLVED] Very slow charging on my new laptop

I have Windows dual boot to make sure the firmware is up to date.
Secure boot is enabled.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Not sure about secure boot (and much of a hassle it would be to disable that)

Offline

#40 2024-08-12 03:49:15

jusqua
Member
Registered: 2024-08-04
Posts: 12

Re: [SOLVED] Very slow charging on my new laptop

After desabling Windows Fast-Start, finally it's starts to charge while linux is booted. big_smile

Thanks very much, @seth. Helped a lot!

Offline

Board footer

Powered by FluxBB