NeonGeckoCom / neon_debos

Debos build files for Neon OS
Apache License 2.0
1 stars 8 forks source link

[BUG] Neon OS Release 24.07.24 incomplete shutdown #166

Open Olzeke51 opened 4 months ago

Olzeke51 commented 4 months ago

Description

a burned .img to usb/hdd doesn't turn the Rpi off - it still has activity LED

Steps to Reproduce

fresh .img file to usb/hdd - on Rpi4-8G, no DSI - using HDMI, mouse, network cable system was working decently - wanted to test the gui/menu/shutdown/shutdown option screen went dark (in this case) , hdd showed some activity - then nothing BUT Rpi still showed green/activity LED pattern. -- pulled power after 6-7 minutes Pwr'd up - same result a second time

Relevant Code

No response

Other Notes

on a Rpi4-2G, usb/hdd, DSI touch screen [Mark II dev kit-R6] - - it worked as advertised this was from an 'update' from a Beta-50 running system

NeonDaniel commented 4 months ago

Is this new behavior?

I believe this is expected; the Pi is kept on to keep the fan powered off. Specifically, after unmount.target but before final.target on a Mark2, there's a script that sets the screen off and the fan to 0 and then waits indefinitely so that the fan stays off.

This is a workaround for a hardware design choice (I'd call it a flaw) which makes the fan run at 100% by default, unless the GPIO pin provides a constant output (I think 0V).

Olzeke51 commented 4 months ago

a month (?2)or so ago - this was usually happening. Haven't seen this issue recently except maybe ??? the two releases you pulled - can't recall the unit(R6) that I "updated" from works fine -!!! just did it again and the activity light goes out -2-3 min start to finsh.

NeonDaniel commented 4 months ago

Interesting.. The R6 won't do it because the fan can be turned off without the Pi staying on.. On the production unit, when the lights went off, did the fan come back on?

Olzeke51 commented 4 months ago

no fan available on the R10 as of yet

NeonDaniel commented 4 months ago

Fan AND lights are off, or fan is off and lights are on?

Olzeke51 commented 4 months ago

there is no fan installed the Pi green activity light is blinking indicating communication , per Pi docs

NeonDaniel commented 4 months ago

I'm lost.. Did you remove the fan from the Mark 2?

On the Production (R10) Mark 2, if the device is shut down, then the Pi should remain on and the fan should be off. If the Pi powers off completely, then the fan will come on at 100%.

Olzeke51 commented 4 months ago

my R10 is a board that was given to me and I restored it by cutting out the =12v caps to the audio processor, I bought a pi4-8G and just married the two together , stuck a 12v 3a powers supply on it , and an HDMI display cable

NeonDaniel commented 4 months ago

Got it.. So, R10 with no fan attached makes some more sense now.

I think this is behaving as expected, but perhaps something like a file flag to re-enable "normal" shutdown would be helpful? It's an edge case that may only affect you but it would be trivial to implement..