so what am I doing wrong?
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FbOxkHQl.png&t=665&c=rIT51UGm06jh_A)
Hey Phil,
Looks like you are missing a couple of things in the command you are typing on the miner. In jstefanop's first message:
USAGE:Since this need to be run directly from the miner console, below is my attempt at a user friendly instructions for people not familiar with the command line:
Download the release binary on GitHub and copy it over to your antminer:
scp [Directory you downloaded tool]/set_voltage root@[your miners ip]:/config
ssh into your miner and cd to config folder (this is the only folder that is saved on reboot on antminers so we saved the binary here).
ssh root@[your miners ip]
cd /config
binary accepts two inputs in the format of:
./set_voltage [chain# 1-4] [voltage in hex]
bitmains voltage controller can be configured to change the 12v input roughly +/- 1v from 10v, and this is configurable via a hex range of 0x00-0xfe, with the default being set to the middle (0x80). Higher hex values (0x80-0xfe) will LOWER voltage, lower values (0x00-0x7f) will INCREASE voltage from the default.
If your not familiar with hex numbering, all you need to know is that they range from 0-9, then a-f
For example if you want to slightly decrease your voltage on chain #1 you would input:
increments of 0x10 are good starting point to test a sweet spot for each board for a particular frequency. Lowering voltage until you get around 1 HW error per minute is usually a good reference “sweet spot.”
So lower voltages from stock in increments of 0x10 are 90, A0, B0, C0, D0, E0, F0 and higher are 0x70, 0x60, 0x50 etc. If you want slightly higher resolution just go increments of 0x08, so lowering voltage in lower increments would look like 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0 etc.
The tool directly writes the voltages to the pic controllers memory, so all changes are saved even on reboot and power down. If you want to set everything back to stock, you have to set the stock voltage for each chain using:
./set_voltage 1 80
./set_voltage 2 80
./set_voltage 3 80
./set_voltage 4 80
When you download the file to your Mac, make a note of where it is since you will need to copy it to the miner using
scp and put it in the
/config directory
on the miner. Once you have copied the code to the miner you will need to
login on the miner using
ssh and then cd to the
/config directory on the miner. Once you are in the
/config directory on the miner, you will need to run the
set_voltage command. The actual command is
./set_voltage, and you need to make sure that you use the leading
./, without it the command won't run. I'd explain why, but it's a linux thing, and not necessary unless you want to know.
I'll be online for a while, so PM me, or reply here and I can help you through it.