View Full Version : problem with sound. need help.
din
2006-11-17, 03:48 PM CST
fedora core -6.
the first boot the system has installed my sound.
Model - 82801G (ICH7 family) High Definition Audio Controller.
Module - snd-hda-intel
PCM device - AD198x Analog.
sometimes i can hear the sound and sometimes no. i tryed to check
sound card detection - everything ok. and its strange. after boot sometimes sound works and sometimes not. i tryed to check every option on sound but no success.
its just works when it wants :cool:
any suggestion ? what can be a reason ? :confused:
thanks.
din
2006-11-24, 01:12 AM CST
no one can help with this problem?
stiil no sound. i found this :
Try removing all sound support for ALSA from the kernel (except the basic sound card support) and using the latest ALSA drivers. Once I did this I have not had a problem with sound.
- how can i do it -> removing all sound support for ALSA from the kernel ???
parish
2006-11-24, 10:57 AM CST
It shouldn't be necessary to remove or upgrade alsa. Before launching any sound apps, try to remove/reinsert the sound module:
rmmod snd_hda_intel
modprobe snd_hda_intel
I also had to create a file /etc/modprobe.d/alsa containing (my sound card is card-0):
options snd-card-0 index=0
options snd-card-0 model=6stack-digout
I still have the problem that alsamixer isn't correctly initiated at boot; sound works, but launching alsamixer results in the error "alsamixer: function snd_mixer_load failed: Invalid argument" until I rmmod/modprobe snd_hda_intel, after which everything works fine.
Daniel
exe
2006-11-24, 01:06 PM CST
try to select ALSA in gstreamer-properties and HDA Intel (Alsa Mixer) in gnome-volume-control.
Also check /etc/modprobe.conf that there are no blank symbols at the end of sound lines ( I have this problem after switching network profiles from LAN to cdma).
Now everyhing works for me, even voip in skype and sametime.
JoshuaWhite
2006-11-24, 01:33 PM CST
I had the same problem after much research I figured it out.
First:
Create a file called apmcontinue and place it in the /etc/sysconfig/apm-scripts/ directory.
Within the file put the following lines.
case “$1″ in
suspend) ;;
resume)
modprobe -r snd-hda-intel; modprobe snd-hda-intel ;;
esac
when finished "chmod +x apmcontinue" to make the script executable.
Next:
# nano /etc/modprobe.conf
and make sure you have the following lines, if not then you'll need to add them.
alias eth0 8139too
alias scsi_hostadapter ahci
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r –ignore-remove snd-hda-intel
options snd_hda_intel model=3stack
Then you'll need to reboot the system, and everything should work. I've got a much more detailed explanation on my site:
Sound Problem (http://www.securemind.org/v4/?p=7)
No Sound After Hibernation/Suspend (http://www.securemind.org/v4/?p=8)
Hope that helps.
din
2006-11-25, 04:17 AM CST
first thanx to all. i started to hear some! sound and its great!!!
i can hear sound in test devices in sound preferences but still no system sounds like beep or login... (wonder why? and yes, its anabled)
and 1 more thing. i have some cources in linux and its in wmv format. i use to play it in mplayer, because in xine i can't play this file. so i tryed to play in mplayer and i have this :
1.Could not open/initialize audio device -> no sound, but see
video.
how to resolve this???
2.if play in xine it is sound but no video. maybe some way to play wmv in xine?
help to resolve 1 or 2.
thanx a lot. :)
parish
2006-11-25, 09:53 AM CST
It shouldn't be necessary to remove or upgrade alsa. Before launching any sound apps, try to remove/reinsert the sound module:
rmmod snd_hda_intel
modprobe snd_hda_intel
I also had to create a file /etc/modprobe.d/alsa containing (my sound card is card-0):
options snd-card-0 index=0
options snd-card-0 model=6stack-digout
I still have the problem that alsamixer isn't correctly initiated at boot; sound works, but launching alsamixer results in the error "alsamixer: function snd_mixer_load failed: Invalid argument" until I rmmod/modprobe snd_hda_intel, after which everything works fine.
All sound works correctly for me, but I still need to rmmod/modprobe snd_hda_intel after booting in order to get alsamixer to work. The specific error at boot is:
kernel: hda_codec: Unknown model for AD1988, trying auto-probe from BIOS...
kernel: hda_intel: azx_get_response timeout, switching to single_cmd mode...
The complete contents of /etc/modprobe.d/alsa is:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-card-0
options snd-card-0 index=0
options snd-hda-intel index=0
options snd cards_limit=1
options snd-card-0 model=6stack-digout position_fix=1
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };/sbin/modprobe -r –ignore-remove snd-hda-intel
Interestingly, if I change the model option to model=6stack, I don't get the unknown model for AD1988 error anymore, but sound doesn't work at all, even after rmmod/modprobe'ing snd_hda_intel.
Daniel
JoshuaWhite
2006-11-25, 01:43 PM CST
Have you tried removing the model=xstack all together? It's not specifically needed but suggested by the alsa-project.
din
2006-11-25, 02:00 PM CST
Have you tried removing the model=xstack all together? It's not specifically needed but suggested by the alsa-project.
i would try, if i know what it means -> removing the model=xstack all together?
u know, some times its seems like chinese to me. i think anyone, who wants
to learn linux, have to be very persistent :) and control your self not to pull out all the hair (it hearts) and crash your monitor with your keyboard. :)))
if u give advice, please, say little more. this way i can learn and understand it (hope). ok?
JoshuaWhite
2006-11-25, 02:12 PM CST
Sorry I wasn't clear, I ment xstack as in x being a wildcard. Edit the following file:
/etc/modprobe.d/alsa
if you have that file, otherwise
/etc/modprobe.conf
and remove the model=6stack or model=3stack, depending on which entry you have. It's simply a model descriptor and the drivers should discover it all on it's own.
parish
2006-11-25, 03:16 PM CST
Have you tried removing the model=xstack all together? It's not specifically needed but suggested by the alsa-project.
I originally started without the model= parameter and added it in the process of trying to resolve the boot issue. Without it, sound works, but alsamixer will not until the rmmod/modprobe snd_hda_intel bit. Thanks for the suggestion though.
Daniel
parish
2006-11-27, 04:57 PM CST
Interestingly, if I change the model option to model=6stack, I don't get the unknown model for AD1988 error anymore, but sound doesn't work at all, even after rmmod/modprobe'ing snd_hda_intel.
Okay, apparently /etc/modprobe.d/alsa was not what I thought it was when I tested this option before :eek: because it now works correctly after rebooting, including alsamixer.
Also, In case you're interested, the following page (http://alsa.opensrc.org/hda) at the ALSA project describes some of the model parameters for snd_hda_intel.
Daniel
fozner
2006-11-27, 05:26 PM CST
For those who are wondering why they can't hear the KDE system sounds when the fancy desktop effects, or sometimes keyboard shortcuts don't work right, it's because compiz is doing the window management and they will have to use gconf-editor to change the settings for compiz (KDE settings aren't being used).
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.