90 Commits

Author SHA1 Message Date
Jeff Curless
b8650dc702 Modify the post install
Remove stuff that does not need to be there.  Cannot insmod after DKMS
runs because the built module will be incorrect.
2026-02-06 13:21:26 -05:00
Jeff Curless
7be1733dab Update README.md 2026-02-02 19:09:04 -05:00
Jeff Curless
fd0028e679 Merge pull request #19 from JeffCurless/addmodule_install
Update README and move all Argon40 scripts to Archive
2026-02-02 13:25:58 -05:00
Jeff Curless
2b178485ae Modify build and archive Argon40 scripts.
Move all of the argon40 scripts to archive... these scripts should not
be used as is, they are simply copies of the originals so I can track
changes to see if there is anything important that needs to be
transfered to the battery driver.
2026-02-02 13:02:10 -05:00
Jeff Curless
c79f02f489 Update code to install needed modules
Module names are dependent on the version of the operating system
currently running.
2026-02-01 20:12:53 -05:00
Jeff Curless
7cb53cc8f1 Add the default set python flles that Argon40 uses.
The files being uploaded are the current versions of the files from
argon40.  These files are being archived as I want to be able to
reference them from time to time.  Also I can compare the files that
were ship with the proto type.
2026-02-01 16:14:00 -05:00
Jeff Curless
4c32adb5e5 Update README.md 2026-02-01 10:14:58 -05:00
Jeff Curless
2cc4f6bbc6 Merge pull request #16 from JeffCurless/argon40_scriptupdate_01_10_2026
Latest scripts and such from argon40.
2026-01-10 19:07:55 -05:00
Jeff Curless
112e7a9548 Latest scripts and such from argon40.
These scripts are used by me to determine if there is anything else I
want to add to the oneUp environment.
2026-01-10 19:04:49 -05:00
Jeff Curless
939c8d2b87 Update README.md 2026-01-10 19:02:39 -05:00
Jeff Curless
e355fc5fa5 Update README.md 2026-01-10 19:01:51 -05:00
Jeff Curless
6e1eaf10ad Merge pull request #15 from JeffCurless/dkms_support
Dkms support
2026-01-10 18:55:15 -05:00
Jeff Curless
ab6fb9a9c6 Update code to emit a version number on start. 2026-01-10 18:52:00 -05:00
Jeff Curless
ca66fa0ea4 dkms appears to be working.
Modified the Makefile and dkms.conf file and things seem to be happier.
Now its just a matter of testing on multiple platforms with releases.
2026-01-10 18:43:58 -05:00
Jeff Curless
6c84fd6422 Initial version of DKMS support.
Worked once, will not work again.  Build occurs, dkms reports that the
build of ./src/oneUpPower.ko failed.  Kernel module is being generated,
but not located anywhere it can be found.
2026-01-10 17:53:21 -05:00
Jeff Curless
4a74ca431d Merge pull request #14 from JeffCurless/argoneonSupport
Argoneon support
2025-12-30 18:53:07 -05:00
Jeff Curless
0fc4287b44 Make this work on argonEon
Seems to.
2025-12-30 18:49:23 -05:00
Jeff Curless
7839828b34 Update driver code to fix indenting...
The Editor tried to make changes for me...
2025-12-30 18:11:47 -05:00
Jeff Curless
65774dbeaa Add support for network and cooling fan
Add support for a network display, and for a coolin fan.  Note that at
the moment we support one and only one coolin fan, along with the CPU
fan.
2025-12-10 18:22:38 -05:00
Jeff Curless
adab150746 Add process to allow modified smartctl commands 2025-11-19 23:12:54 -05:00
Jeff Curless
1d07d8196a Add support for Argon40 EON
The argon40 EON is a RPI4 with case fan, and 4 drives.
2025-11-03 17:54:15 -05:00
Jeff Curless
990f4cfdf7 Update README.md 2025-11-02 18:01:46 -05:00
Jeff Curless
778e92fa43 Add support for add extra commands to smartctl
Add extra commands on a drive by drive basis for smartctl
2025-11-02 17:35:34 -05:00
Jeff Curless
a1ac933238 Add support for a configuration file.
Adding a coniguration file (/etc/sysmon.ini).  This will allow users to
no monitor the temperature of speciic drives by ignoring them, as well
as ignoring the performance from specific drives.

For instance on a system running mdraid, you could ignore performance on
all of the drives that make up the raid array, and ignore the
temperature of the raid device.
2025-11-02 16:10:22 -05:00
Jeff Curless
927f00f655 Update simple monitor
Was not using the same library, now it is.
2025-11-01 18:29:26 -04:00
Jeff Curless
1bda6574a3 Update README.md 2025-11-01 17:20:53 -04:00
Jeff Curless
065d4cc35f Merge pull request #13 from JeffCurless/allowSOCShutdown
Add support to change the shutdown threshold.
2025-11-01 17:15:33 -04:00
Jeff Curless
804d056f83 Add support to change the shutdown threshold.
The default value for shutdown is less than 5% of battery life left.
Once the system hits this value (or the one specified by the user) the
system will shutdown.

