Created
August 4, 2016 22:02
-
-
Save dholt/39b68bb5e5993a9a45716365bdbf9122 to your computer and use it in GitHub Desktop.
Fix Supermicro ACSCtl BIOS issue on Haswell systems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
e=`dmidecode | grep SYS-2028GR-TRT` | |
if [ $? -ne 0 ] ; then | |
exit | |
fi | |
for i in $(lspci -d "10b5:" | awk '{print $1}') ; do | |
o=$(lspci -vvv -s $i | grep ACSCtl) | |
if [ $? -eq 0 ] ; then | |
echo $o | grep "+" | |
if [ $? -eq 0 ] ; then | |
setpci -s $i f2a.w=0000 | |
fi | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment