Page 1 of 1

"HDD" LED stays on when turning off X16 during SD card access

Posted: Tue Feb 20, 2024 6:32 pm
by Dacobi
I have a "problem" with my X16, which is that the "HDD" LED stays on when I shut off the machine with the power button, while a program is accessing the SD card.
I've tested this with the demos that stream audio/images from the SD card as well as my game, which streams audio from the SD card in the menu.

The "HDD" LED turns off, when I turn the machine back on.

Is this normal behavior/a known bug or an issue with my board?

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Tue Feb 20, 2024 8:07 pm
by JimmyDansbo
I have seen similar behavior on both the official board and the OtterX.

It is strange as the code in the SMC clearly turns of the activity light on both a poweroff and a reset.
I wonder if there is something in the timing that prevents the SMC from actually turning the activity LED off?

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 5:27 am
by Stefan
I've not been able to replicate that issue. What Kernal and SMC firmware versions do you use?

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 2:22 pm
by Dacobi
I've not been able to replicate that issue. What Kernal and SMC firmware versions do you use?
I haven't changed anything since I received the board, which is running ROM v47 and VERA v0.3.2, with 2MB RAM and User Port installed.

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 3:59 pm
by Stefan
AFAIK, R47 hasn’t been published yet. The VERA firmware doesn’t control the activity LED. The easiest way to get what firmware versions are installed is to type HELP

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 4:53 pm
by Dacobi
I got R47 from neofetch, but HELP also says pre-release R47

IMG20240222174943.jpg
IMG20240222174943.jpg (5.44 MiB) Viewed 2450 times

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 5:10 pm
by DragWx
I found this issue on Github which might be the issue you're describing. It should be fixed in the latest version of the SMC firmware (45.1.1).

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 5:28 pm
by Stefan
Yes, looking at the Github blame, it seems that the code that turns off the activity LED was added to the Power Off sequence as part of Pull Request #18, merged on Oct 18, 2023.

The SMC firmware version was changed to 45.1.0 on Sep 3, 2023 and to 45.1.1 on Oct 20, 2023. There is no published 45.1.0 release, and it's likely that the firmware installed on Dacobi's machine is from before the fix merged on Oct 18, 2023. I'm running the latest master branch, and it doesn't have a problem with the activity LED.

Re: "HDD" LED stays on when turning off X16 during SD card access

Posted: Thu Feb 22, 2024 5:55 pm
by Dacobi
Is the SMC firmware a part of/embedded in the ROM or does it need to be flashed separately?

Edit: nevermind, I found it
https://github.com/X16Community/x16-doc ... 20Guide.md