On 17/04/2008, Helge Fredriksen <helgeingvart@xxxxxxxxx> wrote: > > > Why can't I just copy my tweaked file to the distributions /var/lib/alsa > directory so that it is default after the system is installed? Would the > alsa system somehow "find out" that it isn't the real one, and just > overwrite it with it's own default settings, even if the soundcard type is > the same? > > However, I also have the problem that in some of the machines that this > distro is installed to there is several PCI sound cards of the same type. I > see then that the tweaked configuration for the first card is kept upon > reboot, but that for the second one (just trying to replicate the settings > of the first one) is overwritten. Why? > > Helge F. > Use the following to save the config alsactl -f asound.card0 store 0 alsactl -f asound.card1 store 1 alsactl -f asound.card2 store 2 Then in a startup script use: alsactl -f asound.card0 restore 0 alsactl -f asound.card1 restore 1 alsactl -f asound.card2 restore 2 And then make sure you distribute the asound.card0, asound.card1, asound.card2 with your distro. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user