On 16-04-08 09:07, Helge Fredriksen wrote: > We're making our own specially tailored Linux based upon the Ubuntu > package repository. The application running on the distro is a > sound-enabled one, and it will always be setup with the same sound card. > However, we cannot use the default settings in alsa for this card. For > example, the microphone is always muted and we want the boost to be set on. > > When a customer installs the distro, we do not want to lead him through > how to adjust this, we would like that the settings we have tuned in our > "development" environment (mic on etc.) is copied as default > on the distro. > > Where is the alsa settings stored when a user tunes them, and in which > system directory may I copy them to make them default on such a distro? Set the desired default settings for the card on one system and then do a "alsactl store" once. This will create an /etc/asound.state file (or a file you specify with the -f parameter) which you can restore from with "alsactl restore" which you'd do from an init script (or an "install" trigger from modprobe.conf if you have things modular and insist on it). Taking that file and installing that onto the customers's machine would provide him with your tweaked settings. Rene ------------------------------------------------------------------------- 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