Jump to content

orange pi pc: custom power supply button action


ehelfer

Recommended Posts

Armbianmonitor:

Dear Armbian team, 


I am using debian stretch with orange pi PC ( Linux orangepipc 4.19.38-sunxi #5.83 SMP Fri May 3 23:33:25 CEST 2019 armv7l GNU/Linux ).

At the moment by default  when I press the power button, it shutdowns the orangepi pc, and I have to plug off/on the power supply to reboot the device. 

 

I would like to modify this behavior, to program custom actions when the button is pressed. If possible it would be nice to be able to distinguish between short press and long press. 

 

I tried without success to follow the manual instructions, and add the custom overlay gpio-button.dts.  Also tried the acpi package approach without access.

Could you please help me on this issue? 

Best regards,

Etienne

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines