This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
RX51_CAPACITY="/sys/class/power_supply/rx51-battery/charge_full_design" | |
BQ27_CAPACITY="/sys/class/power_supply/bq27200-0/capacity" | |
set -e | |
# Confirm we have root permissions | |
# Unload bq27200 module if it is loaded and no capacity available | |
if lsmod | grep "bq27xxx_battery_i2c" &> /dev/null ; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
++ Project n900 | |
++ Developer's Journal | |
++ For projects goals, refer to the last entry of the this document. | |
DAY ONE 10 Dec 2017 @ 04:30 | |
Wireless is now working! | |
By disabling wpa_supplicant service. | |
# rc-update del wpa_supplicant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00:00.000 [INFO] [sway/main.c:346] Sway version 1.5-40bdd0ee (Jan 6 2021, branch 'master') | |
00:00:00.016 [INFO] [sway/main.c:154] Linux deb900 5.9.11-00378-g24eec8e6af19-dirty #6 Wed Jan 6 14:49:16 SAST 2021 armv7l GNU/Linux | |
00:00:00.019 [INFO] [sway/main.c:170] Contents of /etc/os-release: | |
00:00:00.019 [INFO] [sway/main.c:154] PRETTY_NAME="Debian GNU/Linux bullseye/sid" | |
00:00:00.020 [INFO] [sway/main.c:154] NAME="Debian GNU/Linux" | |
00:00:00.020 [INFO] [sway/main.c:154] ID=debian | |
00:00:00.020 [INFO] [sway/main.c:154] HOME_URL="https://www.debian.org/" | |
00:00:00.020 [INFO] [sway/main.c:154] SUPPORT_URL="https://www.debian.org/support" | |
00:00:00.020 [INFO] [sway/main.c:154] BUG_REPORT_URL="https://bugs.debian.org/" | |
00:00:00.021 [INFO] [sway/main.c:170] Contents of /etc/debian_version: |