Install Raspberry Pi OS (64-bit) f.e. via Raspberry Pi Imager on your SD-Card.
Boot with the SD-Card inside Raspberry Pi OS. Open a Terminal.
I received the unit yesterday and started testing it. Argon provides a script to manage the battery, but it does not integrate natively with the operating system. The problem is that the script does not register any battery on the power_supply subsystem, so the system cannot recognize the battery as standard.
According to the block diagram, the Argon ONE UP uses a Cellwise CW2217 chip connected over I2C (on RPI1, bus i2c-1, address 0x64), so creating a driver for it is not very difficult.
I created the driver and uploaded it to GitHub kmod-cw2217b. After installing it, the system can display the battery percentage on Ubuntu or Debian.
NOTE: I use [ArchLinux ARM][] with [sway][] wayland window manager and [pipewire][] for audio.
All of the functionality here works with NO need to run argononeup.sh script.
As a one time setup, update pi bootloader EEPROM configuration:
sudo pacman -S rpi5-eeprom
sudo rpi-eeprom-config -e
| #!/usr/bin/env bash | |
| echo "Choose build type:" | |
| echo "1. Stable build" | |
| echo "2. Daily build" | |
| echo "3. Exit" | |
| read "Enter Choice:" -r BUILD_TYPE | |
| flash_rom() { | |
| echo "Flash the ROM? (Y/N)" |
| more_set_headers "X-protocol : $server_protocol always"; | |
| more_set_headers 'Alt-Svc h3=":$server_port"; ma=86400'; | |
| quic_retry on; | |
| listen 443 quic; | |
| listen 443 ssl; | |
| listen [::]:443 quic; | |
| listen [::]:443 ssl; |
| Country | Official | URL |
|---|---|---|
| USA | true | https://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz |
| Denmark | true | http://dk.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz |
| #!/bin/bash | |
| # In my case, I would like to turn off my HUGE TRACKBALL sometimes, because it | |
| # gets disconnected from the USB bus... Not very often, but a few times per month | |
| # I launch this script with a tool like `rofi` or `dmenu`. | |
| # | |
| # You can easily adjust this script to work for any USB device by changing the | |
| # these variables for the hex code of vendor and product. | |
| # | |
| # |
| #!/bin/sh | |
| # This is an example script to force provision a UniFi network device using the controller API | |
| # If you are running this externally then replace localhost with the hostname | |
| baseurl=https://localhost:8443 | |
| # I would make a dedicated admin user for this | |
| username=<username_here> | |
| password=<password_here> |
| ### Unofficial Dump of UniFi system.cfg Properties | |
| ### | |
| ### WARNINGS: | |
| ### - This list is undocumented, unsupported, and incomplete. | |
| ### - Some options may be deprecated and ignored. | |
| ### - Some options WILL break your setup. | |
| ### - Some options work now but WILL break you in a future firmware update. | |
| ### | |
| ### USING THESE: | |
| ### See https://help.ui.com/hc/articles/205146040#2 |
| import string | |
| import sqlite3 | |
| import time | |
| import sqlalchemy | |
| import os.path | |
| from binance_trade_bot.database import Database, LogScout | |
| from binance_trade_bot.logger import Logger | |
| from binance_trade_bot.config import Config | |
| import sys |