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: Can power on when unplugged, lid closed #233

Open
crawfxrd opened this issue Aug 2, 2021 · 2 comments
Open

darp7: Can power on when unplugged, lid closed #233

crawfxrd opened this issue Aug 2, 2021 · 2 comments

Comments

@crawfxrd
Copy link
Member

crawfxrd commented Aug 2, 2021

Steps to reproduce:

  1. Power off machine
  2. Unplug AC adapter
  3. Close lid
  4. Repeatedly press the power button

Expected behavior

The machine does not turn on.

Actual behavior

The machine occasionally boots.

Notes

Tested on:

LID_SW# may be high early in the boot, causing the check to disable the power button to fail. In some cases, lid_event() reports "Lid open" (and thus updates lid_state, meaning it is also not reliable).

[16:06:24] ESGCTRL2: 0 set to 40
[16:06:24] PLLFREQ is 0x01
[16:06:24] PLLFREQ is now 0x07
[16:06:24] ESGCTRL2: 40 set to 0
[16:06:24] ESGCAC2: A set to B

[16:06:24] System76 EC board 'system76/darp7', version '2021-08-02_99af8a3-dirty'
[16:06:24] 00: power_on_ds5
[16:06:24] POWER_STATE_DS5
[16:06:24] 00: SLP_SUS# asserted
[16:06:24] Lid open
@jacobgkau
Copy link
Member

This is still an issue in 2022-11-02_4718ec4 currently being tested (it's not a regression, just noting for the record.)

@jacobgkau
Copy link
Member

This is still happening on 2023-08-18_a8dd6c2. Also, even with 2022-11-02_4718ec4, it doesn't seem to depend on the AC adapter being plugged in when the machine was last powered off anymore.

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

No branches or pull requests

2 participants