| View previous topic :: View next topic |
| Author |
Message |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
Posted: Wed Jan 27, 2010 4:23 am Post subject: ALSA Resets Volume Level at Boot after Changing Sound Card |
|
|
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 |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6506
|
Posted: Wed Jan 27, 2010 5:35 am Post subject: |
|
|
rm /etc/asound.state /var/lib/alsa/asound.state
2 locations, for wherever Gentoo puts asound.state |
|
| Back to top |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
Posted: Wed Jan 27, 2010 11:04 pm Post subject: |
|
|
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 |
|
 |
shrike n00b


Joined: 20 Feb 2004 Posts: 33 Location: USA
|
Posted: Fri Jan 29, 2010 4:04 am Post subject: |
|
|
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 |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12849 Location: Ste-Foy,Canada
|
Posted: Fri Jan 29, 2010 4:07 am Post subject: |
|
|
After setting your volume, you can run this :
_________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
Posted: Thu Feb 04, 2010 3:52 am Post subject: |
|
|
| 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 |
|
 |
Rexilion l33t


Joined: 17 Mar 2009 Posts: 961
|
Posted: Thu Feb 04, 2010 1:44 pm Post subject: |
|
|
| 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 |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
|
| Back to top |
|
 |
Rexilion l33t


Joined: 17 Mar 2009 Posts: 961
|
Posted: Fri Feb 05, 2010 6:43 am Post subject: |
|
|
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 |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12849 Location: Ste-Foy,Canada
|
Posted: Fri Feb 05, 2010 12:43 pm Post subject: |
|
|
Also, can you post this :
_________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
|
| Back to top |
|
 |
scan2006 n00b

Joined: 20 Jan 2008 Posts: 48
|
Posted: Sat Feb 06, 2010 8:29 am Post subject: |
|
|
| Rexilion wrote: |
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 |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
Posted: Sat Feb 06, 2010 6:07 pm Post subject: |
|
|
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 |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6506
|
Posted: Thu Feb 11, 2010 11:03 am Post subject: |
|
|
| 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 |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
Posted: Sun Feb 21, 2010 6:02 am Post subject: |
|
|
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 |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12849 Location: Ste-Foy,Canada
|
Posted: Sun Feb 21, 2010 5:02 pm Post subject: |
|
|
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 |
|
 |
woddfellow2 n00b


Joined: 01 Dec 2009 Posts: 19 Location: United States
|
Posted: Sat Mar 13, 2010 9:39 pm Post subject: |
|
|
How do I reset ALSA's configuration? _________________ 1-Crawl 2-Cnfg 3-ATF 4-Exit ? |
|
| Back to top |
|
 |
lindegur Apprentice


Joined: 14 Aug 2004 Posts: 227 Location: Swiss mountains
|
Posted: Sun Sep 12, 2010 10:08 am Post subject: |
|
|
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 |
|
 |
saturday Apprentice


Joined: 20 Dec 2004 Posts: 246 Location: de/munich/home
|
|
| Back to top |
|
 |
lindegur Apprentice


Joined: 14 Aug 2004 Posts: 227 Location: Swiss mountains
|
|
| Back to top |
|
 |
|