Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ---<START>---
- # Insert DIRECTLY below the original clock line in the COPY OF THE FILE
- # KEEP THE ORIGINAL LINE and add a section for each module/die you want to change
- # 6 possible ASIC modules 4 die each
- # $p = plug # on the mainboard (count from zero)
- # $c = die #
- #*KnCMiner on the Advanced Tuning web page counts from 1 !(but not in the code)
- #*They count die from 1 also
- #*Subtract 1 from the ASIC # on the web page to use in the .sh file
- ################
- if [ $p -eq 0 ]
- then
- if [ $c -eq 0 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 1 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 2 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 3 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- fi
- if [ $p -eq 1 ]
- then
- if [ $c -eq 0 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 1 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 2 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 3 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- fi
- if [ $p -eq 2 ]
- then
- if [ $c -eq 0 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 1 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 2 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 3 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- fi
- if [ $p -eq 3 ]
- then
- if [ $c -eq 0 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 1 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 2 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- if [ $c -eq 3 ]
- then
- cmd=$(printf "0x86,0x%02X,0x02,0x11" $c)
- fi
- fi
- # ---<END>---
Advertisement
Add Comment
Please, Sign In to add comment