snow Posted Friday at 05:26 PM Posted Friday at 05:26 PM (edited) Armbianmonitor: https://paste.armbian.com/oxuruqiqij Hi friends, back to the Gnome version which works incredibly well It works so well that I put my big desktop tower away and have been getting by strictly on this Armbian Gnome environment. I will be donating to Armbian soon However, I am curious, does anybody know how to fix the resume from suspend? For me, the computer goes into suspend mode just fine, but when I tap a keyboard key, the LED's will light on the keyboard indicating they have power, but the system never comes back. If I press the power button on the Orange Pi 5 itself, the system resumes perfectly -- no crashes, everything works as intended I just need it to work from a keyboard press instead! Thanks! Edited Friday at 05:27 PM by snow 0 Quote
laibsch Posted yesterday at 07:02 AM Posted yesterday at 07:02 AM I think that is to be expected and working as designed (assuming I understand you correctly). At least I experience the same from my regular Intel-based laptop. When it is merely screen-blanking I can get back in via a keyboard press or mouse movement. But when the system is properly suspended a press of the power key is required. Back in the day, I had a PS/2-keyboard from Siemens Nixdorf that had a power button integrated. That one was able to wake up the attached machine. It worked like a power button on the computer itself. Similar to the one you see above. The power button is the one above the numpad, next to the Siemens logo. If I am not mistaken, mine was also labeled with a power symbol while the one I found on the net is blank. Maybe somebody still makes keyboards with such a button, I don't know. I agree it would be useful. Maybe you can use wake-on lan to achieve a similar result and wake up your machine from your phone or even repurpose one of those Internet-enabled Amazon dash buttons. Heck, come to think of it, I should really go ahead and do that myself. My power button is in an inconvenient place and I still have a couple of those dash buttons that I meant to use for IoT but never did. Edit: Looks like I am mistaken and it should be possible to wake up from suspend via USB. I'd love to learn how to enable that myself. 0 Quote
eselarm Posted yesterday at 08:46 AM Posted yesterday at 08:46 AM 14 hours ago, snow said: If I press the power button on the Orange Pi 5 itself, the system resumes perfectly -- no crashes, everything works as intended This is great, I have done some tests with my NanoPi-R6C a year ago. I have not noted what kernel etc, it also has no dedicated power-button (but a 'user-button') so I think I tried (as root) systemctl suspend and logging via serial console cable. Also looked at wake-on-LAN. CPU is the same as OrangePi5 and your logs I recognize going into suspend, but then it stayed frozen. Maybe if I re-purpose the user-button and push that it will resume. Such a button can be easily connected to a pin on the PMIC or SoC. At least 1 of the RJ45 ports supports wake-on-LAN, I could also set in NetworkManager, but it gets stuck in PCI-E somewhere or on the SoC I think, can be very complex, I don't know. For keyboard that is external to the product (the ARM SBC), USB connected I assume, you need to keep the USB power (5V) alive. Also some extra hardware AFAIK (not the SoC) that detects activity on USB keyboard. Can be very simple, but I think it is all not there for SBCs. There is no keyboard controller chip like in traditional PCs. So I will maybe sometime look in schematics and see what would be possible. So far I only focused on power architecture in general, whether USB-C PD works or not, etc. My NanoPi-R6C is 1.5 Watt when idle and vendor kernel, measured with a USB power meter. I will try to reproduce your power-button suspend-resume sequence first and then also measure power. I use EDK2-UEFI v1.1 at the moment, set to mainline and 6.16-rc3 kernel. Is Armbian Bookworm, will upgrade to Trixie first and then see. 0 Quote
laibsch Posted yesterday at 09:10 AM Posted yesterday at 09:10 AM 22 minutes ago, eselarm said: Maybe if I re-purpose the user-button and push that it will resume. The way I understood it is that he already has a button on the SBC that successfully wakes up the board, the dedicated power button. He wanted a solution not having to touch the SBC but wake up from the keyboard. And the keyboard does seem to be under power, the lights light up he says when the keyboard is touched. It appears he is very close to getting this done. 0 Quote
eselarm Posted yesterday at 09:46 AM Posted yesterday at 09:46 AM 3 minutes ago, laibsch said: The way I understood it is that he already has a button on the SBC that successfully wakes up the board, the dedicated power button. He wanted a solution not having to touch the SBC but wake up from the keyboard. And the keyboard does seem to be under power, the lights light up he says when the keyboard is touched. It appears he is very close to getting this done. I think I mis-interpreted the sentence with 'the computer'; I did not relate that to OPi5 (but 'normal' PC). Re-reading again, indeed the OPi5 is meant. Then the power is there, the question is then, how the RK3588S and surrounding hardware will handle things. I don't know exactly anymore what all sleep states for traditional PCs comprehend. I know what can be achieved in mobile platforms (very low power), but that also includes switching off parts of DRAM that don't contain needed data, and many more like a tiny Cortex-M0 or so somewhere that is always on. The question is also, how much power is saved? For a LiPo battery in a smartphone this is quite different, so lots of extra system design is done in HW (SOC, PMIC). RK3588 should support it I think, but I am not sure if all the various SBCs can use it, because certain HW lines etc might not be there. At least Broadcom/RPi platforms cannot do anything like that. 0 Quote
eselarm Posted 8 hours ago Posted 8 hours ago On 8/16/2025 at 10:46 AM, eselarm said: I will try to reproduce your power-button suspend-resume sequence first and then also measure power. I use EDK2-UEFI v1.1 at the moment, set to mainline and 6.16-rc3 kernel. Is Armbian Bookworm, will upgrade to Trixie first and then see. Upgrade to Trixie went fine, but pressing the user-button has no effect. I won't look into it further now. I could try with ROCK5B, has a dedicated power button, but also needs to stay active 24/7 as server actually. 0 Quote
snow Posted 1 hour ago Author Posted 1 hour ago Sorry for the confusion, friends Indeed, the Orange Pi 5 can go into suspend (sudo systemctl suspend) but at this point, the only way to resume it, is to press the physical power button on the Orange Pi 5 itself. No combination of keyboard presses or mouse clicks etc will ever wake it back up 0 Quote
laibsch Posted 35 minutes ago Posted 35 minutes ago 32 minutes ago, snow said: Sorry for the confusion, friends no worries! 32 minutes ago, snow said: No combination of keyboard presses or mouse clicks etc will ever wake it back up and that is even when you try some of the suggestions from https://unix.stackexchange.com/questions/609438/how-can-i-use-a-usb-keyboard-or-mouse-to-wake-from-suspend which I linked above? 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.