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.

PaceyIV

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    PaceyIV reacted to sooperior in Suggestion for 30-sysinfo   
    Hi
    I have a suggestion to modify update-mot.d script 30-sysinfo.
    It reports battery chargin or not depending on percentage (if <100% then is charging):
     
    # Battery info for Allwinner # kernel 4.4+ axp_dir="/sys/power/axp_pmu" if [[ -e "$axp_dir" ]]; then         status_battery_connected=$(cat $axp_dir/battery/connected)         if [[ "$status_battery_connected" == "1" ]]; then                 status_battery_charging=$(cat $axp_dir/charger/charging)                 status_ac_connect=$(cat $axp_dir/ac/connected)                 battery_percent=$(cat $axp_dir/battery/capacity)                 # dispay charging / percentage if [[ "$status_ac_connect" == "1" && "$battery_percent" -lt "100" ]]; then status_battery_text=" charging"                 elif [[ "$status_ac_connect" == "1" && "$battery_percent" -eq "100" ]]; then status_battery_text=" charged"                 else status_battery_text=" discharging"                 fi         fi fi     However, at least on banana pi M1 (A20) it can be below 100% and not charging, Seems that the PMU doesn't charge just for 1-2%. So we can just use driver info to check if it is really charging, like this:   # Battery info for Allwinner kernel 4.4+ axp_dir="/sys/power/axp_pmu" if [[ -e "$axp_dir" ]]; then         status_battery_connected=$(cat $axp_dir/battery/connected)         if [[ "$status_battery_connected" == "1" ]]; then                 status_battery_charging=$(cat $axp_dir/charger/charging)                 status_ac_connect=$(cat $axp_dir/ac/connected)                 battery_percent=$(cat $axp_dir/battery/capacity)                 # dispay charging / percentage if [[ "$status_ac_connect" == "1" && "$status_battery_charging" == "1" ]]; then status_battery_text=" charging"                 elif [[ "$status_ac_connect" == "1" && "$status_battery_charging" == "0" ]]; then status_battery_text=" charged"                 else status_battery_text=" discharging"                 fi         fi fi   Hope someone else finds it useful  
  2. Like
    PaceyIV got a reaction from Rui Ribeiro in armbian-config   
    Or you can use deb-multimedia repository.
    http://www.deb-multimedia.org/dists/jessie/main/binary-armhf/package/minidlna
  3. Like
    PaceyIV got a reaction from Igor in Freezing problem with Olimex A20 Lime 2   
    There is nothing powered near the board.
    The board is new, it has about 1 month.
     
    Maybe the easier thing is just try the olimex image, copy the kernel firmware from the microsd to the rootfs on the sata, an try a couple of week this settings. So I can use the olimex kernel and uboot, but my actually rootfs.
    In the weekend I will try.

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.