You are not logged in.

#1 2011-02-10 22:19:18

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Save Alsa Volume Levels

For some reason when I reboot my Arch Linux workstation, Also is always muted when I login. I always have to go into my sound preferences window (Gnome) & enable the levels and select 'headphones' which gets very annoying after some time. I don't remember how I can save my Alsa levels on Arch Linux and the Wiki has changed in the last year since I've installed Arch Linux. Can someone please show me how I can save this so I don't always have to un-mute and configure my sound during each reboot?

Thank you!


./

Offline

#2 2011-02-10 22:21:52

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Save Alsa Volume Levels

Enable The Alsa Daemon In Rc.conf.

Last edited by lucke (2011-02-10 22:22:49)

Offline

#3 2011-02-10 22:23:27

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Save Alsa Volume Levels

Install alsa-utils and add 'alsa' to the DAEMONS array in /etc/rc.conf. Finish off with running '/etc/rc.d/alsa stop' (or 'alsactl store'), to save the current sound levels.

Offline

#4 2011-02-10 22:23:40

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Save Alsa Volume Levels

It's enabled already. Also is running but the settings for my user are not saved. I remember somewhere in the Wiki I had to run a command utility for Alsa that had a command line volume inputs that you had to un-mute with 'm' and the arrow keys. After you set your levels, you had to save the config. That is what I'm looking for.


./

Offline

#5 2011-02-10 22:24:44

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Save Alsa Volume Levels

alsamixer is the CLI utility, but I don't think it does any saving.

Offline

#6 2011-02-10 22:25:01

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Save Alsa Volume Levels

foutrelis wrote:

'alsactl store'), to save the current sound levels.

I think this is exactly what I'm looking for. I will test it and report back.

Thank you!


./

Offline

#7 2011-02-10 22:28:13

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Save Alsa Volume Levels

Carlwill wrote:
foutrelis wrote:

'alsactl store'), to save the current sound levels.

I think this is exactly what I'm looking for. I will test it and report back.

Thank you!

The problem is, /etc/rc.d/alsa does pretty much the same thing; it runs 'alsactl restore' on boot and 'alsactl store' on shutdown.

Also, check if SAVE_VOLUME is set to 'yes' in /etc/conf.d/alsa. (This is the default, but you never know.)

Offline

#8 2011-02-10 23:03:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Save Alsa Volume Levels

https://wiki.archlinux.org/index.php/Ad … e_channels
I noticed that searching the wiki for 'alsa' doesn't show you this page in 'Page title matches', but you should be able to find it anyway, as it is shown in the 'Page text matches'.

Last edited by karol (2011-02-10 23:05:14)

Offline

#9 2011-02-11 02:52:38

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Save Alsa Volume Levels

foutrelis, what you wrote doesn't work because alsactl expects the config file to be in /etc, while the alsa daemon expects it to be in /var. The wiki page karol gave gives the correct command.

Offline

Board footer

Powered by FluxBB