2010/4/2 Angel Tsankov fn42551@fmi.uni-sofia.bg
.
As you can see the driver has 79 controls but only 48 controls saved in
the
asound.state
that is why "alsactl restore" become "alsactl init"
!!Amixer output !!-------------
!!-------Mixer controls for card 0 [YMF724F]
Card hw:0 'YMF724F'/'Yamaha DS-1 (YMF724F) at 0xfb000000, irq 5' Mixer name : 'SigmaTel STAC9700,83,84' Components : 'AC97a:83847600' Controls : 79 Simple ctrls : 31
My question was why 'alsactl restore' restores the sound card and 'alsactl restore 1' just initializes the card.
Angel Tsankov
you have to find out the value of doit
1443 /* check if we have additional controls in driver */ 1444 /* in this case we should go through init procedure */ 1445 if (!doit && maxnumid >= 0) {
http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=05f78cc68111101...