Hi, I am trying to save my input settings for the AudioInjector card with sudo alsactl store, but the input settings keep getting reset upon reboot. I'm just trying to have line input turned on by default.
I change my settings in alsamixer to turn line input on then run:
I see the settings changed in /var/lib/alsa/asound.state, but they are still changed back on reboot including in the asound.state file. I am looking in asound.state at:
Code: Select all
state.audioinjectorpi {
...
control.4{
iface MIXER
name 'Line Capture Switch'
value.0 false
value.1 false
comment{
access 'read write'
type BOOLEAN
count 2
}
}
...
}
I have also tried a workaround where I add the line:
Code: Select all
sudo amixer -c 0 sset Line,0 100%, 100% unmute cap > /home/pi/Desktop/result.txt
to my /etc/rc.local, which succeeds in running and creating the result.txt file, which shows that the command succeeded in turnings line input on, but when I open alsamixer Line Input Capture is off again.
It seems like maybe something else is happening at some point during boot which loads in different settings and turns line input off.
Any idea what is going on here?