Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Power Button on OrangePi Lite not responding to ACPI events

Featured Replies

I am using OrangePi Lite with Armbian 21.02.3 (5.10.21-sunxi) and the power button is not responding to acpi events.

 

I have followed suggestions here but nothing works:

- http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=2460

- https://parglescouk.wordpress.com/2016/08/30/shutting-down-an-orange-pi-from-the-on-board-button/

 

Here is my debugging process:

 

root@orangepilite:~# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      r_gpio_keys
/dev/input/event1:      sunxi-ir
Select the device event number [0-1]: 0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "r_gpio_keys"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
Properties:
Testing ... (interrupt to exit)

then pressing power key:

Event: time 1618068887.287759, type 1 (EV_KEY), code 256 (BTN_0), value 1
Event: time 1618068887.287759, -------------- SYN_REPORT ------------
Event: time 1618068887.463763, type 1 (EV_KEY), code 256 (BTN_0), value 0
Event: time 1618068887.463763, -------------- SYN_REPORT ------------

 

 

value on this line (currently at 15) increments when pressing power button:

watch cat /proc/interrupts
131:         15          0          0          0  sunxi_pio_edge   3 Edge      sw4

 

 

Pressing power key when running this command shows no result:

acpi_listen


 

I've tried installing archive image (Armbian 19.11.3 - kernel 5.3.9) but same issue.

 

Not sure if I need to enable `gpio-sunxi` module (found somewhere this may need to enable?) but both current and archive image says: "Module gpio-sunxi not found".

 

Which Armbian image version should I use to have this working? Or any module i need to install?

Edited by tech3215
code format, links, additional question

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.