Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatible with firmware 2009 #19

Open
DrTron opened this issue Jul 7, 2018 · 8 comments
Open

incompatible with firmware 2009 #19

DrTron opened this issue Jul 7, 2018 · 8 comments

Comments

@DrTron
Copy link

DrTron commented Jul 7, 2018

Hi all,
I think the latest firmware for the Aquaero5 is 2009. I just acquired such device and would certainly like to use it with linux.
So, if there's any interest in updating aerocli to support firmware 2009, I'd be happy to beta-test.

@fariouche
Copy link
Contributor

I have firmware 2009, and it is working. Are you sure you are using fw 2009?
Please put the aerocli output here so that I can check

@DrTron
Copy link
Author

DrTron commented Jul 8, 2018

I am definitively on firmware 2009 (just checked with the aquasuite on windows), and by running aerocli I get:
Unsupported firmware 2009
failed to poll: (null) (Bad file descriptor)

And yes, I have the correct udev-rule set.

Oh, perhaps I should mention that I needed to use gcc-5 to successfully compile, my system's standard compiler gcc-7 (and gcc-6 also) threw some errors while compiling aerocli.c. I can post them if it helps.

@fariouche
Copy link
Contributor

For the compilation, it is because my fixes are on the devel branch, not the stable branch.

For the error, I think you didn't compile the correct branch... after checking, you should also use devel branch.
This branch is not perfect yet (one annoying bug that prevents reading names etc because of a design flaw... it need a rewrite of the reading part of the code, but I do not have time to fix that and nobody did)

@DrTron
Copy link
Author

DrTron commented Jul 9, 2018

Ah, yes, it really seemed that git clone got the wrong branch. I re-compiled with the devel-branch and it is mostly working right now (the necessity to run autoconf/autoreconf before configure might be a good thing to put in the INSTALL). aerocli doesn't get the CPU temperature and my installed aquastream pump, but the sensors are there:
----------- System -----------
Firmware = 2009
Structure version = 1200
Time: 2014-01-05 01:19:55
Uptime: 00d 00:19:55
CPU Temp: -99.00 °C
---- Temperature Sensors -----
Sensor 1: 27.54 °C
Sensor 2: 27.36 °C
Sensor 3: 29.87 °C
------------ Fans ------------
Fan 1: 479rpm @ 35% 45 °C
Fan 2: 616rpm @ 35% 45 °C
Fan 3: 746rpm @ 35% 43 °C
Fan 4: 0rpm @ 100% 43 °C
-------- Flow Sensors --------
Flow 1: 90 l/h
Flow 2: 0 l/h
------- Liquid Levels --------
------- Aquastream XTs -------
Aquastream XT 2: 10000Hz @ 0.00V
------- Aquabus -------

@fariouche
Copy link
Contributor

cpu temp is purely software: this is the PC that sends the cpu temps to the aquaero.
This is not supported by aquaeronix.
For the aquastream, never tested since I do not have one. At least it is detected, but the decoding is not correct.
If you want, you can pass the -D option to dump the data to a file of your choice. And then guess the offset if you know the expected value (using windows)

@DrTron
Copy link
Author

DrTron commented Jul 9, 2018

The aquaero has a temperature sensor for its own cpu, that's what usually is displayed for the CPU temperature. It does not correspond to the computer's cpu temperature. This is how it looks for my other rig with an aquaero that has an older firmware (not sure which exactly):

CPU Temp: 41.03 °C
(lmsensors reports: Physical id 0: +26.0°C)

The aquastream is not that important, but since it reads "10000Hz @ 0.00V", I agree that the decoding is off somewhere. BTW, calling aerocli with the -a flag results in a segfault.

@fariouche
Copy link
Contributor

strange... I do not see any cpu temp in windows nor in the aquaero display.
They may have removed it in firmware 2009.

For the crash, this is because of the usb reports not being read for names.... something most likely changed in the kernel making the issue worse. This means that aquaeronix must be updated to fix the report names reading.
This makes the dump feature painful to obtain (I needed to retry several times)

@DrTron
Copy link
Author

DrTron commented Jul 14, 2018

They really might have removed it, it's not there in windows here, either. Can't confirm for the display as it's the "light" version of the aquaero (PCB only).
BTW, besides the call of aerocli without options (or -o default) nothing much works. The export function is what I currently miss most, I use it to feed a rrd database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants