MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
Have to run alsaconf at every bootup... 
Author Message
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:30 pm
Posts: 1456
Location: Flinthills of Kansas, USA
Has thanked: 253 times
Have thanks: 139 times
Post # 227832
Post Have to run alsaconf at every bootup...
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 M-11.9.92 kernel 3.10-3-amd64 kde 4.11.5 mixed/unstable
"beware a frequent flirt with potential disaster"


Thu Apr 22, 2010 12:10 pm
Profile
Forum Regular
Forum Regular

Joined: Fri Jul 28, 2006 8:19 pm
Posts: 479
Has thanked: 29 times
Have thanks: 35 times
Post # 227858
 Don't know if this will work in 8.5 But
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....


Thu Apr 22, 2010 2:29 pm
Profile
Forum Guide
Forum Guide

Joined: Wed Jul 12, 2006 4:37 pm
Posts: 1482
Has thanked: 3 times
Have thanks: 29 times
Post # 227860
Post 
simple: after running alsaconf do
Code:
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]


Thu Apr 22, 2010 2:32 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:30 pm
Posts: 1456
Location: Flinthills of Kansas, USA
Has thanked: 253 times
Have thanks: 139 times
Post # 228132
Post 
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 M-11.9.92 kernel 3.10-3-amd64 kde 4.11.5 mixed/unstable
"beware a frequent flirt with potential disaster"


Sat Apr 24, 2010 1:07 pm
Profile
Forum Guide
Forum Guide

Joined: Wed Jul 12, 2006 4:37 pm
Posts: 1482
Has thanked: 3 times
Have thanks: 29 times
Post # 228133
Post 
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:
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]


Sat Apr 24, 2010 1:20 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:30 pm
Posts: 1456
Location: Flinthills of Kansas, USA
Has thanked: 253 times
Have thanks: 139 times
Post # 228137
 lsmod | grep snd outputs
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 M-11.9.92 kernel 3.10-3-amd64 kde 4.11.5 mixed/unstable
"beware a frequent flirt with potential disaster"


Sat Apr 24, 2010 1:47 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Fri Dec 15, 2006 8:07 pm
Posts: 8486
Location: Skullcrusher Mountain, Santee, CA USA
Has thanked: 555 times
Have thanks: 1855 times
Post # 228144
Post 
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.


Sat Apr 24, 2010 2:08 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:30 pm
Posts: 1456
Location: Flinthills of Kansas, USA
Has thanked: 253 times
Have thanks: 139 times
Post # 228150
Post 
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 M-11.9.92 kernel 3.10-3-amd64 kde 4.11.5 mixed/unstable
"beware a frequent flirt with potential disaster"


Sat Apr 24, 2010 2:18 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:30 pm
Posts: 1456
Location: Flinthills of Kansas, USA
Has thanked: 253 times
Have thanks: 139 times
Post # 228154
 !#@'!!%#@
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 M-11.9.92 kernel 3.10-3-amd64 kde 4.11.5 mixed/unstable
"beware a frequent flirt with potential disaster"


Sat Apr 24, 2010 2:38 pm
Profile
Forum Guide
Forum Guide

Joined: Wed Jul 12, 2006 4:37 pm
Posts: 1482
Has thanked: 3 times
Have thanks: 29 times
Post # 228156
Post 
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]


Sat Apr 24, 2010 2:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 24 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.