Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA Resets Volume Level at Boot after Changing Sound Card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Wed Jan 27, 2010 4:23 am    Post subject: ALSA Resets Volume Level at Boot after Changing Sound Card Reply with quote

When I first installed and configured ALSA, it was for a Sound Blaster Live! 24-bit (CA0106). Then that card broke, and I switched to the onboard sound card. Now ALSA does not keep volume levels between halt and next boot, and when it starts, I get this:

Code:
 * Restoring Mixer Levels...
Unknown hardware: "VIA8233" "Realtek ALC200,200P rev 0" "AC97a:414c4710" "0x4005
" "0x4710"
Hardware is initialized using a guess method
 * Errors while restoring defaults, ignoring                              [ ok ]


How do I fix this?
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6506

PostPosted: Wed Jan 27, 2010 5:35 am    Post subject: Reply with quote

rm /etc/asound.state /var/lib/alsa/asound.state

2 locations, for wherever Gentoo puts asound.state
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Wed Jan 27, 2010 11:04 pm    Post subject: Reply with quote

I removed those files.

At next boot, it still displayed the error message, it still did not keep volume, and it generated a new asound.state file in /var/lib/alsa/.
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
shrike
n00b
n00b


Joined: 20 Feb 2004
Posts: 33
Location: USA

PostPosted: Fri Jan 29, 2010 4:04 am    Post subject: Reply with quote

woddfellow2,

You should rebuild your kernel with changes to selected sound card drivers (Lose the Blaster, add the Via). Then run alsaconf, then alsamixer to set levels.

That's my best guess.

Regards,

shrike
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Fri Jan 29, 2010 4:07 am    Post subject: Reply with quote

After setting your volume, you can run this :

Code:

# alsactl store

_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Thu Feb 04, 2010 3:52 am    Post subject: Reply with quote

shrike wrote:
woddfellow2,

You should rebuild your kernel with changes to selected sound card drivers (Lose the Blaster, add the Via). Then run alsaconf, then alsamixer to set levels.

That's my best guess.

Regards,

shrike

Is this correct?:
http://omploader.org/vM2cwcA
http://omploader.org/vM2cwcQ
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
Rexilion
l33t
l33t


Joined: 17 Mar 2009
Posts: 961

PostPosted: Thu Feb 04, 2010 1:44 pm    Post subject: Reply with quote

woddfellow2 wrote:
shrike wrote:
woddfellow2,

You should rebuild your kernel with changes to selected sound card drivers (Lose the Blaster, add the Via). Then run alsaconf, then alsamixer to set levels.

That's my best guess.

Regards,

shrike

Is this correct?:
http://omploader.org/vM2cwcA
http://omploader.org/vM2cwcQ


I think that the kernel might have problems supporting your card, could you please post dmesg after booting?
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Fri Feb 05, 2010 4:28 am    Post subject: Reply with quote

dmesg output:
http://paste.pocoo.org/show/174093/
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
Rexilion
l33t
l33t


Joined: 17 Mar 2009
Posts: 961

PostPosted: Fri Feb 05, 2010 6:43 am    Post subject: Reply with quote

woddfellow2 wrote:
dmesg output:
http://paste.pocoo.org/show/174093/


I'm not seeing *any* soundcards, it could be that the module still needs to be loaded or compiled into the kernel. The best option to figure out which module is used, is by using a livecd and then do lspci -v and see which module/driver is attached to your card.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Fri Feb 05, 2010 12:43 pm    Post subject: Reply with quote

Also, can you post this :

Code:

# lspci -n

_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Sat Feb 06, 2010 7:03 am    Post subject: Reply with quote

lspci -n output:
http://paste.pocoo.org/show/174481/
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
scan2006
n00b
n00b


Joined: 20 Jan 2008
Posts: 48

PostPosted: Sat Feb 06, 2010 8:29 am    Post subject: Reply with quote

Rexilion wrote:
woddfellow2 wrote:
dmesg output:
http://paste.pocoo.org/show/174093/


I'm not seeing *any* soundcards, it could be that the module still needs to be loaded or compiled into the kernel. The best option to figure out which module is used, is by using a livecd and then do lspci -v and see which module/driver is attached to your card.


481 & 482 look to be the sound
Code:
11063059   Yes   VIA Technologies, Inc.   VT8233/A/8235/8237 AC97 Audio Controller   snd-via82xx   v2.6.25-


From the alsa guide:
check the /etc/conf.d/alsasound file and ensure that SAVE_ON_STOP variable is set to yes. This saves your sound settings when you shutdown your system.
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Sat Feb 06, 2010 6:07 pm    Post subject: Reply with quote

http://paste.pocoo.org/show/174641/
SAVE_ON_STOP is set to yes. I still have the problem.
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6506

PostPosted: Thu Feb 11, 2010 11:03 am    Post subject: Reply with quote

woddfellow2 wrote:
I still have the problem.

Then take it to the ALSA bugzilla. You won't find ALSA devs here.

In the meantime, use something like this in your local startup script:
Code:
# Don't want annoying beep
amixer -q set "Beep" 0 mute

amixer -q set "Master" 55 unmute
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Sun Feb 21, 2010 6:02 am    Post subject: Reply with quote

How would I wipe ALSA's configuration completely? Where does ALSA store its configuration files?
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sun Feb 21, 2010 5:02 pm    Post subject: Reply with quote

In fact, maybe if you can reset the config file, then you will be able to retest.
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
woddfellow2
n00b
n00b


Joined: 01 Dec 2009
Posts: 19
Location: United States

PostPosted: Sat Mar 13, 2010 9:39 pm    Post subject: Reply with quote

How do I reset ALSA's configuration?
_________________
1-Crawl 2-Cnfg 3-ATF 4-Exit ?
Back to top
View user's profile Send private message
lindegur
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 227
Location: Swiss mountains

PostPosted: Sun Sep 12, 2010 10:08 am    Post subject: Reply with quote

Same problem here (except that I never exchanged my audio card). Even when I run alsaconf a similar WARNING happens
Code:
Running update-modules...
Loading driver...
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                                                        [ ok ]
 *   Loading: snd-card-0 ...                                                                        [ ok ]
 * Restoring Mixer Levels ...
Unknown hardware: "VIA8237" "Realtek ALC850 rev 0" "AC97a:414c4790" "0x1043" "0x8174"
Hardware is initialized using a guess method
 * Errors while restoring defaults, ignoring                                                        [ ok ]
Setting default volumes...

The card works fine, I manually can set the volume. Just it is reset after each boot and also when I run /etc/init.d/alsasound restart
Code:
/etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                                                    [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                                                        [ ok ]
 *   Loading: snd-card-0 ...                                                                        [ ok ]
 * Restoring Mixer Levels ...
Unknown hardware: "VIA8237" "Realtek ALC850 rev 0" "AC97a:414c4790" "0x1043" "0x8174"
Hardware is initialized using a guess method
 * Errors while restoring defaults, ignoring   

Any idea? Writing my own initscript that sets the mixer volume? Is it a Alsa problem?
Back to top
View user's profile Send private message
saturday
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 246
Location: de/munich/home

PostPosted: Sun Sep 12, 2010 10:11 am    Post subject: Reply with quote

Take a look at http://forums.gentoo.org/viewtopic-t-844278-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
lindegur
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 227
Location: Swiss mountains

PostPosted: Sun Sep 12, 2010 11:55 am    Post subject: Reply with quote

Thank you Saturday, the http://forums.gentoo.org/viewtopic-p-6421666.html#6421666 solved my issue :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum