WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Alsa settings permanence through reboots  (Read 2289 times)

Offline feddozz

  • Newbie
  • *
  • Posts: 27
[SOLVED] Alsa settings permanence through reboots
« on: May 02, 2012, 09:03:06 AM »
Hi,

I just updated alsa and it is not keeping the setting through reboots anymore. Bear in mind it was before update.

OK ok...I know, I should have not updated it, it was working after all.

I repeated the procedure in the alsa.tcz.info for permanence:
Code: [Select]
If you want your alsa settings to persist across reboots, use the
command 'alsactl store' after alsa has been set up.  This stores the
configuration in /etc/asound.state.  Place this file in your backup to
allow your alsa settings to persist across sessions.

Additionally, if you first run alsaconf, the result of that will be used
by /usr/local/etc/init.d/alsasound instead of probing for and activating
all the soundcards found on your system.  Only the card you selected in
alsaconf will be setup by alsasound upon later starting of alsasound once
alsaconf is run.  To make this persist across reboots so alsasound does
not have to be run in later sessions, back up these files/directories:

opt/alsa
etc/modprobe.conf

Then add the command "/usr/local/etc/init.d/alsasound start" in your
/opt/bootlocal.sh file and your card should load on each boot as previously
set up by alsaconf.

I checked /etc/asound.state after reboot and I found the following values in both cases, which to me seem right:
Code: [Select]
control.32 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Jack Sense'
value true
}
It looks like alsa is not applying these settings...
Any ideas?
Thanks
« Last Edit: May 02, 2012, 09:14:29 AM by feddozz »

Offline feddozz

  • Newbie
  • *
  • Posts: 27
Re: Alsa settings permanence through reboots
« Reply #1 on: May 02, 2012, 09:14:08 AM »
I found the problem writing the post.
The different version stored the asound.state file in different locations

/etc/asound.state => /usr/local/etc/asound.state

Now it works!