The soc_shutdown value can be changed to 0 to disable this feature, just
realise that the system will lose power and unsafely shutdown.

Also added install and remove functionality.
2025-11-01 17:12:22 -04:00
Jeff Curless
99e6b13867 Update README.md 2025-10-28 20:11:40 -04:00
Jeff Curless
b66391dbe4 Merge pull request #12 from JeffCurless/support_trixie
Add support for Trixie.
2025-10-28 20:10:44 -04:00
Jeff Curless
3c4b7e0b5e Add support for trixie.
Apparently things start differently with trixie, so modified the system
monitor code to keep trying to allocate the resources it needs (and
adapter and a client to the i2c bus).  This mades the code work,
and startup is not affected.
2025-10-28 20:07:26 -04:00
Jeff Curless
98b555e431 Update README.md 2025-10-26 12:18:16 -04:00
Jeff Curless
3b96d0eb38 Merge pull request #11 from JeffCurless/cleanup_drive_code
Modify the code to remove single drive class
2025-10-26 12:15:15 -04:00
Jeff Curless
68f8057d8d Modify the code to remove single drive class
Remove the class for single drive data fetching, and so we can modify
the monitor code to make sure we can handle multiple drives
2025-10-26 12:12:30 -04:00
Jeff Curless
cf678772d6 Merge pull request #10 from JeffCurless/multiDriveSupport
Multi drive support
2025-10-20 20:49:49 -04:00
Jeff Curless
6c6fe7065a Make sure the drive temperatures are added
Need to ensure that we add temperatures for each physical drive we add
into the system.
2025-10-20 20:46:25 -04:00
Jeff Curless
9fdd59c424 Add support for multiple drives
Add support to automatialy gather all of the drives in the system and
track there heat and performance.
2025-10-20 20:35:55 -04:00
Jeff Curless
e331577bf3 Merge pull request #9 from JeffCurless/fixupMonitor
Update the monitor code

Changes made to the monitor code to remove all warnings from systemsupport.py. Note there are warnings in oneUpMon, however these do not appear to be valid, as some of them complain about attributes not existing, when they clearly do (Qt.AlignBottom for instance)
2025-10-19 19:39:22 -04:00
Jeff Curless
72de0bcea7 Update the monitor code
Changes made to the monitor code to remove all warnings from
systemsupport.py.  Note there are warnings in oneUpMon, however these do
not appear to be valid, as some of them complain about attributes not
existing, when they clearly do (Qt.AlignBottom for instance)
2025-10-19 19:36:25 -04:00
Jeff Curless
9da73f2fbb Update README.md 2025-10-13 18:13:14 -04:00
Jeff Curless
caec0f5671 Udpate gitignore to disappear some files
Remove all versions of __pycache__ no matter where it is in the tree
2025-10-13 18:07:52 -04:00
Jeff Curless
42ebaf2777 Merge pull request #8 from JeffCurless/upateMonitor
Update system monitor.
2025-10-13 18:04:40 -04:00
Jeff Curless
cfadd92430 Update system monitor.
Overall cleanup, and modificaton to the disk chart.  System tracks Byte,
KiB and MiB transfer rates.  Can't realld support GiB because I'm no
sure the PCIe bus can handle that.

Modifed the Y-Axis for disks so it displays the data on the closest
power of 2 scale. Seems to be a reasonable way to modify the scale so we
can actually see some of the smaller writes.
2025-10-13 17:59:47 -04:00
Jeff Curless
3f0727e590 Merge pull request #7 from JeffCurless/driverUpdates
Add supprt for automatic shutdown at 5%
2025-10-12 23:27:16 -04:00
Jeff Curless
050f0a0147 Add supprt for automatic shutdown at 5%
Automatically shutdown the system when the battery hits 5% left if the
system is not plugged in.  The shutdown does *not* save data, so might
want to look into how to make it save data (or possibly just generate a
warning.
2025-10-12 23:24:15 -04:00
Jeff Curless
d2ef3d2ceb Merge pull request #6 from JeffCurless/fioscripts
Add more fio scripts
2025-10-12 23:23:14 -04:00
Jeff Curless
8d432b944b Add more fio scripts 2025-10-12 23:21:59 -04:00
Jeff Curless
068ecdbf41 Merge pull request #5 from JeffCurless/addMonitor
Move original monitor program
2025-10-12 23:20:39 -04:00
Jeff Curless
fcb9b0ca76 Move original monitor program 2025-10-12 23:16:01 -04:00
Jeff Curless
c2af26a364 Merge pull request #4 from JeffCurless/addMonitor
Add system monitoring code
2025-10-12 23:08:26 -04:00