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

open dongle #5

Open
stevef9432203 opened this issue Jul 24, 2018 · 3 comments
Open

open dongle #5

stevef9432203 opened this issue Jul 24, 2018 · 3 comments

Comments

@stevef9432203
Copy link

stevef9432203 commented Jul 24, 2018

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.

@Hagbard-Celin
Copy link

Hagbard-Celin commented Feb 6, 2019

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
Copy link

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.

@stevef9432203
Copy link
Author

stevef9432203 commented Feb 17, 2019 via email

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