Sound on HDA Intel ALC889 Analog

Hi,

Sound has not worked right on my Acer Apire 8930G since version openSUSE 12.2. I was hopeful it would have been fixed in openSUSE 12.3, but nope…still the same. The laptop has a 5.1 speaker setup. However, sound comes out of the rear left and the sub-woofer. The speaker test (on both the control panel and speaker-test) produces sound from these 2 speakers but identifies it as Front left (when it is rear left) and Front right (when it is actually the sub-woofer).

Is there some one who can help me with this? I have already run all the suggestions listed at https://en.opensuse.org/SDB:Intel-HDA_sound_problems I have also set the model to acer-aspire-8930g and even tried setting position_fix to different values - either i have no sound or this messed up sound :frowning:

Any help would be appreciated.

Thanks!

I have not looked at any surround sound aspects since 2009. My surround system (on openSUSE-12.1) still works: https://forums.opensuse.org/english/get-technical-help-here/hardware/413656-exploring-surround-sound-linux.html I have not tried it yet in 12.3 (which I have on a test partition) so I’ll boot to it sometime this weekend and see how it works. Have you tried any of those surround sound commands I posted about in my 4 year old thread that I noted above ?

Out of curiousity, what is the output URL given when with your PC connected to the internet you run the diagnostic script:


/usr/sbin/alsa-info.sh

and select the upload/share option and after the script has fully completed, copy the website/URL that it gives you to share and post it here.

I should add, don’t forget to try a command something like:


speaker-test -c6 -Dplug:surround51 -t wav -l1

… also don’t forget to install pavucontrol application and ensure you have the correct configuration selected in pulse audio.

For a different item I decided to check my PC’s bios setting, so I rebooted. I selected my 12.3 test partition during the roboot, and tested my surround sound (on a KDE system). It works the same as my 12.1.

Also you can try the test command


speaker-test -c6 -l5 -twav

Hi oldcpu,

Sorry i took so long to post my response.

I ran also-info.sh and my output is at http://www.alsa-project.org/db/?f=b5855b80750462e1ef345ccec2356b49dc95a0f7

When i run speaker-test -c6 -Dplug:surround51 -t wav -l1, i get a segmentation fault!

speaker-test -c6 -Dplug:surround51 -t wav -l1

speaker-test 1.0.26

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 22 to 87381
Period size range from 11 to 43690
Using max buffer size 87380
Periods = 4
was set period_size = 21845
was set buffer_size = 87380
Segmentation fault

When I run speaker-test -c6 -l5 -twav, this is what i get

speaker-test -c6 -l5 -twav

speaker-test 1.0.26

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 349525
Period size range from 10 to 116509
Using max buffer size 349524
Periods = 4
was set period_size = 87381
was set buffer_size = 349524
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE

I hear sound for all the channels except LFE. However, this is how it is - most sounds from all speakers :frowning:
Front left - ‘Front left’ is heard from Rear left and Front left
Front Center - ‘Front Center’ is heard from Rear Right and Front Center
Front Right - ‘Front Right’ is heard from the Sub Woofer (Tuba in this case)
Rear Right - ‘Rear Right’ is heard from Front Right but it is barely audible
Rear Left - ‘Rear Left’ is heard from Front Left but is barely audible

I noticed in the also output that the output is shown as Mono. Should it not be Stereo? There is definitely something wrong here. I have also tried changing the model in options and the index and turning on enable_msi. Some of them does not produce any sound and some do but none in the right channels.

I do hope i can get this to work. The only way i can have 5.1 is in my Windows and i dont want to go there.

Why does my reply have an angry emoticon in it???!!! I did not put it there~

I would have thought that setting the model to acer-aspire-8930g would have worked. I note this:


   14.431318] ALSA patch_realtek.c:1304 realtek: No valid SSID, checking pincfg 0x4016852d for NID 0x1d
   14.431321] ALSA patch_realtek.c:1320 realtek: Enabling init ASM_ID=0x852d CODEC_ID=10ec0889

which suggests it may need model to acer-aspire-8930g .

There is no reference in http://www.alsa-project.org/db/?f=b5855b80750462e1ef345ccec2356b49dc95a0f7 to the acer-aspire-8930g being set. What you provided instead was alsa-info.sh without that model option being set. Is it possible that after having set it, you had another misconfiguration, and gave up too soon with that setting in place ?

You could also check out this thread, although some of the posts here are 10 years old - makes me think this is not a young laptop: Acer Aspire 6935G [Linux Laptop Wiki]

For example, I note a 2011 thread from a user:

So i downloaded the sourecode for the hda-verb program from

ftp://ftp.suse.com/pub/people/tiwai/misc/hda-verb-0.3.tar.gz

Unpacked it and compiled it. And then tested it by just running the command:

./hda-verb /dev/snd/hwC0D0 0×15 SET_EAPD_BTLENABLE 2

And it worked. So I copied the hda-verb program to

/usr/local/bin

and edited /etc/rc.local by inserting the line

/usr/local/bin/hda-verb /dev/snd/hwC0D0 0×15 SET_EAPD_BTLENABLE 2

to the end of /etc/rc.local.before the exit 0 line. And now my sound works as it should.

although having typed the above, there is a newer hda-verb version 0.4: https://aur.archlinux.org/packages/hda-verb/

I can’t say I fully understand that quote, but it appears the user wants to send hda-verb commands to HD-Audio codecs to help the sound work better.

As opposed to hacking with hda-verb you may be better off writing a bug report on openSUSE which will obtain the attention of the SuSE-GmbH sound packager, who is also an alsa sound driver developer. There is guidance here: openSUSE:Submitting bug reports - openSUSE Wiki and you can user your openSUSE forum username and password when logging on to Bugzilla.

Hi oldcpu,

I did try the model option, it still did not help me.

Here’s the also-info output with the model set

http://www.alsa-project.org/db/?f=83678a06bd03818ed55d40674cd315453af74cee

I tried building hda-verb but i dont think i know what to set there … :frowning:

Anyways, i have filed a bug (https://bugzilla.novell.com/show_bug.cgi?id=812443) Maybe i will finally get a resolution!

Thanks.

You can find a version of hda-verb already packaged for openSUSE in this repository


http://download.opensuse.org/repositories/home:/tiwai/openSUSE_12.3/

actually, looking at the username associated with that repository, and that could be the home repository of one of the SuSE-GmbH sound packagers (and alsa developer).

As to what setting to apply, I have no idea, although I did quote a setting applied by someone else. You could try that and then remove if it does not work.