Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

darp7: Hack-fix power-on issue #234

Closed
wants to merge 1 commit into from
Closed

darp7: Hack-fix power-on issue #234

wants to merge 1 commit into from

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Aug 3, 2021

The power button should be disabled when a machine is unplugged with the lid closed. On darp7, LID_SW# can take >200ms at init to reflect the correct state of the lid, so it would regularly fail the check. It was common for the board to still power on.

Ref: #233

@jacobgkau
Copy link
Member

Is there any side effect to this (like having to hold down the power button noticeably longer), or is this a fix we'd be able to ship?

@crawfxrd
Copy link
Member Author

On AC it should not be noticeable, since the delay will happen when AC power is connected, not when the power button is pressed.

On battery it may be noticeable, since pressing the power button is what turns the EC on in the first place. It will increase the time needed to hold the button from ~100 ms to ~300 ms.

The power button should be disabled when a machine is unplugged with the
lid closed. On darp7, `LID_SW#` can take >200ms at init to reflect the
correct state of the lid, so it would regularly fail the check. It was
common for the board to still power on.

Signed-off-by: Tim Crawford <[email protected]>
@crawfxrd crawfxrd closed this Aug 18, 2023
@crawfxrd crawfxrd deleted the darp7-delay branch August 18, 2023 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants