在 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
power button, but if I look at /proc/interrupts I see that this
interrupt source, increases on CPU0 (by 2) when I press the button:
32: 5 0 0 0 sunxi_pio_edge 3 Edge sw4
So basically the button is working as GPIO and interrupt source in
Linux, but apparently it miss of something for generating the acpi
event
Can it be some bindings in the DTS? If so, is there any guidance to
set it?
There's no ACPI on Allwinner ARM platforms (except Windows 10 IoT).
I suggest you run evtest command to investigate more about the power
buton.
Bye
--
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.
--
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.