download the script: hardware_detection_report.sh
(will have to be renamed to .sh and marked runnable with chmod u+x)

#!/bin/bash
# this script basically asks the user, if he is happy with the hardware-support of the currently running linux
# it then writes this to a log file in the format of ~/hardware_support/MotherBoardManufacturer/MotherBoardLevel.txt

cd ~;
mkdir hardware_supported;
cd hardware_supported;

# create folder for every brand/vendor
MOBOMANUFACTURER=$(dmidecode -s "baseboard-manufacturer")
mkdir "$MOBOMANUFACTURER";
cd "$MOBOMANUFACTURER";

echo "============ MOBOMANUFACTURER": $MOBOMANUFACTURER;

PS3='How well is your hardware supported?'
WELLNESS="none";
options=("very_well" "okay" "not_good" "Quit")
select opt in "${options[@]}"
do
    case $opt in
        "very_well")
        WELLNESS="very_well";
        mkdir very_well;
        cd very_well;
        break;
            ;;
        "okay")
        WELLNESS="okay";
        mkdir okay;
        cd okay;
        break;
            ;;
        "not_good")
        WELLNESS="not_good";
        mkdir not_good;
        cd not_good;
        break;
            ;;
        "Quit")
            break
            ;;
        *) echo invalid option;;
    esac
done

PS3='Are you happy with the working-speed?'
SPEED="none";
options=("very_well" "okay" "not_good" "Quit")
select opt in "${options[@]}"
do
    case $opt in
        "very_well")
                SPEED="very_well";
                break;
            ;;
        "okay")
                SPEED="okay";
                break;
            ;;
        "not_good")
                SPEED="not_good";
                break;
            ;;
        "Quit")
            break
            ;;
        *) echo invalid option;;
    esac
done

MOBOMODEL=$(dmidecode -s "baseboard-product-name");

echo "======== MOTHERBOARD MODEL" >> $MOBOMODEL.txt;
echo $MOBOMODEL >> $MOBOMODEL.txt;

MOBOMODEL=$MOBOMODEL.txt;

echo "======== HAPPYNESS WITH HARDWARE SUPPORT" >> $MOBOMODEL;
echo $WELLNESS >> $MOBOMODEL;

echo "======== OS VERSION AND KERNEL" >> $MOBOMODEL;
echo $(uname -a) >> $MOBOMODEL;
cat /etc/debian_version >> $MOBOMODEL;

echo "======== WORKING-SPEED" >> $MOBOMODEL;
echo $SPEED >> $MOBOMODEL;

echo "======== ANY COMMENTS?" >> $MOBOMODEL;
read -e -p "======== ANY COMMENTS?" COMMENT;
echo $COMMENT >> $MOBOMODEL;

DATE=$(date +%Y-%m-%d)
echo "======== DATE" $DATE >> $MOBOMODEL;

echo "======== lscpu" >> $MOBOMODEL;
lscpu >> $MOBOMODEL;

echo "======== lspci" >> $MOBOMODEL;
lspci >> $MOBOMODEL;
admin