-
Notifications
You must be signed in to change notification settings - Fork 10
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
How did you reverse engineer this? #1
Comments
The windows driver part is only a serial-usb driver. I figured out chip from the Windows driver name. Then I used usb sniffer program to figure out the communication. Fan speed and fan mode is done by a contributor, so I will do it soon. Probably during next week. |
I started to write a cpsufanctl but I've been caught up with work and won't have the right accommodations for awhile. There wasn't much to it, but I thought maybe would be a good approach :) It'll be interesting to see if you can turn up a fanctl before I have a chance because I'm pretty sure I was just stabbing in the dark (my guess was to try to write a value to the same location that the speed is read from?) I did find float_to_byte though I couldn't figure out how to use it (int exp?) I really don't understand how you could grok this unless you can relate the design to something else. Regardless it's impressive code with or without fanctl :) cmake should make it easier to port to osx and/or freebsd though I think you have to do some stuff with #ifndef but cmake makes it easier http://stackoverflow.com/questions/7900661/how-to-read-a-cmake-variable-in-c-source-code |
might make more sense to send a pull request to https://github.com/groeck/lm-sensors/ also: https://github.com/audiohacked/OpenCorsairLink https://wiki.archlinux.org/index.php/Fan_speed_control (lm_sensors provides a fancontrol) |
for lm-sensors, there has been this issue: lm-sensors/lm-sensors#5 |
Sorry, I really haven't got time for this right now, but if you have time to pull this code to lm-sensors, feel free to do it. If not, i'll try to do in the future. |
@ka87 What kind of encoding scheme is this? I'd like to learn more about what encode_table[] and decode_table[] mean. |
Got this PSU (AX1200i) for my new build for a sweet deal of $300 compared to the regular selling price of $400-$450 for this unit. I am also interested in understanding how you came up with the encode and decode table data? Any information you could share on the reverse-engineering from the USB packet sniffer? I plan to do something along those lines mostly, but would be still good to understand how you were able to do it :) |
Fan speed would be the most important part since the damn thing doesnt actually turn the fan on when it heats up like they claim, so i want to say im obliged to help out but where you got the commands from unless you used a bus pirate or dissasembly of the windows driver.. Anything you can say about it ?
The text was updated successfully, but these errors were encountered: