# How do I come to suspend?

**URL:** https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474
**Category:** GameShell
**Tags:** tinkering
**Created:** [August 26, 2018, 8:47am UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474 "2018-08-26T08:47:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![nabeejetbase](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nabeejetbase/32/364_2.png) [@nabeejetbase](https://forum.clockworkpi.com/u/nabeejetbase)
#### Post date: [August 26, 2018, 8:47am UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/1 "2018-08-26T08:47:06Z")

</div>

Hi!

If I want to instantly suspend GS,  
Or I would like to go to sleep when the battery runs out, like PS Vita

After checking installed packages, _acpid_ and _pm-utils_ are installed.  
It is suspend with _systemctl suspend_, or, _pm - suspend_, but it can not be recovered.  
It only has to restart by long pressing the power button.

```
cpi @ clockworkpi: ~ $ sudo acpitool
Could not open any of these files: / proc / acpi / info, / sys / module / acpi / parameters / acpica_version
Make sure your kernel has ACPI support enabled.
AcpiTool v 0.5.1, released 13-Aug-2009

```

Is this also necessary to rebuild the kernel?

If necessary, is there a nice way to create without using the actual machine?

Thanks.

---

<div class="post-metadata">

### Author: ![CocoaGeek](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/cocoageek/32/199_2.png) [@CocoaGeek](https://forum.clockworkpi.com/u/CocoaGeek)
#### Post date: [August 26, 2018, 3:15pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/2 "2018-08-26T15:15:56Z")

</div>

I’m not sure the board as hardware support for suspend. Most single boards don’t (except the Beaglebone Black). I could be wrong though, I haven’t looked at the board in details, but if they had added that feature they would have “advertised it”.

---

<div class="post-metadata">

### Author: ![hal](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@hal](https://forum.clockworkpi.com/u/hal)
#### Post date: [August 26, 2018, 3:26pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/3 "2018-08-26T15:26:23Z")

</div>

We have tried this feature and we can suspend most of the parts, but unfortunately we can’t suspend the CPU, because there is a coprocessor driver that is not open source, that means the entire system will waste more than 100mAh, simply put, the battery will be out of power after about 10 hours…  
We can’t accept this result, so we removed this feature.

---

<div class="post-metadata">

### Author: ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)
#### Post date: [August 26, 2018, 3:31pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/4 "2018-08-26T15:31:00Z")

</div>

It boots pretty fast compared to other boards so im fine with that

---

<div class="post-metadata">

### Author: ![nabeejetbase](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/nabeejetbase/32/364_2.png) [@nabeejetbase](https://forum.clockworkpi.com/u/nabeejetbase)
#### Post date: [August 26, 2018, 6:12pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/5 "2018-08-26T18:12:53Z")

</div>

@hal and everyone.  
I understood.

Danke!

---

<div class="post-metadata">

### Author: ![javelinface](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/javelinface/32/3079_2.png) [@javelinface](https://forum.clockworkpi.com/u/javelinface)
#### Post date: [January 1, 2020, 4:54pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/6 "2020-01-01T16:54:44Z")

</div>

Necrothread resurrection!

Since we’re now playing with a newer kernel, 5.3.6 officially, with 5.4.6 in the works, with newer hardware device drivers, do we now have the required open source coprocessor driver with ACPI support?

No rush, I won’t lose … sleep over it. 😉  
_shot_

Edit: just bumping this, and reiterating the point made by the OP, re the sleep function being used in a similar way the Vita would enter an automatically induced sleep state when low on power.  
We have a notification for that anyway in the gameshell.  
Even though the 100mAh drain is unacceptable, I would still prefer a quick suspend for that last 2 minutes of power for me to quickly plug in some power, and avoid losing gaming progress.  
I have limited knowledge on kernel development. Did the current kernels address the co processor power drain problems?

---

<div class="post-metadata">

### Author: ![Joao\_Manoel](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@Joao\_Manoel](https://forum.clockworkpi.com/u/Joao_Manoel)
#### Post date: [May 23, 2020, 6:39pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/7 "2020-05-23T18:39:42Z")

</div>

Necrothread resurrection returns!

I managed to get some improvements on standby mode. Have a look at:

> [@Enabling standby mode using the power key](https://forum.clockworkpi.com/t/enabling-standby-mode-using-the-power-key/5695):
>
> Hello, Months ago while working in our Kernel, I managed to enable the power key functionality to do a soft power off of the game shell ([https://forum.clockworkpi.com/t/how-to-get-the-power-button-to-soft-power-off/5201](https://forum.clockworkpi.com/t/how-to-get-the-power-button-to-soft-power-off/5201)). To enable it, the change was simple: I just removed the power key code (in drivers/input/misc/axp20x-pek.c, and drivers/mfd/axp20x.c) that was in our patch (52rc4.patch) and used the the mainline kernel without these changes. Maybe our kernel devs needed this before, but it is…

Not a deep state, but you can freeze the system for some minutes and return to where you stopped.

---

<div class="post-metadata">

### Author: ![Joao\_Manoel](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@Joao\_Manoel](https://forum.clockworkpi.com/u/Joao_Manoel)
#### Post date: [May 23, 2020, 6:42pm UTC](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/8 "2020-05-23T18:42:47Z")

</div>

Can you share what you worked? Would be nice to have it implemented. 10 hours is not bad, how do you archived this?

How can we get the non open source firmware? Is it an u-boot image? Can we flash the firmware and still using our kernel?
