Jump to content

tech3215

Validating
  • Posts

    1
  • Joined

  • Last visited

Posts posted by tech3215

  1. 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?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines