QtMoko: how is long Power key press (=> shutdown/restart menu) handled?

Neil Jerram neil at ossau.homelinux.net
Sat Dec 1 16:39:48 CET 2012

Radek Polak <psonek2 at seznam.cz> writes:

> On Saturday, December 01, 2012 12:56:37 PM Neil Jerram wrote:
>> Sometimes my GTA04 gets into a state where the long Power key press is
>> no longer recognised.  I've tried to investigate this, but I can't see
>> anything in the codebase that makes a link between a long Power key
>> press and showing the shutdown/restart menu.  Does anyone know how that
>> happens?
> Hi Neil,
> is this what you need?
> https://github.com/radekp/qtmoko/blob/master/devices/gta04/src/libraries/qtopiabase/etc/defaultbuttons.conf

Yes, indeed, many thanks.  My grep for "shutdown" didn't find this,
because of how it's encoded here:


> Radek
> PS: hope i will have some minutes now for your patches..


More information about the community mailing list