Commit Graph
43 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 8d432b944b Add more fio scripts 2025-10-12 23:21:59 -04:00
Jeff Curless fcb9b0ca76 Move original monitor program 2025-10-12 23:16:01 -04:00
Jeff Curless 542cdecab3 Add system monitoring code
Need a way to monitor the system, CPU temp, NVMe temp, etc
2025-10-12 23:02:09 -04:00
Jeff Curless 020dda1ba4 General cleanup, allow for named messages to dmesg 2025-10-12 13:30:35 -04:00
Jeff Curless 536a41bf12 Update from the argon40 site the latest python code 2025-10-12 13:26:01 -04:00
Jeff Curless b946147539 Storing the original Python files.
I noticed that Argon40 updated the scripts... they must be getting ready
for release, so I grabbed the older ones off of the original boot device
for my Argon OneUp.  Will add anything else here that I find as well.
2025-10-07 19:48:02 -04:00
Jeff Curless 0e523b8082 Add pictures of the status bar.
Add (not very good) pictures of the battery in discharge and charging
states.
2025-10-06 22:39:29 -04:00
Jeff Curless cc9a4678f3 Update the code with comments
Add a clean script...
2025-10-06 22:25:37 -04:00
Jeff Curless 2b01bb114e Minor changes code still working 2025-10-06 21:03:11 -04:00
Jeff Curless cafc3fbf2b Mostly working
Need to perform code cleanup, and make sure startup of the driver
contains everything it needs to properly verify the status of the
battery.

Could use code to get the voltage etc, however I don't see that code in
the argon40 python stuff so I'd have to investigate the I2C device.
2025-10-06 19:55:49 -04:00
Jeff Curless 4d7f0ca10f Add some of of the argon40 scripts
Needed to port...
2025-10-06 15:57:27 -04:00
Jeff Curless e6e17904b7 Copy of the prototype script for Argon40 2025-10-06 13:15:42 -04:00
Jeff Curless 7371cd860b Put build back to the way it should be. 2025-10-06 09:21:17 -04:00
Jeff Curless 22c6bf718f Attempting to build on Trixie with older headers 2025-10-06 09:01:20 -04:00
Jeff Curless 7bf55073be Start porting the test driver over to the oneUp
Start porting the driver to the argon oneUp
2025-10-05 22:49:45 -04:00
Jeff Curless ea8b374b84 Test driver works with dummy info.
Clean up the code, and start modifiying the argon python code to work in
C, then port to the driver.
2025-10-05 20:53:51 -04:00
Jeff Curless 3a2c8cbe49 Try to see what requests are being made...
:
2025-10-05 17:04:07 -04:00
Jeff Curless 9867433538 Add some debug messages 2025-10-05 15:58:17 -04:00
Jeff Curless 72cdfab13b Add a gitirnore file
Make sure we do not check in files we don't need for save
2025-10-05 15:31:32 -04:00
Jeff Curless a49bbaaeb6 Test code from linux kernel 2025-10-05 15:20:50 -04:00
Jeff Curless 801eedcd97 Adding in test_power.c directly from the kernel 2025-10-05 14:32:02 -04:00
Jeff Curless 512929ec79 Add an install and remove script 2025-10-05 13:54:59 -04:00
Jeff Curless a86f458c0e Add dummy battery module to the system...
Hopefully this can be modified to create the actual code needed to
monitor the battery of the argon-oneUp.
2025-10-05 13:09:49 -04:00
Jeff Curless 8210a471b5 Adding more FIO scripts for different size IO's.
Scripts to measure raw performance of the NVME devices, including
various size IO's
2025-09-03 12:22:09 -04:00
Jeff Curless 9a930b514a Merge branch 'main' of github.com:JeffCurless/argon-oneup 2025-07-15 15:59:56 -04:00
Jeff Curless 399e4a2515 Updates to scripts etc 2025-07-15 15:56:45 -04:00
Jeff Curless 9ed491ceaf Add setup program 2025-07-12 22:03:21 -04:00
Jeff Curless 97a33f2328 Starting to log changes that I make to the system
Changes to te fan, and monitoring the system
2025-07-11 21:05:45 -04:00
Jeff Curless e85b5dbae4 insert all files for the moment 2025-07-11 20:53:43 -04:00
Jeff Curless 6dd148b4e1 first commit 2025-07-11 20:52:52 -04:00