GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — problem with poweroff-commit · Issue #35 · frank-w/BPI-Router-Linux

problem with poweroff-commit #35

New issue
Copy link
New issue
Copy link
Closed
Closed
problem with poweroff-commit#35
Copy link
Labels
bugworkaround

Description

@MyLive
MyLive
opened on Jul 8, 2018
Issue body actions

Hi Frank,

if the Powerbutton bypassed ( bridged ), the system reboot´s the whole time :-(.

Best regards,
René

Activity

Next
  1. frank-w commented on Jul 8, 2018

    @frank-w
    frank-w
    on Jul 8, 2018
    Owner
    More actions

    How far goes the boot-process? As far as i know is the power-key not detected after bootup. It is/was only used to get initial bootup

  2. MyLive commented on Jul 8, 2018

    @MyLive
    MyLive
    on Jul 8, 2018
    CollaboratorAuthor
    More actions

    after rc.local / starting services the system restarts ...

  3. frank-w commented on Jul 8, 2018

    @frank-w
    frank-w
    on Jul 8, 2018
    Owner
    More actions

    You have tried without this commit? To be sure problem is really this one.

    Strange that reboot happens after system is nearly up

  4. MyLive commented on Jul 8, 2018

    @MyLive
    MyLive
    on Jul 8, 2018
    CollaboratorAuthor
    More actions

    Yes and it works ...
    i added the line "blacklist mtk_pmic_keys" to /etc/modprobe.d/pmics_key.conf
    now the Module is not loaded an the Power Key ignored but is not a "good" solution :-)

  5. MyLive commented on Jul 8, 2018

    @MyLive
    MyLive
    on Jul 8, 2018
    CollaboratorAuthor
    More actions

    i have veryfied on my "main" system. Without blacklist, it reboots all the time, after module blacklist, it works fine :-)

  6. frank-w commented on Jul 8, 2018

    @frank-w
    frank-w
    on Jul 8, 2018
    Owner
    More actions

    Seems that pressing the powerkey in running system now it triggers poweroff

  7. frank-w commented on Jul 8, 2018

    @frank-w
    frank-w
    on Jul 8, 2018
    Owner
    More actions

    link to the commit: fc6285a

    echo “blacklist mtk_pmic_keys” >/etc/modules-load.d/mtk_pmic_keys.conf

    http://forum.banana-pi.org/t/bpi-r2-already-has-an-on-board-rtc/5347/8

  8. frank-w
    added
    bug
    workaround
    on Jul 8, 2018
  9. MyLive
    changed the title [-]Bug on Commit: fc6285a3f9bde6c7bb32c4f79675d696ff2667d3[/-] [+]problem with poweroff-commit[/+] on Jul 20, 2018
  10. kgara commented on Oct 15, 2018

    @kgara
    kgara
    on Oct 15, 2018
    More actions

    Sorry for some retro-posting. But I am a little bit confused. So what is the current status of this problem? Is there a way to get both "power up after power outage" + "working shutdown by power button press"? Or I should choose only one (definitely first for me) and just solder the power button pins and blacklist mtk_pmic_keys to avoid bootloops? Tried to analyze that commit - it is huge - so it just enables power button for those who has no soldering and does not want "power up after power outage"?

  11. frank-w commented on Oct 15, 2018

    @frank-w
    frank-w
    on Oct 15, 2018
    Owner
    More actions

    i have not soldered Pins (only added info in my wiki from forum).

    afaik you have to disable the module if you have soldered them....with the effect you cannot power off r2 by button press (which have no effect because it is always pressed by soldering)

    there is the other way by power-up-on power-available: via usb-otg-port, but here you need a powerconverter/additional powersupply to get 5V to the otg-Port

  12. frank-w
    added a commit that references this issue on Dec 17, 2018

    s390/kasan: increase instrumented stack size to 64k

    9fed920
  13. leopucci commented on Jan 7, 2019

    @leopucci
    leopucci
    on Jan 7, 2019
    More actions

    If this is a router board, it is expected that if my house electricity goes down, when it came back, the router should auto start again, as any other wifi/router device.
    Don't you agree?
    This should be the standard, not the workaround.
    Will be any definitive solution about this that does not involve disabling acpi? (or acpi should be disabled by default i think, so we could upgrade without trouble).

  14. frank-w commented on Jan 7, 2019

    @frank-w
    frank-w
    on Jan 7, 2019
    Owner
    More actions

    You can temporary blacklist the module for upgrade. test, if acpi is installed (not on my 2 images) and maybe un-blacklist the module (or leave it).

    So you can powerdown r2 via cli,but not with keys.

    Alternatively you can add 5v to microusb-otg-port

    and yes i agree with you, r2 should power-on on power-available...r64 does this (here is no power-button), but here are other problems with closed-source wifi. the base-problem is caused by hardware-design, i cannot change :(

  15. 29 remaining items

  16. frank-w
    added a commit that references this issue on Aug 31, 2023

    icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().

    8803c59
  17. frank-w
    added 3 commits that reference this issue on Jan 14, 2024

    LoongArch: BPF: Don't sign extend memory load operand

    ebb09d5

    LoongArch: BPF: Don't sign extend function return value

    40421e0

    Bluetooth: Add more enc key size check

    0f7bffd
  18. frank-w
    added a commit that references this issue on Aug 31, 2024

    KVM: x86: Make x2APIC ID 100% readonly

    4b7c3f6
  19. frank-w
    added a commit that references this issue on Mar 4, 2025

    KVM: x86: Make x2APIC ID 100% readonly

    4fc0f9e
  20. frank-w
    added 2 commits that reference this issue on Mar 22, 2025

    gpio: rcar: Use raw_spinlock to protect register access

    b42c84f

    gpio: rcar: Use raw_spinlock to protect register access

    c103650
  21. frank-w
    added a commit that references this issue on May 24, 2025

    gpio: rcar: Use raw_spinlock to protect register access

    7c1f36f
  22. frank-w
    added a commit that references this issue on Jul 16, 2025

    ACPICA: Apply pack(1) to union aml_resource

    7efa785
  23. frank-w
    added a commit that references this issue on Nov 14, 2025

    gpio: rcar: Use raw_spinlock to protect register access

    389891a
  24. Corentinrhr
    added a commit that references this issue on Aug 3, 2026

    serial: dz: Convert to use a platform device

    6f59646
  25. igorpecovnik
    added 3 commits that reference this issue on Aug 30, 2026

    mt7623: bananapi-r2: disable the shorted power key (current + edge)

    4a3b912

    mt7623: bananapi-r2: disable PMIC keys for the shorted power button

    47c5aea

    mt7623: bananapi-r2: disable PMIC keys for the shorted power button

    2adcd97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugworkaround

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.