No soundcard recognized

Hi everyone,

I’m not an experienced Linux user, yesterday I installed Suse 11.1 and I have 2 problems. I try first to solve the one with the sound. I use onboard sound of an ASRock ALiveXFire-eSATA2 R3.0 Board. Looking throu the posts I found the hint to ATI. Here is the result.

http://www.alsa-project.org/db/?f=938e6fb14bd207421c34cf0b3001eb331403fd55

Thank you for any help

joerg

Your sound card is not recognized. Can you tell me what sound hardware your ASRock mother board has? Did you try installing alsa-firmware followed by a reboot?

The information of ATI says that there is an 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA. The discription of the Board is ALC 6621 Audio Codec. After installing alsa I didn’t make imediately a reboot.

You need to reboot, and then run the script again.

I deinstalled alsa-firmware with yast rebooted, installed it with yast again and reboot. Still no sound. I run hardware-information in yast and get:
Sound: SBx00 Azalia (Intel HDA)
Bus: PCI
Manufacturer: ATI Technologies Inc
Class: Multimedia-controller
ressources: RAM: aktive yes, IRQ activated yes IRQ 16
Sysfs-ID: /devices/pci0000:00/0000:00:14.2
Drivers: active yes, modprobe yes, modules: modprobe snd_hda_-intel
UDI: /org/freedesktop/Hal/devices/pci_1002_4383
func_id:2

I don’t know how to run the script manually and where to find it. How can I manually integrate a soundcard?

I’m sorry, but I forgot to say that the cpu is an AMD Athlon 64x2 Dual Core 5000+.

open a gnome terminal or a kde konsole (dependant on the desktop you are running (which is what by the way ? ) and type:su -c ‘/usr/sbin/alsa-info.sh’ enter root password when prompted. Select YES to update if asked to update, and then run it again. Once successfully complete, that will pass you a URL. Please post that URL here.

Can you explain what you mean?

I run new kde 4.1.3
Here is the url http://www.alsa-project.org/db/?f=d672e7e32e191eda1f2940e1093367ce1bdf7762

I mean how to tell the system that there is a soundcard if it’s not automatically detected maybe by a script?

Looking in Configure Desktop I found in Device priority :Esound, Jack Audio Connection Kit, Pulse Audio and aRts. Before deinstalling/installing alsa there was only a symbol of a soundcard and in Backend are now xine and gstreamer before was only gstreamer.

OK, the script illustrates that your sound device is not detected by alsa.

Can you type the following in a konsole:/sbin/lspci -nnand post here the output ?

Also, type the following in a konsole, and post here the output:rpm -qa | grep alsa
and finally, please ensure that you have alsa-firmware installed. If not, install alsa-firmware, and reboot your PC and test your audio.

00:00.0 Host bridge [0600]: ATI Technologies Inc RS480 Host Bridge [1002:5950] (rev 01)
00:02.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI-X Root Port [1002:5a34]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a37]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 13)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
02:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8600 GT [10de:0402] (rev a1)

alsa-utils-1.0.18-6.4
alsa-tools-1.0.18-1.16
alsa-oss-1.0.17-1.43
alsa-plugins-pulse-1.0.18-6.13
alsa-1.0.18-8.9
alsamixergui-0.9.0rc1-584.91
alsa-plugins-jack-1.0.18-6.13
alsa-firmware-1.0.17-1.42
alsa-tools-gui-1.0.18-1.16
kalsatools-1.5.0-499.110
alsa-plugins-1.0.18-6.13
alsa-plugins-samplerate-1.0.18-6.13

I installed the alsa-firmware module in yast2 under the point Install/Delete Software. If this was wrong please tell me the right way.

When did you install it? Before, or after you ran the script?

Please, after installing alsa-firmware, can you restart your pc, and then run that script again:/usr/sbin/alsa-info.sh
and post here the output URL you get.

Don’t forget to test your sound. Type this in a gnome-terminal or a konsole for a speaker test:
speaker-test -c2 -l5 -twav

For me worked in termnial as root of course:

alsaconf

After that reboot, after reboting set soud card in YaST.

I run the script after installing alsa-firmware. I installed it now again, rebooted the system and run the script as you mentioned. Here is the result.
URL : http://www.alsa-project.org/db/?f=0f2d9382c27ea5b26f1adca1b5aeaa5dd35f249f

The speaker-test says dont find soundcard ‘0’ and that it dont find data to work.

Its starting look to me like your motherboard audio is not compatible with Linux.

What is in your dmesg after a fresh boot? Please reboot your PC, and then open a gnome-terminal or kde konsole and type:dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a
that will post the contents of your dmesg to a paste site. Please post the URL here.

Are you certain your sound is switched ON in the BIOS ? Does your sound work with an other OS such as Windows? or a live CD such as Sidux ? or Kanotix ? or Knoppix ?

dmesg.txt - nopaste.com (beta)

The sound is ON, it works with winXP, I didn’t test it with a live CD yet, because I dont have one.

