View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat May 12, 2007 9:50 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 12, 2007 10:01 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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...


Top
 Profile  
 
 Post subject: had same problem
PostPosted: Sun May 13, 2007 9:57 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
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

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 13, 2007 12:43 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 13, 2007 11:48 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 14, 2007 2:00 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
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

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu