The solution:
Use a Raspberry Pi 3 Model B and solder the I2C bus on the Pi itself directly to the connectors/AUC plug on one of your miners. You should solder pins 3/5 for SDA and SDL on the Pi, no pullup resistors required. And also GND (Pin 39 on Pi) to one of the GND pins on the AUC connector on the miner. (1 or 4).
You need to start cgminer with "--avalon4-iic-detect" for this to work.
I added this parameter to /etc/init.d/cgminer like this :
if [ "$_pool1url" != "" -a "$_pool1user" != "" -a "$_pool1pw" != "" ]; then
POOL1="-o $_pool1url -O $_pool1user:$_pool1pw --avalon4-iic-detect"
fi
Hello lib1337,
thank you for instuction. I have the same setup with Avalon 6 and Raspberry Pi 3. I have one question. How to configure the cgminer and add the "...iic-detect"? I have no idea and try a lot.
Thank you
Hi Jonesman439,
Here's what I did.
First you have to setup your mining i.e. you have flashed the latest Raspberry Pi firmware, connected the AUC to the Avalon 6, connected the I2C pins to your board as shown on this site: https://www.cryptouniverse.at/run-avalon-6-miner-without-auc2-converter/ , connected your power supply and ethernet cable to the Raspberry Pi, and connected the PSU to the miner. Then connect the Raspberry Pi to a monitor with an HDMI cable and connect a keyboard. Turn on the Avalon 6 and the Raspberry Pi. On the monitor you should see the boot-up and if you press the enter key you should see the BusyBox built in shell.
To edit the cgminer file type:
vim /etc/init.d/cgminer
and press enter. This will allow you to edit cgminer. If you scroll down you will see the code:
if [ "$_pool1url" != "" -a "$_pool1user" != "" -a "$_pool1pw" != "" ]; then
POOL1="-o $_pool1url -O $_pool1user:$_pool1pw"
fi
add the "--avalon4-iic-detect" so the code now reads:
if [ "$_pool1url" != "" -a "$_pool1user" != "" -a "$_pool1pw" != "" ]; then
POOL1="-o $_pool1url -O $_pool1user:$_pool1pw --avalon4-iic-detect"
fi
I added this edit to POOL2 and POOL3. To exit vim just press :x and then enter. You can edit this in any SSH, such as putty.