New Posts  All Forums:Forum Nav:

Aquaero 5 & Linux

post #1 of 56
Thread Starter 
It's a long shot, but has anyone managed to get Aquaero 5 working in Linux?

My experience so far (Ubuntu 12:04):

Official software does not compile (duh ... 6 years since the last update)

Code from https://github.com/lynix/aerotools/ does not compile either (no libraries/headers)

Once I install missing packages (fortunately, libusb-1.0 is available via apt-get), it still does not compile. Did someone change the command-line syntax of gcc in the last few years so that it ignores -l options passed before the list of input files?

Hacked the makefile. Got it to compile and to link. It does not find the device. Problem solved by replacing the hardcoded device ID 0c70:f0b0 (Aquaero 4) with 0c70:f001 (Aquaero 5).

Now it finds the device, but it does not get past the call to libusb_set_configuration(). By default, it'll try again after the timeout, but the value of the timeout is set to 200 seconds. Besides, waiting does not help. dmesg displays multiple warning messages: "interface 1 claimed by usbhid while 'aerocli' sets config #1" Looks like the device is forcibly taken over by the usbhid driver. Problem solved by calling libusb_detach_kernel_driver(handle, 1); libusb_detach_kernel_driver(handle, 2);

After jumping through these hoops, one might hope that it would finally work, but no ... now I get a timeout in libusb_interrupt_transfer(). And this one feels like a change in the device protocol. But it's 5 AM and I'm too sleepy to investigate.

Google is not helpful. Am I the first person ever to get this far?
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
post #2 of 56
Thread Starter 
Making some progress. I'll leave some notes here, if I don't get around to putting an aquaero 5 compatible tool on sourceforge or something, maybe someone else will find this useful.

Starting point:

https://github.com/lynix/aerotools/

Change the device PID:

#define AQ_USB_PID 0xf001

