于 2017年4月22日 GMT+08:00 下午8:34:36, Menion <[email protected]> 写到:
>That's wrong. I am currently running a Bananapi (A20) with power and
>reset buttons perfectly working and sending acpi events. Also H3 works
>(Orange pi pc 1)

Banana Pi has PMIC, but Orange Pi PC2 doesn't.

In the default mainline kernel, the power key on OPi PC2 is not mapped to the 
KEY_POWER, but a BTN_x code.

You may want to alter the device tree for this (The key is a GPIO-connected 
one, and used the gpio-keys dt binding)

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to