Comments (12)
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
from bpi-router-linux.
after rc.local / starting services the system restarts ...
from bpi-router-linux.
You have tried without this commit? To be sure problem is really this one.
Strange that reboot happens after system is nearly up
from bpi-router-linux.
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 :-)
from bpi-router-linux.
i have veryfied on my "main" system. Without blacklist, it reboots all the time, after module blacklist, it works fine :-)
from bpi-router-linux.
Seems that pressing the powerkey in running system now it triggers poweroff
from bpi-router-linux.
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
from bpi-router-linux.
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"?
from bpi-router-linux.
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
from bpi-router-linux.
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).
from bpi-router-linux.
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 :(
from bpi-router-linux.
@MyLive can you reproduce this: http://forum.banana-pi.org/t/bpi-r2-boot-power-suppy/3647/79?
from bpi-router-linux.
Related Issues (20)
- bpi-r3 eth1 dropping packets HOT 5
- 6.1-main deb package is not compatible with Debian Bullseye HOT 7
- mt7530 doesn't work on bpi-r3 if mtk_eth is built as module HOT 6
- bpi-r3 branch 6.3-rc missing SFP support / transmit queue timeout HOT 38
- BPI-r3 expose pps HOT 8
- adding CONFIG_NTP_PPS module not 6.2-main brach HOT 1
- build.sh Deb Pack Gen debarch if statement backwards HOT 2
- Wireguard support BPI-R3 HOT 2
- WiFi doesn't work on kernel 5.15 HOT 9
- bpi-r2, kernel 5.15.129 - compilation errors (mediatek) - arm-linux-gnueabihf-gcc (Debian 13.2.0-2) HOT 4
- [bpi-r2pro/linux 6.1] how to populate spi devices in /dev HOT 1
- Debian package > 5.4 have no kernel with dtb HOT 5
- [Solved] About 10x performance degradation with 5.15-main HOT 11
- Initramfs and bootargs support? HOT 2
- [Question] 5.15 & hwnat HOT 3
- Linux ACL's (Access Control Lists) does not work for ext4 for some reason. HOT 4
- cryptodev not available on kernel 6.1 HOT 7
- iptables not available on kernel 6.1 HOT 4
- is it possible to resize the filesystem when using SD card? HOT 2
- SFP1 vlan not working on the r3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpi-router-linux.