The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Corsair Link

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 252 votes, 5.00 average. Display Modes
  #181  
Old 12-26-2017, 07:27 PM
irishismyname irishismyname is offline
Registered User
 
Join Date: Dec 2017
Posts: 1
POST ID # = 932412
irishismyname Reputation: 10
Question Wireshark/USBPcap Data

First, off awesome work on this to everyone. It's really amazing to see a community come together to solve such a difficult problem without vendor support.

Anyway, I was about to get started on a power consumption meter app for the HX1000i/HX1200i but I thought I should try to understand the USB bus traffic first. I used Wireshark/USBPcap to grab the frames for a HX1000i and I've seen the following "leftover capture data" in the USB interrupt frames:

Address? Response
0x0388 0xE6F8
0x0390 0x9010
0x033B 0x1B00
0x034F 0x4600
0x038D 0xD0F0
0x038E 0x87F0
0x03D8 0x0200
0x03EE 0x3E09
0x0200 0x0000
0x038C 0xD2F0
0x038B 0x02D3
0x0340 0xE6D3
0x0344 0x1AD2
0x0346 0x80E2
0x0396 0x02F8
0x020001 0x0000
0x020002 0x0000

The format is similar to what's described in CFSWorks first post, I'm seeing what I think is a register read request (i.e. 0x0388) and a response (i.e. 0x0388E6F8) all padded to 64 bytes, but I can't make sense of it using the I/O register tables in this thread.

Am I missing something? I'm going crazy trying to understand the traffic going to/from this device.
Reply With Quote


  #182  
Old 02-06-2019, 02:49 AM
Hagbard Celine Hagbard Celine is offline
Registered User
Hagbard Celine's PC Specs
 
Join Date: Jun 2015
Posts: 18
POST ID # = 992846
Hagbard Celine Reputation: 10
Default Request

Edit2: Correction: I did NOT correct the problem, it just worked by fluke. Guess this is my cue to learn to use my DSLogic 16 logic analyzer(Don't hold your breath), I'll be back with updates IF I get somewhere..
Edit: Just ignore my request for copy of repo. I belive I got it working, updated code here: https://github.com/Hagbard-Celin/cpsumon

Quote:
Originally Posted by Hagbard Celine View Post
There is some code here: https://github.com/cloudkitsch/cpsumon that is reported to be half working.

Does anyone have a copy of this repo? I only got the cpsufancli.c file, which used to work when paired with https://github.com/ka87/cpsumon. But after a HD crash and reinstall I can not get that combo to work anymore.

Last edited by Hagbard Celine; 02-06-2019 at 10:01 AM.
Reply With Quote


  #183  
Old 02-12-2019, 05:34 PM
Hagbard Celine Hagbard Celine is offline
Registered User
Hagbard Celine's PC Specs
 
Join Date: Jun 2015
Posts: 18
POST ID # = 993902
Hagbard Celine Reputation: 10
Big Grin

OK, this time I have actually tested my new fix to the point I'm positive it works on AX860i at least. Updated code here: https://github.com/Hagbard-Celin/cpsumon
Reply With Quote


  #184  
Old 06-17-2019, 08:43 AM
aweber aweber is offline
Registered User
 
Join Date: Jun 2019
Location: NJ, USA
Posts: 3
POST ID # = 1008286
aweber Reputation: 10
Default

Hi all...13 pages on this and I read the majority of it...

I'm a software dev, but new to the Link/CUE hardware!

Just looking to see if anyone ever put together a C/C# library to control fans (and possibly read temps) connected to the Commander Pro?

I'd like to go further than the Link (or iCUE) software lets me go with fan speeds based upon multiple sensors, etc. I've learned over the years not to "re-invent the wheel", so if there's any shared code or libraries/assemblies I haven't found, I'd appreciate the links.

Really awesome stuff by everyone on this thread. It was a long read, but I am duly impressed. :)

Thanks in advance.
Reply With Quote


  #185  
Old 07-11-2019, 04:00 PM
Legion2 Legion2 is offline
Registered User
Legion2's PC Specs
 
Join Date: Jul 2019
Location: Germany
Posts: 1
POST ID # = 1010857
Legion2 Reputation: 10
Default Arduino C++ library for LNP and Commander PRO

I created a C++ library for Arduino to use it as Lighting Node PRo or Commander PRO. It can control fans, read temp sensors and control led strips.
The code is open source on GitHub https://github.com/Legion2/CorsairLightingProtocol , it's not exactly what you are looking for, but can help you understand the protocol.
Reply With Quote


Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:16 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.