I’m running OpenSuSE 11.2, 64-bit version, and after some system upheavals I now have no sound. Other indications of what is wrong (redacted to remove redundancies):
suillus2:~ # speaker-test -Dplug:front -c2 -l5 -twav
speaker-test 1.0.18
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
Playback open error: -2,No such file or directory
suillus2:~ # speaker-test -Dplug:front -c2 -l5 -twav
speaker-test 1.0.18
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
Playback open error: -2,No such file or directory
suillus2:~ # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.
suillus2:~ # cat /proc/asound/modules
suillus2:~ # cat /proc/asound/cards
--- no soundcards ---
suillus2:~ # cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel
# CvwD.JwBae+XgxVE:MCP61 High Definition Audio
alias snd-card-0 snd-hda-intel
suillus2:~ #
In addition, alsaconf indicates “no soundcards found”.
Some history might be helpful. I transferred my system from one machine to another by cloning the hard drive. The new machine has somewhat different hardware, but OpenSuSE does come up and runs more or less correctly – except for the sound problem. Sound was working on the old machine. I used Yast to set up the new sound card and it did find it (MPC61 High Definition Audio), but the sound test produces no sound.
please post in this … sub-forum, providing in your post the following information:
provide the URLs (of a summary webpage) that are created by running the diagnostic script noted here: SDB:AudioTroubleshooting - openSUSE - Script to run to obtain detailed information. On openSUSE-11.1 and newer that will ask you to run the script /usr/sbin/alsa-info.sh and after the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL. Just the URL. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
in a terminal, or xterm, or konsole, type: rpm -qa ‘alsa’ #and post output here
in a terminal, or xterm, or konsole, type: rpm -qa ‘pulse’ #and post output here
in a terminal, or xterm, or konsole, type: rpm -q libasound2 #and post output here
in a terminal, or xterm, or konsole, type: uname -a #and post output here
for openSUSE-11.1 or earlier, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/sound #and post output here
for openSUSE-11.2 or later, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/50-sound.conf #and post output here
suillus2:/mediavault/CD Images # speaker-test -Dplug:front -c2 -l5 -twav
speaker-test 1.0.18
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 262144
Period size range from 32 to 131072
Using max buffer size 262144
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument
suillus2:/mediavault/CD Images # speaker-test -c2 -l5 -twav
speaker-test 1.0.18
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 4.902870
0 - Front Left
1 - Front Right
Time per period = 4.952244
0 - Front Left
1 - Front Right
Time per period = 4.952074
0 - Front Left
1 - Front Right
Time per period = 4.952132
0 - Front Left
1 - Front Right
Time per period = 4.952279
suillus2:/mediavault/CD Images #
Nary a peep.
Did you confirm sound is switched ON in the BIOS ?
As far as I can tell it is.
[quote] Don’t forget to check your mixer settings (Master, PCM and speaker volume).
I also tried alsaconf; it produced no sound either.
I can’t exclude the possibility of a hardware problem or some obscure BIOS setting, though I went through the BIOS setup looking for such things. I wish I knew how to determine if I have a hardware problem, but I don’t know of any way to test that, even outside of Linux. My computer is a newly built homebrew X86-64 with a quad processor motherboard (Asus M2N68-AM-SE2). I’ve tried using headphones instead of a speaker and running the sound from the front jack instead of the rear one. Nothing helps. Aside from the sound issue, I have no indication of a hardware problem.
please post in this … sub-forum, providing in your post the following information:
provide the URLs (of a summary webpage) that are created by running the diagnostic script noted here: SDB:AudioTroubleshooting - openSUSE - Script to run to obtain detailed information. On openSUSE-11.1 and newer that will ask you to run the script /usr/sbin/alsa-info.sh and after the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL. Just the URL. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
If for some reason after selecting the SHARE/UPLOAD option in the script it does not give you an Internet URL, then please run the script again with the no-upload option. You can do this by:
/usr/sbin/alsa-info.sh --no-upload
and it will create the file alsa-info.txt in the /tmp directory. Open that file with a text editor and copy and paste its contents to a pastebin site such as PasteBin.be and press dump and that will give you a URL. Please post the URL here.
I need that script output to better understand your PC. My not being in front of your PC makes this harder for me and this is the ONLY way I know to do this with any reasonable probability of success.
I hope this gives you a clue. The nasty aspect of this problem is that I can’t exclude a hardware cause, but I can’t point my finger in that direction either. I’m pretty sure that I’ve excluded anything wrong on the output side of the plug, like a disconnected speaker.
Do you know of any OS-independent way to test a sound card? I realize that since drivers are usually OS-dependent, such a thing may not exist.
Your mixer looks fine. Your ALC662 should work under 11.1.
You could download openSUSE-11.2 liveCD (or another liveCD such as a Ubuntu, or Kannotix, or Knoppix, or Sidux) and test your audio with that. Sidux would be my personal choice for the greatest chance of hardware compatibility. If sound works there, then you know this is an openSUSE problem.
You could try updating your sound driver (as there is a much newer version with 1.0.22.1 available, while you have 1.0.18 on your PC). If necessary I can walk you thru updating to that, although IMHO it makes more sense to test your sound 1st with a liveCD.
As an experiment, I installed an old Creative Soundblaster 128 PCI card, and using that card, the sound worked just fine. So I’ve sent a tech query to Asus about the problem. We’ll see what they have to say.