I have set audio setting using alsamixer command but after reboot setting get lost, so how to set volume setting permanently so that even after reboot it will not change.
Can you try by running
alsactl store
after selecting the settings. This should store the setting in /var/lib/alsa/asound.state.
From alsactl help option
<snip>
Available commands:
store <card> save current driver setup for one or each soundcards
to configuration file
restore <card> load current driver setup for one or each soundcards
from configuration file
nrestore <card> like restore, but notify the daemon to rescan soundcards
init <card> initialize driver to a default state
daemon <card> store state periodically for one or each soundcards
rdaemon <card> like daemon but do the state restore at first
kill <cmd> notify daemon to quit, rescan or save_and_quit
monitor <card> monitor control events
Also please confirm the module and Linux BSP version you use.
after running alsactl store command i got following message
alsactl: get_control:256: Cannot read control ‘3,0,0,IEC958 Capture Default,0’: Resource temporarily unavailable
Please confirm the module and Linux BSP version you use.