Change the endpoint (using interface #3 instead of #1):

#define AQ_USB_ENDP 0x83

Change the retry delay (bugfix):

#define AQ_USB_RETRY_DELAY 2

Change the packet size:

#define AQ_USB_READ_LEN 659

Most of the remaining #define's must be changed too, the packet format is very different and it has to be reverse engineered. As far as I can tell, there are (at least) 8 temperature sensor fields starting at 0x67 (2 bytes each, divide by 100.0, unlike Aquaero 4 where you divide by 10.0); and a number of fan RPM sensor fields, a bit further down.

In Aquaero 4 there were temperature sensor name / fan name fields; If they are still there in the packet in Aquaero 5, it's not obvious where they are.
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
post #3 of 56
Quote:
Originally Posted by hamster3null View Post

Making some progress. I'll leave some notes here, if I don't get around to putting an aquaero 5 compatible tool on sourceforge or something, maybe someone else will find this useful.

That's very considerate of you smile.gif

I'm afraid I can't be of any help as I don't own any Aquaero products. But it sounds like you know what you're doing so I really don't think I could offer any additional assistance anyway.
post #4 of 56
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

That's very considerate of you smile.gif

This thread already comes up as the first hit for "'aquaero 5 linux" query both in Google and Bing. I'm sure someone will be looking for this information sooner or later.
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
post #5 of 56
Quote:
Originally Posted by hamster3null View Post

This thread already comes up as the first hit for "'aquaero 5 linux" query both in Google and Bing. I'm sure someone will be looking for this information sooner or later.

Oh totally. I spend half my working life surfing forums looking for solutions to various Linux / UNIX faults so I appreciate people who do update threads like you are thumb.gif
post #6 of 56
Quote:
Originally Posted by hamster3null View Post

This thread already comes up as the first hit for "'aquaero 5 linux" query both in Google and Bing. I'm sure someone will be looking for this information sooner or later.

That's how I found it wink.gif

I just noticed a post on the Aquacomputer english forum that they are planning to release an SDK and docs supporting the Aquaero 5 toward the end of the year, but it looks like we are on our own until then.

What have you been using to inspect the USB communication between Aquasuite the Aquaero 5? I haven't found much that works on Win7 x86_64...
    
CoolingCoolingCoolingCooling
AquaComputer Aquaero 5XT AquaComputer PowerAdjust 2 Alphacool Cape Cora HF passive radiators Koolance PMP-400 pumps 
CoolingCoolingCoolingOS
Koolance COV-RP400 Koolance BDY-TK120 AquaComputer tubemeter CentOS Linux 6.3 x86_64 
Other
aerotools-ng 
  hide details  
Reply
    
CoolingCoolingCoolingCooling
AquaComputer Aquaero 5XT AquaComputer PowerAdjust 2 Alphacool Cape Cora HF passive radiators Koolance PMP-400 pumps 
CoolingCoolingCoolingOS
Koolance COV-RP400 Koolance BDY-TK120 AquaComputer tubemeter CentOS Linux 6.3 x86_64 
Other
aerotools-ng 
  hide details  
Reply
post #7 of 56
Thread Starter 
I wasn't doing that. I was just looking at packets in Linux and checking what happens if I plug in or unplug different sensors. E.g. if the temperature sensor #1 is unplugged, I see two bytes 0x7F 0xFF at position 0x67, but if it's plugged in, I see numbers that look like temperature readings in the same place.
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 3820 Intel DX79SI NVIDIA GeForce GTX 590 NVIDIA GeForce GTX 590 
RAMHard DriveOSMonitor
G.Skill Ripjaws 4 x 8 GB 240 GB Intel SSD Linux Asus VG236E 
PowerCase
Raidmax 1000AE Cooler Master Elite 371 
  hide details  
Reply
post #8 of 56
Quote:
Originally Posted by hamster3null View Post

I wasn't doing that. I was just looking at packets in Linux and checking what happens if I plug in or unplug different sensors. E.g. if the temperature sensor #1 is unplugged, I see two bytes 0x7F 0xFF at position 0x67, but if it's plugged in, I see numbers that look like temperature readings in the same place.

Good deal. It sounds like you have already got your setup polling the device, and just need to decipher the returned payload. Do have an equivalent of the aerotools memory_map.txt to capture your deciphering progress?

I still have a little bit of hardware hacking to do before I can hook up my Aquaero 5 to my CentOS 6.3-based Linux box, but would be happy to help once it is online.
    
CoolingCoolingCoolingCooling
AquaComputer Aquaero 5XT AquaComputer PowerAdjust 2 Alphacool Cape Cora HF passive radiators Koolance PMP-400 pumps 
CoolingCoolingCoolingOS
Koolance COV-RP400 Koolance BDY-TK120 AquaComputer tubemeter CentOS Linux 6.3 x86_64 
Other
aerotools-ng 
  hide details  
Reply
    
CoolingCoolingCoolingCooling
AquaComputer Aquaero 5XT AquaComputer PowerAdjust 2 Alphacool Cape Cora HF passive radiators Koolance PMP-400 pumps 
CoolingCoolingCoolingOS
Koolance COV-RP400 Koolance BDY-TK120 AquaComputer tubemeter CentOS Linux 6.3 x86_64 
Other
aerotools-ng 
  hide details  
Reply
post #9 of 56
I think you could fork the github repo, create a new branch and send a pull request back. thumb.gif
Ti-89 Titanium
(13 items)
 
   
CPUMotherboardRAMHard Drive
Motorola 68k @16 MHz Ti-89 HW4 256 KB 2.6 MB Flash ROM 
OSMonitorPowerCase
Ti-89 OS 3.10 LCD Dot-Matrix 160x100 4x 1.5V AAA Ti-89 HW4 Black 
CPUMotherboardGraphicsRAM
Intel Core™ i7 930 Gigabyte GA-X58A-UD3R 2.0 Gigabyte GTX 470 SOC G.Skill RX 2x4GB 1600C8 
Hard DriveHard DriveOptical DriveCooling
PNY Prevail Elite 120GB Hitachi 7K1000.C 1TB LG GH24LS50 Noctua NH-C12P SE14 
OSOSMonitorKeyboard
Windows 8 Pro x64 Lubuntu 13.10 x64 Samsung BX2250 Logitech Illuminated 
PowerCaseMouseAudio
Be Quiet! S.P. E⁷ 600W Fractal Design Core 3000 Logitech G300 AKG K240 Studio 
  hide details  
Reply
Ti-89 Titanium
(13 items)
 
   
CPUMotherboardRAMHard Drive
Motorola 68k @16 MHz Ti-89 HW4 256 KB 2.6 MB Flash ROM 
OSMonitorPowerCase
Ti-89 OS 3.10 LCD Dot-Matrix 160x100 4x 1.5V AAA Ti-89 HW4 Black 
CPUMotherboardGraphicsRAM
Intel Core™ i7 930 Gigabyte GA-X58A-UD3R 2.0 Gigabyte GTX 470 SOC G.Skill RX 2x4GB 1600C8 
Hard DriveHard DriveOptical DriveCooling
PNY Prevail Elite 120GB Hitachi 7K1000.C 1TB LG GH24LS50 Noctua NH-C12P SE14 
OSOSMonitorKeyboard
Windows 8 Pro x64 Lubuntu 13.10 x64 Samsung BX2250 Logitech Illuminated 
PowerCaseMouseAudio
Be Quiet! S.P. E⁷ 600W Fractal Design Core 3000 Logitech G300 AKG K240 Studio 
  hide details  
Reply
post #10 of 56
I am sorry for reviving this thread but I just purchase one hoping to make it work on Linux.
Has anybody made progress?
Has anybody try to use the software under wine?

Take care.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix