06-28-2016, 02:28 AM
(06-27-2016, 11:11 AM)dhardingham Wrote: Once the CPU has been shutdown, the power switch can only be start the boot sequence when there is a battery attached. If there is no battery, the power will be turned off. Just odd!
This is exactly the same behaviour I have noticed - the power button requires a battery to be connected - I suspect a symptom of the fact that at heart the pine64 is the guts of a tablet computer... and they don't power up well without batteries!
And as Mark pointed out, the power button sends keycode 116 to the kernel, so you can use that to trigger a power down with gnu+linux or re-purpose it for your own nefarious use! ;D
This makes it (in my experience anyway):
- power button - user programmable function once system running, powers up system IF a battery is connected
- system led - user programmable / controllable
- charge led - not functioning as APX registers aren't set correctly to use it
- reset button - leave this one alone unless you want a corrupt file system