-
Notifications
You must be signed in to change notification settings - Fork 84
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
galp5: fails to remain suspended for more than four minutes on battery power #368
Comments
What SSD are you using? May somehow be caused by the SSD1 RTD3 config. Can you try with RTD3 config removed: diff --git a/src/mainboard/system76/tgl-u/variants/galp5/overridetree.cb b/src/mainboard/system76/tgl-u/variants/galp5/overridetree.cb
index ce3ecc3a664e..445c41dbe172 100644
--- a/src/mainboard/system76/tgl-u/variants/galp5/overridetree.cb
+++ b/src/mainboard/system76/tgl-u/variants/galp5/overridetree.cb
@@ -21,12 +21,6 @@ chip soc/intel/tigerlake
# PCIe PEG0 x4, Clock 0 (SSD1)
register "PcieClkSrcUsage[0]" = "0x40"
register "PcieClkSrcClkReq[0]" = "0"
- chip soc/intel/common/block/pcie/rtd3
- register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D14)" # SSD1_PWR_DN#
- register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H0)" # GPP_H0_RTD3
- register "srcclk_pin" = "0" # SSD1_CLKREQ#
- device generic 0 on end
- end
end
device ref north_xhci on # J_TYPEC2
register "UsbTcPortEn" = "1" |
|
@crawfxrd no difference with that patch applied, firmware flashed and system power cycled. |
@crawfxrd stumbled upon an interesting tidbit: when I have my USB-C headset (Pixel wired earbuds) connected to the TB4 port (left side, USB-PD on my galp5), the machine remains suspended. If I disconnect the headset, it'll take about four minutes to go from blinking green to solid green. If I reconnect the headset, it'll immediately go back to blinking green. |
Similar findings, passive USB-C to USB-A adapters do the trick as well. I tested both a 2.0 and 3.0 adapter with nothing on the other end. So I'd guess that anything connected to that port will keep suspend working. |
Testing on the latest commit (5f1ef17), I do not see the issue on either my dev unit or the newer batch unit that customers should have. |
Nice, I'll test on mine |
I spoke too soon. While suspend with lid open works fine, lid closed continues to exit suspend after the same four minutes as previously. Can you test your unit for lid close please @crawfxrd ? |
I retested both on b337ac6 and don't see the issue. They remained in S0ix for 10 minutes before I woke them. |
@crawfxrd aha, I had rebased coreboot on master rather than system76. Rebased, re-flashed and remaining S0ix more than four minutes when lid closed or open. Thanks for your patience. |
Laptop successfully enters suspend (LED blinking green) but exits after about four minutes. Logs show that OS is not active during any of this time, something similar to this suspend bug.
Steps to reproduce
sudo systemctl suspend
Expected behavior
System should remain suspended (LED blinking green)
Actual behavior
System exits suspend after four minutes (LED solid green)
Additional info
The text was updated successfully, but these errors were encountered: