2015-08-03 6:41 GMT+02:00 Chen-Yu Tsai <[email protected]>:
>
> Hi,
>
> On Sun, Aug 2, 2015 at 7:44 AM, Leonardo Canducci
> <[email protected]> wrote:
> > My Cubieboard runs Debian Jessie (linux 4.1 from experimental) on a SD
card.
> > I'd like to shutdown pushing the power button as I do on my NAND install
> > (wheezy image and linux sunxi 3.4).
> >
> > On Jessie acpi_listen (and journalctl|syslog|dmesg) doesn't register any
> > event when pushing the button while on Wheezy I get:
> >
> > leo@cubetto:~$ sudo acpi_listen
> > button/power PBTN 00000080 00000000
> > Broadcast message from root@cubetto (Sat Aug  1 18:57:04 2015):
> > Power button pressed
> > The system is going down for system halt NOW!
> >
> > Should I load a kernel module to get the button working?
>
> First of all, you will need to enable INPUT_AXP20X_PEK, and
> make sure axp20x-pek is compiled in or loaded.
>
> You might also need to enable INPUT_EVDEV.


On linux 4.1 and 4.0 (experimental and unstable branches) INPUT_AXP20X_PEK
is not enabled while INPUT_EVDEV is available as a module.

# CONFIG_INPUT_AXP20X_PEK is not set
CONFIG_INPUT_EVDEV=m

I guess I should recompile the kernel to get the button working.

Thanks!

--
Leonardo Canducci

-- 
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