I tried ‘alsaconfig’ and it says it recognized a soundcard SBx00 Azalia (Intel HDA). Than I rebboted and started yast > hardware > sound. There it says soundcard SBx00 Azalia is detected but not configured. When I start to configure it in mode Normal anerror message came up saying : Error during Installation of SBx00 Azalia (Intel HDA) the kernelmodule snd-hda-intel for sound couldn’t been loaded. Possible reasons could be wrong module parameters or invalid IO or IRQ parameters

Thanks. I note this error:

HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ALSA sound/pci/hda/hda_intel.c:1263: hda-intel: no codecs initialized
HDA Intel 0000:00:14.2: PCI INT A disabled

That indicates your hardware codec is not detected by alsa. ie it is NOT supported.

I’ve never heard of an ALC 6621 hardware audio codec before. I’ve read of an ALC662, and an ALC663, and an ALC861, but never an ALC6621. Are you certain you have that correct?

Its useful to know it works with WinXP, but that is NOT a good indicator that the sound is switched ON in the BIOS. Often winXP will ignore the BIOS sound setting, while Linux will not. Did you check your BIOS ?

The last suggestion I have is to update to the latest alsa, reboot, and then repeat the steps given in this thread to test your sound functionality (in particular, rerun the diagnostic script): Alsa-update - openSUSE
Read that web page and follow the instructions carefully. Many users do not read the page carefully, and they install the wrong rpms, or they forget to install the necessary rpms.

If that does not work, then you should write a bug report:
Submitting Bug Reports - openSUSE

Thank you for your help. You’re right, it is an ALC 662, I must have had fingertrouble. I didn’t check BIOS yet, will follow all your advices and report the result.

I really learned a lot from you, and it trained my English thanks.

If its an ALC662, then I have some more suggestions. … … The ALSA-Configuration.txt file for 1.0.18a of alsa has the following options for an ALC662:

	ALC662/663
	  3stack-dig	3-stack (2-channel) with SPDIF
	  3stack-6ch	 3-stack (6-channel)
	  3stack-6ch-dig 3-stack (6-channel) with SPDIF
	  6stack-dig	 6-stack with SPDIF
	  lenovo-101e	 Lenovo laptop
	  eeepc-p701	ASUS Eeepc P701
	  eeepc-ep20	ASUS Eeepc EP20
	  ecs		ECS/Foxconn mobo
	  m51va		ASUS M51VA
	  g71v		ASUS G71V
	  h13		ASUS H13
	  g50v		ASUS G50V
	  asus-mode1	ASUS
	  asus-mode2	ASUS
	  asus-mode3	ASUS
	  asus-mode4	ASUS
	  asus-mode5	ASUS
	  asus-mode6	ASUS
	  auto		auto-config reading BIOS (default) 

How about running the program “alsaconf” (with root permissions), and then when complete, type:cat /etc/modprobe.d/sound and post here the contents of that file. If there is a file produced I may be able to take the option modules, and propose some edits and a test strategy for you to follow.

Your advices were very good. I checked the BIOS, the sound settings for front and rear were set to Auto, I changed them to enabled.
Then I go to yast2 and updated all alsa modules and yast2 sound.
After reboot I run the scripts you told me and alsaconf. Than I changed to yast > hardware> sound and there was the card SBx00 Azalia not configured. I configured it in mode normal and it showed a volume control 50%, I raised it to 100% and heared a voice saying Speaker right, Speaker left 3 times. I looked in my user account under configure Desktop > sound and there are shown HDA ATI SB (ALC662 Analog and Digital, but they are grayscaled and No Drivers found came up. Still there is no sound for system or CD. At the end of alsaconfig is a message that the sound driver is started, but amixer for volume control is not found. I searched for it in Yast and the repositorys but I couldn’t find it.

cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

5Dex.KW1lT4wD9o2:SBx00 Azalia (Intel HDA)

alias snd-card-0 snd-hda-intel

Your ALSA information is located at http://www.alsa-project.org/db/?f=668b4f924592a4aee6712098bed9af37a6749abc

rpm -qa | grep alsa
kalsatools-1.5.0-499.110
alsa-plugins-1.0.18-6.13
alsa-utils-1.0.18-6.4
cairo-dock-alsaMixer-1.6.3.1-3.pm.20081207
alsa-plugins-pulse-1.0.18-6.13
gmerlin-alsamixer-0.4.0-0.pm.1
alsamixergui-0.9.0rc1-584.91
alsa-firmware-1.0.17-1.42
alsa-plugins-samplerate-1.0.18-6.13
alsa-oss-1.0.17-1.43
alsa-1.0.18-8.9
alsa-tools-gui-1.0.18-1.16
alsa-tools-1.0.18-1.16
alsa-plugins-jack-1.0.18-6.13
gmerlin-alsa-0.4.0-0.pm.1

/sbin/lspci -nn
00:00.0 Host bridge [0600]: ATI Technologies Inc RS480 Host Bridge [1002:5950] (rev 01)
00:02.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI-X Root Port [1002:5a34]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a37]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI)[1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 13)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
02:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8600 GT [10de:0402] (rev a1)

Here is the dmesg URL after a fresh reboot

dmesg.txt - nopaste.com (beta)