Can't get power button to work
#11
(08-28-2016, 02:45 AM)AidenH Wrote: Just an update - I tried to test the input of the power button using evtest in Ubuntu and nothing is showing up when I push the button - not for the button soldered to the connection points at the front or for the button connect to the EXP connector. Should this be working in Ubuntu or am I doing something wrong? I think I'm going to try and Andriod image to see if the power button is actually work properly.

hi, yeah, the power|suspend button and the reset button attach directly to the PMIC (power management integrated circuit).  See the schematic diagram here (although its a bit out-of-date).

... I have not tried to see the event from evtest !?!  ... also I have tested in both debian and ubuntu, holding the power on button for two seconds will cause the PMIC to signal the GPU ( OS ) to pull up the power off dialogue.

edit:  ok... the trick to see the event ( power on ) in evtest, is to select the axp81x option (1).

... the event comes up nicely, code 116 ( key_power ).

( this I tested with evtest on ubuntu mate )

So, if you want to build your own monitor, you need to first tell the OS not to respond to 116, key_power, then map that key for your own purposes.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
Can't get power button to work - by AidenH - 08-27-2016, 08:46 PM
RE: Can't get power button to work - by pfeerick - 08-27-2016, 09:11 PM
RE: Can't get power button to work - by pfeerick - 08-27-2016, 10:58 PM
RE: Can't get power button to work - by pfeerick - 08-28-2016, 01:08 AM
RE: Can't get power button to work - by AidenH - 08-27-2016, 11:38 PM
RE: Can't get power button to work - by AidenH - 08-28-2016, 02:45 AM
RE: Can't get power button to work - by MarkHaysHarris777 - 08-28-2016, 03:12 AM
RE: Can't get power button to work - by pfeerick - 08-28-2016, 04:07 AM
RE: Can't get power button to work - by AidenH - 08-28-2016, 04:49 AM
RE: Can't get power button to work - by AidenH - 08-28-2016, 05:10 AM
RE: Can't get power button to work - by DonFL - 08-28-2016, 05:13 AM
RE: Can't get power button to work - by DonFL - 08-28-2016, 07:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question +LTS/SOPINE USB voltage on power off using LiPo battery GregH 0 951 05-06-2020, 11:23 PM
Last Post: GregH
  Battery case and power question Twistedx 2 2,191 12-24-2018, 08:04 PM
Last Post: Twistedx
  Power Cord & SD Card Maximum 1 1,301 01-09-2017, 04:41 PM
Last Post: Ghost
  Board will not boot/does not work major7 2 2,002 09-03-2016, 02:53 AM
Last Post: major7
  Wires as power button Nittola 5 3,082 08-19-2016, 03:35 PM
Last Post: MarkHaysHarris777
  Push button on/off switch Wolfenstein 6 3,674 08-01-2016, 11:05 AM
Last Post: MarkHaysHarris777
  Day lost in getting it work ptiwari 4 2,352 07-24-2016, 01:17 PM
Last Post: ptiwari
  Power Jumper rahlquist 12 7,649 04-03-2016, 09:29 AM
Last Post: SkimMilk

Forum Jump:


Users browsing this thread: 1 Guest(s)