-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unbounded frequency regulation #4
Comments
Yes. Noticed this before... This has worked thus far (has not been extensively tested). |
Actually I just noticed that grep -B (resp. grep -A) will return the first (resp. last) line of freqList when looking for "out of boundaries" values. For instance: *output: It seems that the issue was (unintentionally) already taken care of! What do you think about it? |
Looks correct. But won't it restart cgminer unnecessarily at this point? |
That's right, I missed that point. |
'newFreq' value can be incorrect when downclocking below 100MHz or when overclocking above 500MHz.
The issue is caused by these two lines:
newFreq=$(cat freqList | grep -A "$FREQ_STEP" "$freq:" | tail -n 1)
newFreq=$(cat freqList | grep -B "$FREQ_STEP" "$freq:" | head -n 1)
newFreq values shall be limited to the valid frequencies contained in Freqlist file.
I don't have my Antminer anymore so I won't issue the fix myself.
The text was updated successfully, but these errors were encountered: