Have to run alsaconf at every bootup...

Problems with your sound card are to be posted here, as well as tutorials to share with others.
Message
Author
User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1477
Age: 58
Joined: Wed Jul 12, 2006 4:30 pm

Have to run alsaconf at every bootup...

#1 Postby JBoman » Thu Apr 22, 2010 12:10 pm

I'm running the latest 8.5 with community repo mplayers etc. At every bootup I lose all sound and have to run alsaconf to get sound back. Kmix also disappears from the tray and I have to restart it from the menu and then reset all sliders and switches to get sound working. Not a big big deal but 10 min every morning to get sound is getting frustrating to say the least.

***NOTE: Apparently this is not Mepis exclusive... see this link> http://www.linuxquestions.org/questions/linux-hardware-18/need-to-run-alsaconf-at-every-boot-even-with-alsactl-store-543664/

***ALSO: here is terminal output after running alsaconf >
Loading driver...
WARNING: All config files need .conf: /etc/modprobe.d/iwl3945, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/b43, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2100, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2200, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ltserial, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/iwl3945, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/b43, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2100, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2200, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ltserial, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/iwl3945, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/b43, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2100, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2200, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ltserial, it will be ignored in a future release.
Setting default volumes...
amixer: Mixer attach default error: No such file or directory


===============================================================================

Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-15 regular updates
"beware a frequent flirt with potential disaster"

User avatar
fatjak
Forum Regular
Forum Regular
Posts: 479
Joined: Fri Jul 28, 2006 8:19 pm

Don't know if this will work in 8.5 But

#2 Postby fatjak » Thu Apr 22, 2010 2:29 pm

You can give it a try. While sound is working do lsmod & print it out for refrence then reboot & do it again to see what modules may not be loading. If some are not loading just type in one per line in /etc/modules file. If this works like 8.0 did it will load them, or it on boot. Possible the wrong module is loading too, hard to say not all that up on 8.5 but its worth a try....

carlops
Forum Guide
Forum Guide
Posts: 1482
Joined: Wed Jul 12, 2006 4:37 pm

#3 Postby carlops » Thu Apr 22, 2010 2:32 pm

simple: after running alsaconf do

Code: Select all

alsactl store
[color="Blue"][SIZE="2"]
In the long history of humankind [...] those who learned to collaborate and improvise most effectively have prevailed.
.[/SIZE][/color]
[color="Silver"][SIZE="1"]Charles Darwin[/SIZE][/color]

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1477
Age: 58
Joined: Wed Jul 12, 2006 4:30 pm

#4 Postby JBoman » Sat Apr 24, 2010 1:07 pm

alsactl store does not work; still have to run alsaconf from terminal every boot up and then have to restart kmix for it to appear in the tray. Sometimes kmix has my pre-amp sliders and sometimes it does not. I get a warning at bootup > Notification from phonon about soundcard drivers being automatically removed and asking if it's ok...makes no difference how you answer they get removed anyway and then it's alsaconf and restart kmix. I do not consider this stable in any form. For me phonon has caused continued problems. JBoman
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-15 regular updates
"beware a frequent flirt with potential disaster"

carlops
Forum Guide
Forum Guide
Posts: 1482
Joined: Wed Jul 12, 2006 4:37 pm

#5 Postby carlops » Sat Apr 24, 2010 1:20 pm

Phonon has nothing to do with it. It seems like the incorrect soundcard drivers are loaded at boot, so Phonon thinks they are default. Then you run alsaconf and load other drivers, and Phonon now thinks that one card has been swapped for another.

Can you please run

Code: Select all

lsmod | grep snd


before and after running alsaconf. We then know which driver is the culprit and can blacklist it accordingly.
[color="Blue"][SIZE="2"]
In the long history of humankind [...] those who learned to collaborate and improvise most effectively have prevailed.
.[/SIZE][/color]

[color="Silver"][SIZE="1"]Charles Darwin[/SIZE][/color]

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1477
Age: 58
Joined: Wed Jul 12, 2006 4:30 pm

lsmod | grep snd outputs

#6 Postby JBoman » Sat Apr 24, 2010 1:47 pm

