ALSA resources
From Rivendell Wiki
Revision as of 16:23, 12 March 2018 by Higgles (Talk | contribs) (Created page with "[http://alsa.opensrc.org/index.php/Aadebug alsa debug shell script] * setting and distributing alsa settings <pre> Date: Wed, 16 Apr 2008 20:59:32 +0200 From: Rene Herman Sub...")
- setting and distributing alsa settings
Date: Wed, 16 Apr 2008 20:59:32 +0200 From: Rene Herman Subject: Re: [Alsa-user] Distributing alsa-settings To: Helge Fredriksen Cc: alsa-user@lists.sourceforge.net 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