2010/4/2 Angel Tsankov <fn42551@xxxxxxxxxxxxxxxx> > . > > > > 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=05f78cc6811110156c701fd9a2a5d15de8b4b1c7;hp=6232f1c96cde1fee247e95cd97235c48cc7b168d _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel