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

Power Management and Interrupt Driven Wakes #94

Open
murreletinnovation opened this issue Jan 20, 2021 · 2 comments
Open

Power Management and Interrupt Driven Wakes #94

murreletinnovation opened this issue Jan 20, 2021 · 2 comments
Assignees

Comments

@murreletinnovation
Copy link

murreletinnovation commented Jan 20, 2021

Is there a way to put the Dev Board into a deep sleep mode (hibernation) that can be awakened on a USB event? I come from a bare-metal/RTOS background so I'm not sure if there are ways to set up USB wakeups in a Linux Mendel environment.

"cat /sys/power/state" shows me freeze and mem as the two options. I don't see any functionality for putting the system into hibernate, is this not possible on the Coral?

And if I try "echo freeze | sudo tee /sys/power/state" or "echo mem | sudo tee /sys/power/state" I'm able to put the system into a lower power state but am unable to wake it up with keyboard presses or mouse clicks. I'm also seeing the the Red/Yellow LEDs are still on. I'd really like to be able to go into a "deeper" sleep if possible.

Thanks for the help

@murreletinnovation
Copy link
Author

@Namburger Hi Nam, could you provide any advice on this topic?

@murreletinnovation
Copy link
Author

@Namburger Bumping this again to see if there's any help I can receive. I'm trying to set up this device in a remote outdoor location and will need it to be low-power so service techs will not have to replace the battery as often.

I essentially want the platform to enter a sleep or "low-power" mode until it receives an event from an external USB device (asynchronous). I'd like to understand how I would go about putting the device into this state and how to measure the power consumption.

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