MrChromebox / firmware

Issue tracker for firmware issues
78 stars 15 forks source link

Fan runs at full speed after power loss Asus Chromebox 3 CN65 (teemo) #658

Open dantethemetaphor opened 1 month ago

dantethemetaphor commented 1 month ago

When the device (Asus Chromebox 3) reboots from power loss, the fans run at full speed. Only way I can get fans to run normally is to turn it off and boot manually from power button. I have noticed this behavior since updating firmware, (However I cannot recall which was the last firmware which didn't have this issue, my last update was somewhere last year)

MrChromebox commented 1 month ago

can't replicate this behavior here on the 2405.0 firmware.

With OS booted, removing and reconnecting power results in a brief fan surge when powering on, as the EC is in RO mode, but as soon as it jumps to RW, the fan speed is returned to normal. 1-1.5s max.

dantethemetaphor commented 1 month ago

~Funny it appears to have stopped happening on one unit. Maybe because of clearing UEFI NVRAM~, But I have another unit with a fresh install of Ubuntu and the same problem is happening, (running 2405.0 06/15/2024) . Clearing NVRAM on this unit doesn't resolve the problem

dantethemetaphor commented 1 month ago

I have managed to run some more tests. The issue of full fan speed after power loss is indeed happening on all 3 of my units running 2405.0 (including the one I thought stopped exhibiting the issue). I have another unit with 4.20 which doesn't exhibit the behavior. I think I should also mention that I am able to get the fan to run normally and control it after booting into the os and running the chrultrabook-tool fan utility.
Is there a way I could downgrade to 4.20 as we wait for a fix?

MrChromebox commented 1 month ago

what mode is the fan in, per the chrultrabook utility (or ectool)? are the temps high?

I don't understand why I can't reproduce this here on either of my two units

please boot to the OS when this happens and grab a cbmem log and attach (not paste) here

dantethemetaphor commented 1 month ago

Not sure if I got this right, i built cbmem and run cbmem -c cbmem.log

dantethemetaphor commented 1 month ago

the temps are normal, dont know how to check the fan mode, they fan runs at full speed right away so i assume they are running at max speed?, also as mentioned, if i reboot, or power off and turn on the unit using the power button the it boots normally. only when it auto powers up after disconnecting and reconnecting power do the fans run at max.

MrChromebox commented 1 month ago

the cbmem log shows your device booting the EC in RO mode, then switching to RW. The fan speed should have corrected itself at that time. We can try setting it to Auto mode on boot and see if that helps

dantethemetaphor commented 4 weeks ago

Hi did you ever get to the bottom of this? you mentioned setting the fan speed to auto at boot, will you be doing that in the next release or is there a way for me to do it on my end?

MrChromebox commented 4 weeks ago

ping me via email or discord next week and I'll give you a test build w/auto enabled at boot, and we'll see if that solves the problem

magicalyu commented 6 days ago

may I ask if this issue has been solved yet? I also have the same problem. (running 2405.0 06/15/2024 bios firmware) I have also tried to clear NVRAM, but not work.

More details: if plug back the power in 1-2 minutes after power loss, the unit will not auto power on, then press the power button to switch on the unit, fan will keep as usual. But if wait a longer time, then plug back the power. the unit will auto-power on and the fan runs at max speed, and seems the saved boot order is lost. However, the timer is still correct. so I think this is not related to some bios battery issue.

MrChromebox commented 6 days ago

may I ask if this issue has been solved yet?

I can't reproduce this on my units here. No one affected by the issue has offered to test a build with auto fan control enabled.

and seems the saved boot order is lost.

the bootorder is stored in UEFI NVRAM, on the flash chip. It is not affected by loss of power

magicalyu commented 5 days ago

Thanks a lot for your reply.

I can't reproduce this on my units here. No one affected by the issue has offered to test a build with auto fan control enabled.

I am very willing to help you test the build. Just tell me what should I do.

the bootorder is stored in UEFI NVRAM, on the flash chip. It is not affected by loss of power

How can I test if the UEFI NVRAM is working or not?

Thanks again for your help

dantethemetaphor commented 5 days ago

the issue is still occuring for me, unfortunately been abit busy so i had to have the unit flashed back to the older versions as they were running as home servers. i do have one extra unit and am willing to test the build with auto fan control. will send you an email @MrChromebox

magicalyu commented 5 days ago

Hi, I also have sent a email to you @MrChromebox. very happy to help, if you still need.

magicalyu commented 5 days ago

the fan issue does not appear anymore when flashed the new test build ! but the boot order will still be lost if power is lost.
Thanks a lot!

MrChromebox commented 4 days ago

the fan issue does not appear anymore when flashed the new test build !

ok, will add this to the upcoming 2408 release then

but the boot order will still be lost if power is lost.

this doesn't make sense to me, but I will investigate

dantethemetaphor commented 4 days ago

problem appears to be solved with the test build, will keep testing to see if it comes back