graugans / meta-udoo

:heartpulse: openembedded meta layer for the UDOO boards
MIT License
31 stars 18 forks source link

Support for UDOO Quad/Dual power button #2

Open graugans opened 8 years ago

graugans commented 8 years ago

The Quad/Dual boards are equipped with a PWR button. when shutting down the board with

$ halt

The board wakes up again but during runtime nothing happens when pressing this button.

Some details from the i.mx6 hardware dev guide udoo-pwr-button

There is a driver for snvs-pwrkey but seems not activated by device tree.

graugans commented 8 years ago

Here is a workaround for the issue: http://www.clarenceho.net/2016/05/adding-shutdown-button-to-udoo.html?m=1

modjo756 commented 7 years ago

I think to add the pwr button working, need to add this during the kernel build : power