How to install the MIC+ bash script in a root session?

in the bash there is this :

sudocheck() {
if [ $(id -u) -ne 0 ]; then
echo “script starts”

    echo -e "Install CAN NOT be run as root. Try without sudo\n"
    exit 1

My question is quite simple I need to run the MIC+ V2 in a root session please how to install it in root ?
Many thanks for any reply :slight_smile:


The script is just adding a few lines in the /etc/asound.conf try to edit it yourself to match :

pcm.!default {
type hw card 0
ctl.!default {
type hw card 0

All I2S drivers are the same so this guide is also applicable ( LINUX 5.4 AND HIGHER)

hello, many thanks for the reply I will try and I’ll feed back the result !