cpsumon icon indicating copy to clipboard operation
cpsumon copied to clipboard

open dongle

Open stevef9432203 opened this issue 6 years ago • 3 comments

I've downloaded the code for my corsair 860ax i. When it works it great. But mostly it does not. My system mostly gets dangle open error.

stevef9432203 avatar Jul 24 '18 07:07 stevef9432203

Edit: Just ignore, it was just a fluke that it started working, after reboot the "couldn't setup dongle" was back. This is not conclusive but, after some tests it seems it's a timing issue. At least my dongle open error disappeared when i interested usleep(20); between lines 161 and 162 in libcpsumon/src/cpsumon.c like this: char r; usleep(20); if ((r = xread(fd, buffer, size - 1, 2)) == 0) return NULL;

Hagbard-Celin avatar Feb 06 '19 11:02 Hagbard-Celin

I found a fix that works on my AX860i, the code is in this commit: https://github.com/Hagbard-Celin/cpsumon/commit/2e2ecc4d24a9b807bb71fe79d797786edb3365b4 I'm to tired to figure out how to make a pull request with only that commit.

Hagbard-Celin avatar Feb 12 '19 21:02 Hagbard-Celin

Tested and working thank you stevef

On Tuesday, February 12, 2019, 1:49:01 PM PST, Hagbard-Celin <[email protected]> wrote:  

I found a fix that works on my AX860i, the code is in this commit: Hagbard-Celin@2e2ecc4 I'm to tired to figure out how to make a pull request with only that commit.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

stevef9432203 avatar Feb 17 '19 01:02 stevef9432203