Hello Alex, On Sat, Aug 24, 2019 at 2:55 AM Alex Dewar <alex.dewar90@xxxxxxxxx> wrote: > I've got an Asus Chromebook Flip C101PA, which is based on the Rockchip RK3399 > SoC, and it seems like suspend and resume is broken (AFAIK it's never worked). Sounds about right. I don't think it ever worked. It's possible there's still some patches missing from upstream. You could check to see if there's anything suspect that's only in the chromeos-4.4 kernel tree (which is what bob ships with) and was forgotten to be upstreamed. https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-4.4 > When I try to suspend, the screen goes blank, but the power light stays on > rather than flashing as it usually does when it suspends. The system then seems > to be frozen. The led blinking is dictated by the EC. And the EC knows the state of the rk3399 because it's supposed to be outputting if it's in suspend or not via the AP_EC_S3_S0_L pin. You can follow along at home by looking at the firmware that's running on the EC: https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/firmware-gru-8785.B Areas of interest in this codebase: board/bob, power/rk3399.c Not saying that there's anything wrong in the EC firmware, but it's a sign that the rk3399 is not doing the right thing (at least in regards to that gpio). Another debugging tip: You should get one of these: https://www.sparkfun.com/products/14746 It will let you get a serial console out of the rk3399, and you'll also be able to see what the EC has to say about stuff. How to use it: https://www.chromium.org/chromium-os/ccd Please let us know if you find anything interesting, Alexandru Stan (amstan) _______________________________________________ Linux-rockchip mailing list Linux-rockchip@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-rockchip