Carlops, ran it both ways before and after, will post outputs and also terminal warning I get when all done and working again.
*BEFORE running alsaconf >
snd_intel8x0 19355 0
snd_ac97_codec 78928 1 snd_intel8x0
ac97_bus 682 1 snd_ac97_codec
snd_usb_audio 49710 1
snd_pcm_oss 27741 0
snd_mixer_oss 10241 1 snd_pcm_oss
snd_pcm 45612 4 snd_intel8x0,snd_ac97_codec,snd_usb_audio,snd_pcm_oss
snd_usb_lib 10933 1 snd_usb_audio
snd_hwdep 3930 1 snd_usb_audio
snd_seq_midi 3288 0
snd_rawmidi 12033 2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event 3564 1 snd_seq_midi
snd_seq 34743 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12034 2 snd_pcm,snd_seq
snd_seq_device 3625 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 32467 13 snd_intel8x0,snd_ac97_codec,snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3350 1 snd
snd_page_alloc 4753 2 snd_intel8x0,snd_pcm

*AFTER running alsaconf>
snd_intel8x0 19355 1
snd_ac97_codec 78928 1 snd_intel8x0
ac97_bus 682 1 snd_ac97_codec
snd_pcm_oss 27741 0
snd_mixer_oss 10241 1 snd_pcm_oss
snd_pcm 45612 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 3288 0
snd_rawmidi 12033 1 snd_seq_midi
snd_seq_midi_event 3564 1 snd_seq_midi
snd_seq 34743 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12034 2 snd_pcm,snd_seq
snd_seq_device 3625 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 32467 11 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3350 1 snd
snd_page_alloc 4753 2 snd_intel8x0,snd_pcm

*WARNING MESSAGE>
Loading driver...
WARNING: All config files need .conf: /etc/modprobe.d/iwl3945, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/b43, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2100, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2200, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ltserial, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/iwl3945, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/b43, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2100, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2200, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ltserial, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/iwl3945, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/b43, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2100, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ipw2200, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ltserial, it will be ignored in a future release.
Setting default volumes...
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-15 regular updates
"beware a frequent flirt with potential disaster"

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 11141
Age: 57
Joined: Fri Dec 15, 2006 8:07 pm

#7 Postby Stevo » Sat Apr 24, 2010 2:08 pm

Have not done any research, but this change:

snd_intel8x0 19355 0

to

snd_intel8x0 19355 1

out of the dim recesses of my memory seems to be that it switched the DMA channel? Does that sound familiar to anyone?

You could try editing as root the /etc/modprobe.d/snd-hda-intel.conf file, uncommenting the last line by removing the "#", which I think tells it to use the second DMA channel, then rebooting. Otherwise, perhaps putting in the correct model code in the first part of the file could also help. Alsaconf tells you what sound chip you have, or kinfocenter does too, then there's a file in the docs for alsa-base that tells you what to put in.

It would be nice to have a little applet that let you change these settings, or have it integrated into an Assistant.
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

James Branch Cabell

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1477
Age: 58
Joined: Wed Jul 12, 2006 4:30 pm

#8 Postby JBoman » Sat Apr 24, 2010 2:18 pm

Stevo, here is snd-hda-intel># some chips require that the model be set manually
# for example asus g71 series may need model=g71v
options snd-hda-intel model=auto

# this option is disabled by default per advice from community member Jerry Bond
#options snd-hda-intel position_fix=2
I will uncomment the fix=2 line, reboot, and post back
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-15 regular updates
"beware a frequent flirt with potential disaster"

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1477
Age: 58
Joined: Wed Jul 12, 2006 4:30 pm

!#@'!!%#@

#9 Postby JBoman » Sat Apr 24, 2010 2:38 pm

OK, uncommented line in snd-hda-intel and reboot. No sound and no mixer in the tray. Start kmix from menu; it now has only 2 sliders but 1 is the preamp... still no sound. Open a terminal and run alsaconf, close terminal and kmix has disappeared from the tray. Go to menu and restart kmix... it now has 4 sliders but no preamp slider, sound now works but no volume change with sliders. Going to recomment the line in snd-hda-intel and sit on my thumb awhile.
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-15 regular updates
"beware a frequent flirt with potential disaster"

carlops
Forum Guide
Forum Guide
Posts: 1482
Joined: Wed Jul 12, 2006 4:37 pm

#10 Postby carlops » Sat Apr 24, 2010 2:44 pm

What kind of machine do you have? Maybe the model needs to be changed.
[color="Blue"][SIZE="2"]
In the long history of humankind [...] those who learned to collaborate and improvise most effectively have prevailed.
.[/SIZE][/color]

[color="Silver"][SIZE="1"]Charles Darwin[/SIZE][/color]


Return to “Sound”

Who is online

Users browsing this forum: No registered users and 1 guest