Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
This repository was archived by the owner on Aug 14, 2026. It is now read-only.

ATX turning on at boot with setting disabled #14

Open

Description

@terabyte12

I have both the "Turn on ATX on Boot" and "Follow USB Power" settings disabled yet when power is first attached, and the controller boots the ATX Supply is turned on.

Controller version 1.2.0

Power Toggle via the Board Button, Case Power Switch, and Web Management works as expected.

Activity

  1. TheGuyDanish commented on Nov 30, 2024

    @TheGuyDanish
    Contributor

    Thanks for the report, I've been looking into reproducing this behaviour but haven't been able to. Code-wise there's only four places where the power supply can be turned on:

    • The USB follow handler
    • The power button handler
    • The on-boot function
    • The web-based /power_toggle endpoint

    With both the on-boot and follow options turned off, that'd suggest to me the power button is the most likely trigger. Is the power button maybe being shorted? Or are the power switch pins tied together otherwise?

  2. terabyte12 commented on Dec 1, 2024

    @terabyte12
    Author

    I checked and I do not think the power sw is being shorted. The switch works perfectly to turn on/off after the boot up. I'm using the official SuperMicro Chassis front panel ribbon to break out cable. I did notice that simply plugging/un-plugging the PS SW header triggers on/off. I also am not able to get any of the front panel leds to illuminate with the PS LED header. I briefly got one led to light (the Over Heat LED) using the header but no longer. Perhaps my chassis Front Panel is suspect.

    I'll try probing with a meter tomorrow.

  3. rubylaser commented on Dec 1, 2024

    @rubylaser

    I checked and I do not think the power sw is being shorted. The switch works perfectly to turn on/off after the boot up. I'm using the official SuperMicro Chassis front panel ribbon to break out cable. I did notice that simply plugging/un-plugging the PS SW header triggers on/off. I also am not able to get any of the front panel leds to illuminate with the PS LED header. I briefly got one led to light (the Over Heat LED) using the header but no longer. Perhaps my chassis Front Panel is suspect.

    I'll try probing with a meter tomorrow.

    I have the same behavior in my Supermicro 826 case with the LEDs not working and removing the switch header causing a power off.

  4. terabyte12 commented on Dec 2, 2024

    @terabyte12
    Author

    Did more troubleshooting.

    • The Power SW header leads are definitely not shorted (continuity test on multi-meter).
    • The Power LED Header on the OpenJBOD is providing 3.3v when powered on.
    • Trying to test Front Panel LEDs with Multi-Meter in Diode Mode showed open.
      • Either all LEDs are bad, or this is a faulty way to test them

    Then I discovered that even with the Power SW and LED Headers disconnected the Board Still Powered on when AC was supplied!

    I dismounted the OpenJBOD from the case (i.e. free floating in air) and the problem went away. As long as the OpenJBOD is not screwed down it works as expected. Power remains off when AC is supplied and the setting "Turn on ATX on Boot" is disabled.

    Still no luck with LEDs while the board is not screwed down.

    I tried taller standoffs just in case the pre-installed ones were too short with no change.

    Testing between the chassis and the Power SW header shows continuity and triggers a power on.
    Not sure if this is just a SuperMicro Chassis issue or not.

    Should I source Nylon/Plastic Non-Conductive standoffs?

  5. natankeddem commented on Dec 2, 2024

    @natankeddem
    Contributor

    Going to post this here just to make sure everyone is on the same page about pinouts.
    OpenJBOD:
    image
    Supermicro 20Pin (I think):
    image

  6. TheGuyDanish commented on Dec 2, 2024

    @TheGuyDanish
    Contributor

    @terabyte12 @rubylaser I'd love if you would be able to get pictures of how your boards are connected when the power on happens. I'm assuming you're either not using the big bulky Supermicro header or breaking it out into the base pins? Just so I can try and get a better understanding.

    Should I source Nylon/Plastic Non-Conductive standoffs?

    While this would make it non-conductive and thus be a workaround, I think it'd be better to figure out what's causing it to exhibit the behaviour. At least for now.

  7. terabyte12 commented on Dec 2, 2024

    @terabyte12
    Author

    I am using the official SuperMicro breakout/split cable which has each connector labeled.

    https://store.supermicro.com/supermicro-15cm-16-pin-front-control-panel-split-extension-cable-cbl-0084l.html

    image

  8. TheGuyDanish commented on Dec 2, 2024

    @TheGuyDanish
    Contributor

    Interesting! I'd never seen that cable before. In that case, I'd think just hooking up the Power SW header to the PSW row on the OpenJBOD should work just fine unless the power switch is doing something different to just being a switch that closes the signal between the two pins.

  9. natankeddem commented on Dec 2, 2024

    @natankeddem
    Contributor

    Testing between the chassis and the Power SW header shows continuity

    Are you saying the pwr sw on your chassis has continuity to your chassis at all times? I looked at an 815 with a 20 pin and an 846 with a 16pin connector. Neither showed either leg of pin1 or pin2 connected to the chassis.

  10. terabyte12 commented on Dec 3, 2024

    @terabyte12
    Author

    Testing between the chassis and the Power SW header shows continuity

    Are you saying the pwr sw on your chassis has continuity to your chassis at all times? I looked at an 815 with a 20 pin and an 846 with a 16pin connector. Neither showed either leg of pin1 or pin2 connected to the chassis.

    No. From the base of the chassis to the OpenJBOD PWR SW Header (No front panel connected).

  11. terabyte12 commented on Dec 3, 2024

    @terabyte12
    Author

    Interesting! I'd never seen that cable before. In that case, I'd think just hooking up the Power SW header to the PSW row on the OpenJBOD should work just fine unless the power switch is doing something different to just being a switch that closes the signal between the two pins.

    My thoughts as well.

  12. natankeddem commented on Dec 3, 2024

    @natankeddem
    Contributor

    Testing between the chassis and the Power SW header shows continuity

    Are you saying the pwr sw on your chassis has continuity to your chassis at all times? I looked at an 815 with a 20 pin and an 846 with a 16pin connector. Neither showed either leg of pin1 or pin2 connected to the chassis.

    No. From the base of the chassis to the OpenJBOD PWR SW Header (No front panel connected).

    The pin near the edge of the board is tied to ground which should run to the chassis. The pin on the text side is the signal input into the proceesor, this should not tie to ground.

  13. terabyte12 commented on Dec 3, 2024

    @terabyte12
    Author

    Testing between the chassis and the Power SW header shows continuity

    Are you saying the pwr sw on your chassis has continuity to your chassis at all times? I looked at an 815 with a 20 pin and an 846 with a 16pin connector. Neither showed either leg of pin1 or pin2 connected to the chassis.

    No. From the base of the chassis to the OpenJBOD PWR SW Header (No front panel connected).

    The pin near the edge of the board is tied to ground which should run to the chassis. The pin on the text side is the signal input into the proceesor, this should not tie to ground.

    Yes, that is what I am seeing.

    But even with no front panel leads connected at all the system powers on as soon as AC is supplied. I'll work on getting photos/video.

  14. terabyte12 commented on Dec 3, 2024

    @terabyte12
    Author

    Here are some photos/video:

    image

    image

    PWR SW Connected:
    https://github.com/user-attachments/assets/151d2d02-10a3-421c-8994-e2a0e8a98336

    PWR SW Disconnected:
    https://github.com/user-attachments/assets/fa9d599c-3c56-4441-ab91-d579fa7f6524

    If I unmount the board and hold it up then the power on when AC is supplied does not happen. Not enough hands / didn't feel like unmounting the board to do a video (Let me know if you do indeed want that).

  15. natankeddem commented on Dec 4, 2024

    @natankeddem
    Contributor

    I was able to recreate the issue on my 846 chassis. Could I bother either of you to test out this fix I developed?
    https://github.com/natankeddem/software/actions/runs/12151204836/artifacts/2270862699

  16. natankeddem commented on Dec 4, 2024

    @natankeddem
    Contributor

    Sorry, for the confusion that build had a slight error, please try this one:
    https://github.com/natankeddem/software/actions/runs/12151541123/artifacts/2270954152

    Note: This is sort of a band aid. The PSU will still turn on for a few seconds until the device starts booting. The hardware flipflop is some how getting set before the rp2040 boots, it probably needs some pullup/pulldown resistors to fix this issue is my guess.

  17. terabyte12 commented on Dec 5, 2024

    @terabyte12
    Author

    Sorry, for the confusion that build had a slight error, please try this one: https://github.com/natankeddem/software/actions/runs/12151541123/artifacts/2270954152

    Note: This is sort of a band aid. The PSU will still turn on for a few seconds until the device starts booting. The hardware flipflop is some how getting set before the rp2040 boots, it probably needs some pullup/pulldown resistors to fix this issue is my guess.

    Downloaded. I'll try flashing it this weekend.

  18. terabyte12 commented on Dec 9, 2024

    @terabyte12
    Author

    Sorry, for the confusion that build had a slight error, please try this one: https://github.com/natankeddem/software/actions/runs/12151541123/artifacts/2270954152

    Note: This is sort of a band aid. The PSU will still turn on for a few seconds until the device starts booting. The hardware flipflop is some how getting set before the rp2040 boots, it probably needs some pullup/pulldown resistors to fix this issue is my guess.

    Flashed with this firmware. Behavior seems to be as you described.

    -While flashing is easy it will be much easier once #9 is implemented so we don't need to rack out and open the chassis for the USB.

    Behavior now when A/C power is supplied:

    • The Power Supply Fans ramp up for a brief moment.
      -- I believe the system is ON at this point as the PSU Alarm sounds until the second PSU is plugged in. This alarm
      does not occur when the system if OFF and only has 1 PSU plugged.

    • The system turns ON for a few seconds then turns OFF.
      -- The System Fans Ramp to 100%
      -- The SAS Backplane has power

    Once this "power up" cycle is complete the system is OFF and the Power Switch works as expected.

    I have a bunch of resistors, any guidance on what would be needed for pull up/down? This would go on the PWR SW, correct?

    Thanks!

  19. TheGuyDanish commented on Dec 9, 2024

    @TheGuyDanish
    Contributor

    I have a bunch of resistors, any guidance on what would be needed for pull up/down? This would go on the PWR SW, correct?

    @natankeddem has managed to add the resistors needed onto the dev board I sent him like this:
    image

    The layout has changed slightly between the dev board Natan has and the production run that has been shipped.

    These are the lines that need to be pulled down to ground via resistors to implement the hardware fix.
    image

    All the solid green areas on the PCB are filled in ground planes, so one side of the resistor can be soldered either to pins/pads (if possible with your equipment) or if you are able to scrape off some of the solder mask, to the trace itself. The other side of the resistors should be soldered to either a similarly scraped off ground plane or any pin with a ground connection.

  20. natankeddem commented on Dec 9, 2024

    @natankeddem
    Contributor

    Now that we know this software fix works for you and that we have a repeatable situation between our systems. There are ways we can minimize the on time from my previous test version. Is this something you think you want us to implement @terabyte12 @rubylaser , or is any time on at startup an issue for you?

  21. terabyte12 commented on Dec 10, 2024

    @terabyte12
    Author

    I have a bunch of resistors, any guidance on what would be needed for pull up/down? This would go on the PWR SW, correct?

    @natankeddem has managed to add the resistors needed onto the dev board I sent him like this:

    image

    The layout has changed slightly between the dev board Natan has and the production run that has been shipped.

    These are the lines that need to be pulled down to ground via resistors to implement the hardware fix.

    image

    All the solid green areas on the PCB are filled in ground planes, so one side of the resistor can be soldered either to pins/pads (if possible with your equipment) or if you are able to scrape off some of the solder mask, to the trace itself. The other side of the resistors should be soldered to either a similarly scraped off ground plane or any pin with a ground connection.

    I do not have smd resistors, just standard through hole.

    Looks like pin 1&2 of the left gate and pin 1 of the right gate.

    What value resistors am I looking for?

    Could I solder jumpers from these pins to a common single resistor then to ground?

  22. terabyte12 commented on Dec 10, 2024

    @terabyte12
    Author

    Now that we know this software fix works for you and that we have a repeatable situation between our systems. There are ways we can minimize the on time from my previous test version. Is this something you think you want us to implement @terabyte12 @rubylaser , or is any time on at startup an issue for you?

    It's just unexpected/undesired behavior. I can live with it but wanted to report the behavior. I'd rather get the fix (the mentioned pull up/down resistors) vs. the bandaid. I'd image though that starting to spin up drives then immediately yanking power during spin up isn't all that great either. The PSU Alarm is annoying for a second but overall removing/applying A/C Power is not something that is going to be done frequently.

  23. TheGuyDanish commented on Dec 10, 2024

    @TheGuyDanish
    Contributor

    Looks like pin 1&2 of the left gate and pin 1 of the right gate.

    Correct.

    What value resistors am I looking for?

    This was tested with 10 kiloohm resistors, so that's the safe option. But I think even 1k should work if it's what you have at your disposal.

    Could I solder jumpers from these pins to a common single resistor then to ground?

    Unfortunately not. That would mean raising one signal would raise the others.

    If this isn't that big of an issue for you and you'd rather want a new revision board when they're available, please do reach out to me on email and I'll be happy to arrange an exchange or at-cost replacement when rev5 is finalised, though this might take a little while still as I'm still making considerations for what'll go into the final version.

  24. added this to the 1.3.0 milestone on Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions