> On Oct 29, 2015, at 17:53 , James Cameron <quozl@xxxxxxxxxx> wrote: > > On Thu, Oct 29, 2015 at 05:38:03PM -0700, Rick Mann wrote: >> ... Is there a way to generate a default asound.state file? For >> example, if I delete the file altogether, and then reboot, reload my >> Device Tree Overlay, and then issue alsactl store, will it create a >> "clean" asound file with just the right controls (with defaults)? > > Yes, that's the way it is usually done; delete the file, somehow avoid > it being written on shutdown, then on next boot whatever the driver > and hardware has as a default will be used. Many drivers will use > what the hardware has in registers. If the system firmware hasn't > touched those registers, then you should have chip reset values. If > the chip is specified without reset values, you'll have unpredictable > values. Exciting times ensue. Thanks James...Cameron? Whoa. ;-) I think what I'll do is reboot, delete the file, then load the overlay which will add the device to the device tree (it's not there after boot). I might delete the file, reboot, delete it again? Dunno. We'll see. Thanks for the confirmation that it works this way. -- Rick Mann rmann@xxxxxxxxxxxxxxx _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel