No sound with Realtek ALC889A under 11.1

Hi Suse community,
have installed 11.1 on a Gigabyte GA-MA78GM-S2H Rev. 1.1 board with on board Realtek ALC889A audio but have no sound :frowning:
The also-info output is at
http://www.alsa-project.org/db/?f=69dfba690196ff98ca089859d5d33c64f83ab3e6
Any help appreciated …
Regards
Jan-Peter

The alsa web site is down, so the paste output is not readable.

In the mean time, while waiting for the alsa web site to come back up, can you copy and paste the following, one line at a time, into a gnome-terminal or a konsole and post the output here: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Here is the info:
jpmeyer@s0001:~> rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.13
alsa-tools-1.0.18-1.16
alsa-plugins-1.0.18-6.13
alsa-1.0.18-8.9
alsa-oss-32bit-1.0.17-1.37
alsa-oss-1.0.17-1.43
alsa-utils-1.0.18-6.4
jpmeyer@s0001:~> rpm -qa | grep pulse
libpulsecore4-0.9.12-9.5
alsa-plugins-pulse-1.0.18-6.13
libxine1-pulse-1.1.15-20.8
pulseaudio-module-zeroconf-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
pulseaudio-utils-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
libpulse-mainloop-glib0-0.9.12-9.5
libpulse-browse0-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-module-jack-0.9.12-9.5
libpulse0-0.9.12-9.5
pulseaudio-module-bluetooth-0.9.12-9.5
pulseaudio-module-x11-0.9.12-9.5
jpmeyer@s0001:~> rpm -q libasound2
libasound2-1.0.18-8.9
jpmeyer@s0001:~> uname -a
Linux s0001 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux
jpmeyer@s0001:~> cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

Regards
Jan-Peter

OK, thanks for that, the alsa site is now back up. I see you have a 64-bit openSUSE-11.1 with the 2.6.27.7-9 kernel.

I note you do not have alsa-firmware installed. I do not know well the various PC audio hardware, and hence as a matter of course, when one has a problem with no sound, I tend to recommend users install alsa-firmware, in case there is a custom firmware needed. Please, can you install alsa-firmware ? And then reboot and test your sound.

I have read in the release note to an alsa update (not too long back) that the ALC889A (which is a fairly new hardware audio codec) is sometimes mistakenly identified as an ALC885/882, when in fact it is closer to that of an ALC888/883. There is no entry in the ALSA-Configuration.txt file for the ALC889A, but here is for the ALC885/882 and for the ALC888/883. So it is possible that applying a model option nominally used for an ALC885/882, or ALC888/883, might work for your ALC889A.

First, though, can you reboot, and immediately after the reboot, copy and paste the following curl command, in a gnome-terminal or kde konsole (so that I can see your dmesg output):dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/athat will post the contents of your dmesg to a paste site. Please post the URL here.

Then, I see two possible approaches, you could also try a model option (as I will describe below), or you could try an alsa update, and if the update does not work, then also try a model option. (note there are already updates to alsa, even after openSUSE-11.1 release). There is guidance here for updating alsa on openSUSE-11.1: Alsa-update - openSUSE Please read that URL carefully, as there are 6 zypper commands to send to update one’s alsa. Many users mistakenly only send 3 commands.

Reference trying to tune your /etc/modprobe.d/sound file, the model options for the ALC882/885 and ALC888/883 are:

	ALC882/885
	  3stack-dig	3-jack with SPDIF I/O
	  6stack-dig	6-jack digital with SPDIF I/O
	  arima		Arima W820Di1
	  targa		Targa T8, MSI-1049 T8
	  asus-a7j	ASUS A7J
	  asus-a7m	ASUS A7M
	  macpro	MacPro support
	  mbp3		Macbook Pro rev3
	  imac24	iMac 24'' with jack detection
	  w2jc		ASUS W2JC
	  auto		auto-config reading BIOS (default) 

and

	ALC883/888
	  3stack-dig	3-jack with SPDIF I/O
	  6stack-dig	6-jack digital with SPDIF I/O
	  3stack-6ch    3-jack 6-channel
	  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
	  6stack-dig-demo  6-jack digital for Intel demo board
	  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
	  acer-aspire	Acer Aspire 9810
	  medion	Medion Laptops
	  medion-md2	Medion MD2
	  targa-dig	Targa/MSI
	  targa-2ch-dig	Targs/MSI with 2-channel
	  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
	  lenovo-101e	Lenovo 101E
	  lenovo-nb0763	Lenovo NB0763
	  lenovo-ms7195-dig Lenovo MS7195
	  lenovo-sky	Lenovo Sky
	  haier-w66	Haier W66
	  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
	  6stack-dell	Dell machines with 6stack (Inspiron 530)
	  mitac		Mitac 8252D
	  clevo-m720	Clevo M720 laptop series
	  fujitsu-pi2515 Fujitsu AMILO Pi2515
	  3stack-6ch-intel Intel DG33* boards
	  auto		auto-config reading BIOS (default) 

So for example, one could add a line at the end of your /etc/modprobe.d/sound file such that it looks like:alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack-dig and then restart one’s PC and test the audio (note its also possible to restart alsa with root permissions with “rclasasound restart” instead of rebooting). If “3stack-dig” does not work, then replace that with another option (such as “6stack-dig” ) and restart one’s alsa and test (restart alsa either by rebooting or running “rcalsasound restart” with root permissions).

Note “3stack” typically refers to a PC with 3 Input/output audio jacks, while “6stack” typically refers to a PC with 6 Input/output audio jacks.

Good Luck!

I did install alsa-firmware as suggested, but no improvement.
The dmesg output is available at dmesg.txt - nopaste.com (beta)

I have discovered something though.
If I reboot and log on as root, it does work!!
Then I change to a different user and the following message pops up once:
>>phonon
>The audio playback device HDA ATI SB (ALC883 Analog) does not >work.
>Falling back to HDA ATI HDMI, ATI HDMI (HDMI Audio Output).

After that, sound is dead, also for root.
Note that the reference to ALC883 is indeed incorrect.
Unfortunately I can not test whether HDMI does indeed work, since I do not have a HDMI audio player.

OK, this reads like a permissions problem. So please, ASAP logout as user root. There should be no need to login as root and its not safe.

Log in as a regular user. Add your regular user to group audio. Reboot. Test your audio. There is some guidance here: SDB:AudioTroubleshooting - openSUSE - how to fix a permissions problem

HI,
I also tried the alsa update as recommended but failed at first statement:
s0001:~ # zypper ar Index of /repositories/multimedia:/audio/openSUSE_11.1
If only one argument is used, it must be a URI pointing to a .repo file.
addrepo (ar) [options] <URI> <alias>
addrepo (ar) [options] <FILE.repo>
Add a repository to the sytem. The repository can be specified by its URI or can be read from specified .repo file (even remote).

Am I missing something here? :frowning:

OK, based on that, things look good (except for your model option not being identified):

HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:3047: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0)
ALSA sound/pci/hda/hda_codec.c:3051:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3055:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3056:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3064:    inputs: mic=0x18, fmic=0x19, line=0x1a, fline=0x0, cd=0x0, aux=0x0
vendor=1022 device=9602
HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
HDA Intel 0000:01:05.1: setting latency timer to 64 

Please try some of the ALC883/888 model options, that I noted in my previous post. I tried to give detailed guidance there. If you need more guidance, just ask.

Yes, you are. You are missing the arbitrary selected label. I chose a label of “multimedia”

In making that wiki, I was limited by the syntax/behaviour of the wiki. That first line is supposed to be:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia 

you could also use

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ whataboringday 

but if you do, as the 3rd command to remove the repos (which is important) also type:

zypper rr whataboringday 

… I think you catch “the drift” now.

Currently my /etc/modprobe.d/sound file only contains the following:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
Should I just append the code you provided?

BTW I did add the user to the audio group, but still the same
issue.

Ok i did get the “drift” :wink:
Zypper update did work, but still same situation as before.
Still puzzled as how to modify /etc/modprobe.s/sound

Did you reboot after doing this? You have to logout completely as a user and log back in again with the user recently added to the audio group.

Please look at the example that I provided. Don’t forget to restart alsa (via rebooting or by running ‘rcalsasound restart’ with root permissions and test your sound) for each model option you test.

I would like to do a quality check on what you installed. Please provide the output of the following commands:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2

OK I did append both your code fragments to /etc/modbprobe.d/sound and rebooted with no further success.
Here are the requested outputs:
s0001:~ # rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.13
alsa-driver-kmp-default-1.0.18.20081221_2.6.27.7_9.1-1.1
alsa-plugins-1.0.18-6.13
alsa-oss-32bit-1.0.17-1.37
alsa-tools-1.0.18.git20081201-1.5
alsa-oss-1.0.17-1.43
alsa-utils-1.0.18.git20081122-1.7
alsa-firmware-1.0.17.git20081202-2.3
alsa-1.0.18.git20081212-1.1
s0001:~ # rpm -qa | grep pulse
libpulsecore4-0.9.12-9.5
alsa-plugins-pulse-1.0.18-6.13
libxine1-pulse-1.1.15-20.8
pulseaudio-module-zeroconf-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
pulseaudio-utils-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
libpulse-mainloop-glib0-0.9.12-9.5
libpulse-browse0-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-module-jack-0.9.12-9.5
libpulse0-0.9.12-9.5
pulseaudio-module-bluetooth-0.9.12-9.5
pulseaudio-module-x11-0.9.12-9.5
s0001:~ # rpm -q libasound2
libasound2-1.0.18.git20081212-1.1
s0001:~ #

I tried to provide a generic “zypper install” command to update alsa, but in truth everyone has different alsa apps installed, for an assortment of reasons. So you could also update the other alsa apps you have installed to the “git” version, … ie alsa-plugins-pulse, alsa-plugins, alsa-oss.

Reboot after that. Then please provide the output of this curl command to give your dmesg content:dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/aThat will upload your dmesg content to a web/paste site. Please post the URL here.

Please also run again the script:/usr/sbin/alsa-info.shand post here the output URL.

Did you try EVERY model option in the table (from the ALSA-Configuration.txt file) that I provided ?

Also, what are you doing for a sound test? I recommend the following (copy and paste this in a terminal):speaker-test -c2 -l5 -twav You should hear a ladies voice say “Front right”, “Front left” five times.

More Info:
It appears, that the additions to modprobe.d/sound did not go too well. I find in /var/log/boot.msg;

Starting java.binfmt_misc WARNING: /etc/modprobe.d/sound line 4: ignoring bad line starting with ‘ALC882/885’
WARNING: /etc/modprobe.d/sound line 5: ignoring bad line starting with ‘3stack-dig’
WARNING: /etc/modprobe.d/sound line 6: ignoring bad line starting with ‘6stack-dig’
WARNING: /etc/modprobe.d/sound line 7: ignoring bad line starting with ‘arima’
WARNING: /etc/modprobe.d/sound line 8: ignoring bad line starting with ‘targa’
WARNING: /etc/modprobe.d/sound line 9: ignoring bad line starting with ‘asus-a7j’
WARNING: /etc/modprobe.d/sound line 10: ignoring bad line starting with ‘asus-a7m’
WARNING: /etc/modprobe.d/sound line 11: ignoring bad line starting with ‘macpro’

My /etc/modprobe.d/sound file now looks like

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

ALC882/885
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
arima Arima W820Di1
targa Targa T8, MSI-1049 T8
asus-a7j ASUS A7J
asus-a7m ASUS A7M
macpro MacPro support
mbp3 Macbook Pro rev3
imac24 iMac 24’’ with jack detection
w2jc ASUS W2JC
auto auto-config reading BIOS (default)

ALC883/888
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targs/MSI with 2-channel
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
3stack-6ch-intel Intel DG33* boards
auto auto-config reading BIOS (default)

I have also made some progress though.
I created a new regular user (member of group audio) and sound does work with that user. The user, that has the problem, was the user I created during system installation.
So I may just save all data of the initial user, drop that
user and recreate it …

ahh… :slight_smile: :slight_smile: thats not the way to make the file. You can only apply one model option at a time. Not all at once. and you do not apply the entire line. Just the option (and not its description).

< sigh > I gave you an example above. For 3stack-dig, you would use:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack-dig 

then restart alsa to test your sound. if that does not work, you REPLACE (not add !! ) “3stack-dig” with another option.

This is very strange. But its nice to read of some progress.

I went ahead and dropped the user, recreating it again with the
same id.
Now everything works just fine. I guess we are not meant to understand everything …
Thanx for your support!
J.-P.