Hi all
I'm running Ubuntu Xenial from Armbian, running a WIP version of Mainline
Kernel 4.10.0 on an Orange PI PC 2.
I am trying to get the power button usable by Ubuntu via ACPI (or something
else)
First of all, acpi_listen doesn't show any event when I press the power
button, but if I look at
在 2017-04-22 15:40,Menion 写道:
Hi all
I'm running Ubuntu Xenial from Armbian, running a WIP version of
Mainline Kernel 4.10.0 on an Orange PI PC 2.
I am trying to get the power button usable by Ubuntu via ACPI (or
something else)
First of all, acpi_listen doesn't show any event when I press the
po
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)
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop
于 2017年4月22日 GMT+08:00 下午8:34:36, Menion 写到:
>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
Hi
I have tried to monitor the button via evtest, but nothing is detected
Can you provide guidance on how modify dts for making this switch
generating a key_power event?
Bye
Il giorno domenica 23 aprile 2017 06:56:01 UTC+2, Icenowy Zheng ha scritto:
>
>
>
> 于 2017年4月22日 GMT+08:00 下午8:34:36, Meni
Hello again
I have modified the sun50i-h5-orangepi-pc2.dts
r_gpio_keys {
compatible = "gpio-keys";
sw4 {
label = "sw4";
---linux,code = <0x100>;
+++linux,code = <0x74>;
On 28 April 2017 at 11:24, Menion wrote:
> Hello again
> I have modified the sun50i-h5-orangepi-pc2.dts
>
> r_gpio_keys {
> compatible = "gpio-keys";
>
> sw4 {
> label = "sw4";
> ---linux,code = <0x100>;
> +++
On Fri, Apr 28, 2017 at 5:24 PM, Menion wrote:
> Hello again
> I have modified the sun50i-h5-orangepi-pc2.dts
>
> r_gpio_keys {
> compatible = "gpio-keys";
>
> sw4 {
> label = "sw4";
> ---linux,code = <0x100>;
Yes, but board-wise, apart that this button is labeled as power button, it
is the only way to gracefull shutdown the board, without having to access
the linux terminal somehow.
Force shutdown and restart can be achieved by unplug/plug the power supply.
I see only pro, but I have a limited view of
于 2017年4月28日 GMT+08:00 下午5:48:33, Menion 写到:
>Yes, but board-wise, apart that this button is labeled as power button,
>it
>is the only way to gracefull shutdown the board, without having to
>access
>the linux terminal somehow.
>Force shutdown and restart can be achieved by unplug/plug the powe
10 matches
Mail list logo