On/Off Switch Pad Working Bad
#10
The PMIC has hardware debouncing as well as software controlled timers for the powerbutton. It basically generates an interrupt on the A64 for the different things like short press, long press, release. If you hold the powerbutton longer, it does a hard power-off. You can read the event from /dev/input/event1 if the power button is pressed, you will get keycode 116 (POWER_KEY) and that can be mapped for example to shutdown your system.
Come have a chat in the Pine IRC channel >>


Messages In This Thread
On/Off Switch Pad Working Bad - by RaspiBit - 05-12-2016, 12:51 PM
RE: On/Off Switch Pad Working Bad - by Ghost - 05-12-2016, 04:22 PM
RE: On/Off Switch Pad Working Bad - by RaspiBit - 05-13-2016, 04:19 PM
RE: On/Off Switch Pad Working Bad - by rodenti - 06-22-2016, 10:08 PM
RE: On/Off Switch Pad Working Bad - by Xabaras76 - 06-22-2016, 10:34 PM
RE: On/Off Switch Pad Working Bad - by Xabaras76 - 06-23-2016, 11:55 AM
RE: On/Off Switch Pad Working Bad - by Xabaras76 - 06-23-2016, 02:35 PM
RE: On/Off Switch Pad Working Bad - by xalius - 06-23-2016, 03:26 PM
RE: On/Off Switch Pad Working Bad - by Xabaras76 - 06-23-2016, 05:32 PM
RE: On/Off Switch Pad Working Bad - by Xabaras76 - 06-27-2016, 10:24 AM
RE: On/Off Switch Pad Working Bad - by pfeerick - 06-28-2016, 02:28 AM
RE: On/Off Switch Pad Working Bad - by pfeerick - 06-28-2016, 09:20 PM
RE: On/Off Switch Pad Working Bad - by DonFL - 06-28-2016, 01:11 PM
RE: On/Off Switch Pad Working Bad - by rvalecruz - 06-29-2016, 03:14 PM
RE: On/Off Switch Pad Working Bad - by DonFL - 06-29-2016, 03:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Working linux distribution that supports BT/Wifi on A64 Roverius 3 3,838 08-19-2019, 04:47 AM
Last Post: Roverius
  assistantpine, a working idea for a distro tohipfortheroom 1 2,718 01-22-2017, 02:56 AM
Last Post: tllim
  Support registration seems not to be working winterflaw 2 2,926 11-04-2016, 02:08 PM
Last Post: winterflaw
  UAE4Droid Amiga emulator not working Middleman 1 2,591 07-25-2016, 04:18 AM
Last Post: CaptainZalo
  Bluetooth not working reesh95 0 1,348 04-28-2016, 01:29 AM
Last Post: reesh95

Forum Jump:


Users browsing this thread: 1 Guest(s)