LinHES Forums http://forum.linhes.org/ |
|
R5F1 alsamixer - no save? http://forum.linhes.org/viewtopic.php?f=6&t=15206 |
Page 1 of 1 |
Author: | Too Many Secrets [ Sat May 12, 2007 9:50 pm ] |
Post subject: | R5F1 alsamixer - no save? |
SO.... did the upgrade to F1. Smooth for the most, but a sound bugaboo. can't save alsamixer with the "alsactl store" command. it just hangs. Ideas? |
Author: | tjc [ Sat May 12, 2007 10:01 pm ] |
Post subject: | |
Are you doing this as root? I think that's necessary. The command writes the settings to /var/lib/alsa/asound.state by default. Check that the file or at least the directory is there and who it's owned and writable by. There's also a /etc/default/aumix which is used to save/restore the mixer settings if and only if the other file doesn't exist... |
Author: | neutron68 [ Sun May 13, 2007 9:57 am ] |
Post subject: | had same problem |
I had the same problem with a new install of R5E50 and R5F1 on my test computer. I did not have this problem when I upgraded to from R5D1 to R5E50 or from R5E50 to R5F1 on my main Knoppmyth box, however. To fix on the new install I had to type the following right after making ALSAMIXER changes. Code: sudo alsactl store
After that, the settings were remembered. Eric |
Author: | Too Many Secrets [ Sun May 13, 2007 12:43 pm ] |
Post subject: | |
tjc wrote: Are you doing this as root? I think that's necessary.
The command writes the settings to /var/lib/alsa/asound.state by default. Check that the file or at least the directory is there and who it's owned and writable by. There's also a /etc/default/aumix which is used to save/restore the mixer settings if and only if the other file doesn't exist... Neither file exists. I'm trying "alsactl store" as root and I even just tried "sudo alsactl store" over ssh and still it just hangs. Can I create the above files manually? By the by, this is an upgrade that started in D1 < E50 < F1. D1 had no need to store alsa settings, E50 the "alsactl store" trick worked. |
Author: | Too Many Secrets [ Sun May 13, 2007 11:48 pm ] |
Post subject: | |
OK! I was playing around with the "alsactl store 1" command to no avail, when I tried the "alsactl store" and then just left it alone. Played around in the FE a bit and rebooted and now sound. Now the file "/var/lib/alsa/asound.state" exists! It must take a few minutes to complete and I was just thinking it was locked? |
Author: | manicmike [ Mon May 14, 2007 2:00 am ] |
Post subject: | |
tjc wrote: Are you doing this as root? I think that's necessary.
tjc is absolutely correct! It writes by default to /var/lib/alsa/asound.state which only root has write access to. If you want to do this regularly, you can either: 1. Add it to the sudoers file, then prepend sudo to the "alsactl store" command, or 2. State which file you want to save it to (then read it from) with "-f <file>". Use the absolute path. or 3. As root, type "chgrp audio /var/lib/alsa && chmod g+w /var/lib/alsa/", which will allow everyone in the group "audio" to write to the director. The alsactl man page is very clear, if you want to know more. Mike |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |