Dell Inspiron 15 (Intel HDA) - Internal speakers don't work

Hello,

I installed OpenSUSE 11.1 KDE 4.1.3 and updated to KDE 4.2.
Everything works except for the sound. Playback with external speakers works fine, but I don’t get any sound from the internal speakers (Didn’t work before the KDE 4.2 updated either).
I unmuted all channels in alsamixer and turned their volume up.
I tried “laptop” and “mobile” from this solution: HP6530s

Here’s some more information about my hardware and ALSA:

/usr/sbin/alsa-info.sh

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

lena@linux-4jc2:~> rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.12
alsa-plugins-1.0.18-6.12
alsa-utils-1.0.18-6.4
alsa-oss-1.0.17-1.37
alsa-1.0.18-8.7
lena@linux-4jc2:~> rpm -qa | grep pulse
libpulse0-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
libpulsecore4-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-jack-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-zeroconf-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-module-lirc-0.9.12-9.6
pulseaudio-0.9.12-9.6
lena@linux-4jc2:~> rpm -q libasound2
libasound2-1.0.18-8.7
lena@linux-4jc2:~> uname -a
Linux linux-4jc2 2.6.27.19-3.2-pae #1 SMP 2009-02-25 15:40:44 +0100 i686 i686 i386 GNU/Linux
lena@linux-4jc2:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel
# u1Nb.NSQVSWdGjjE:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
lena@linux-4jc2:~>

I have the following Alsamixer-Channels:


Master 100%
Headphones 100%
PCM 100%
IEC958 00
IEC958 Default PCM 00
Analog Loopback 00
Analog Loopback 2 00
PC Beep 00 0%

“00” means unmuted, channels without % have no volume bar.

System settings shows the following sound devices with Gstreamer:

HDA Intel (STAC92xx Analog)
default
default: CARD=0
hw:0,0
hw:0,1

If I can’t fix this problem my girlfried might have to switch back to the preinstalled Windows Vista, so please help :wink:

Thanks in advance,
FrankUndFrei

Unfortunately, edit’s to one’s /etc/modprobe.d/sound file are not that simple, and one can not blindly apply someone else’s solution that was used on different hardware. And your hardware is different from the thread you link. Your PC (Dell Inspiron 15) appears to have an IDT 92HD71B7X. The one in the thread has an AD1984A on an HP6530. Those are different!

Also, you mention you tried “laptop” and “mobile”, yet the script indicates you are try “model=desktop” !! :rolleyes: That was just to see if I was awake, me thinks. rotfl!

I’ll take a few minutes and look at this, and post back.

I’m surprised you did this well. Congratulations on the progress you made thus far !

I see from the script your Dell Inspiron 15 laptop has a codec: IDT 92HD71B7X (which is pretty much standard amongst the HP DV5’s that I’ve read about on this forum).

You could try the model options here from the HD-Audio-Model.txt file from 1.0.19 of alsa (the options for 1.0.18 of alsa are similar):

STAC92HD71B*
============
  ref		Reference board
  dell-m4-1	Dell desktops
  dell-m4-2	Dell desktops
  dell-m4-3	Dell desktops
  hp-m4		HP dv laptops

ie if you were to try “dell-m4-1”, change your /etc/modprobe.d/sound file to:

options snd slots=snd-hda-intel
options snd-hda-intel model=dell-m4-1
# u1Nb.NSQVSWdGjjE:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

and restart the alsa driver with su -c ‘rcalsasound restart’ and enter root password when prompted and restart the mixer and test the sound. If “dell-m4-1” does not work then replace “dell-m4-1” with “dell-m4-2” in the /etc/modprobe.d/sound file, restart alsa and restart the mixer and try again. Try each model option.

Now that might not work, as its possible your alsa needs to be updated.

To update the alsa version, then when with the PC connected to the internet copy, open a gnome terminal or kde konsole, type “su” (no quotes - enter root password) to get root permissions, and copy and paste the following six zypper commands, in sequence and execute them one at a time (these commands update your alsa version to the latest cutting edge version):

 zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia 
zypper install alsa alsa-utils alsa-plugins-pulse alsa-plugins alsa-oss alsa-tools alsa-firmware libasound2 
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-default 
 zypper rr multimedia

and restart your PC, and test your sound. Move your volume controls in your mixer (both PCM and master) up to about 95%. After you get basic sound you can back off those to reduce the distortion. Still, I suspect it will not work yet, until the next measure is put in place.

For that case (where sound still does not work), please edit your /etc/modprobe.d/sound file as I described above, trying the different model options.

You’re right, I thought that these commands working for all laptop or mobile devices with built-in speakers. Just read that they are hardware specific… Not very clever, I know… :wink:
Tried “model=desktop”. Didn’t work.
Are there some other model-options because I can’t find IDT 92HD71B7X in the ALSA-Configuration.txt?
I installed alsa-firmware now, by the way.

And in case it helps: I don’t get any errors if i play an ogg-file with Amarok, it just plays the file, but i can’t here anything.

It looks like we posted at the same time.

The model options are listed here:

STAC92HD71B*
============
  ref		Reference board
  dell-m4-1	Dell desktops
  dell-m4-2	Dell desktops
  dell-m4-3	Dell desktops
  hp-m4		HP dv laptops

I tried the different models, without success. But I get a noise everytime I restart the sound, it’s like when pluging in speakers.

I updated ALSA now. I have to boot openSUSE 11.1 - 2.6.27.19-3.2 (pae), right? Or …(default)?

Edit: Tried all the modell-options in pae. Still no sound. Kmix doesn’t start by default anymore and a dialog asks me if i want to forget about HDA Intel (STAC92xx Analog) HDA Intel (STAC92xx Analog)
(listed twice).

Can’t edit my previous post any longer, so sorry for the double post.

Kmix does start automatically but is shut down when I restart the sound, so I think that’s the intended behaviour.

I noticed that I get far more Options in Kmix/Alsamixer with model=ref:
Master
Headphone
PCM
IEC958
IEC958 Default PCM
Analog Loopback
Analog Loopback 2
and the following Drop-Down-Menues:
IEC958 Playback Source (Digital Playback/Analog Mux1/Analog Mux2)
IEC958 Playback Source 2 (Digital Playback/Analog Mux1/Analog Mux2)
Mono Mux (DAC0/DAC1/Mixer)
Digital Input Source (Analog Input/Mixer/Digital Mic 1/Digital Mic 2)
Digital Input Source 2(Analog Input/Mixer/Digital Mic 1/Digital Mic 2)

But I have no clue which options to chose to get the internal speakers working.

Argh, triple post:\

A first sucess! I just tried a Ubuntu 7.10 Live-CD and the internal speakers worked out of the box.
I could install (K)ubuntu, however my girlfriend wants KDE and the KDE-Integration in Kubuntu is not that good…

What can I do to find the information to get the sound in openSUSE working from the Ubuntu Live-CD?
There is no /etc/modprobe.d/sound file, alsa-info.sh doesn’t exist either.
Hm, alsamixer only shows the master volume bar and PulseAudio is used.

Can you post what alsa rpms you installed. I would like to do a check on that. Type:
rpm -qa | grep alsa
and post the output

No worries. … The alsa-info.sh script only became part of alsa with 1.0.17 of alsa. Its possible Ubuntu 7.10 has an older alsa.

But if Ubuntu 7.01 Live CD has wget, then what you can do is run the following 3 lines in a gnome terminal or kdekonsole when you boot the ubuntu live CD (each of which will give you a URL) and assuming it gives internet connectivity:

dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a
 wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh
amixer > amixer.txt && curl -F file=@amixer.txt nopaste.com/a

Its possible we only need the alsa-info.sh output, but one never knows, so I have suggested three …

If the Ubuntu has no internet, then there is another way (but I can pass that only if that is the case).

In all 3 cases, copy the URL to a text file (or put it somewhere that you can retrieve after you shut down Ubuntu).

Neither do I. But I can look at what you get, if you run the diagnostic script again, or if you run the amixer command, or both:

 wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh
amixer > amixer.txt && curl -F file=@amixer.txt nopaste.com/a

And just post the URLs and maybe a short one sentence description with each, as to what where the OS, Version, config files, circumstances, audio internal speaker characterics at the time, under which you obtained the URLs.

Good luck! … and I hope that makes sence. :slight_smile:

I’m going to test rpm -qa | grep alsa later, when I boot openSUSE again.

Here’s the outpot of the three commands you gave me from Ubuntu:
dmesg.txt - nopaste.com (beta)
http://www.alsa-project.org/db/?f=34bd00657264afdbb0349d3759e8c208b8cf86f1
amixer.txt - nopaste.com (beta)

And I forgot it is 2009 already… I use Ubuntu 8.10, not 7.10.

Here is the output of openSUSE:

lena@linux-4jc2:~> rpm -qa | grep alsa
alsa-1.0.19.git20090224-1.1
alsa-plugins-1.0.19.git20090224-1.3
alsa-driver-unstable-kmp-default-1.0.19.20090227_2.6.27.19_3.2-2.1
alsa-plugins-pulse-1.0.19.git20090224-1.3
alsa-utils-1.0.19.git20090221-1.2
alsa-oss-1.0.17.git20080715-2.21
alsa-tools-1.0.19.git20090120-1.12
alsa-driver-kmp-default-1.0.19.20090301_2.6.27.19_3.2-1.1
alsa-firmware-1.0.19.git20090120-1.1

 wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

http://www.alsa-project.org/db/?f=1b52d0ca9257e780302e9df3323ccfea4d47a225

amixer > amixer.txt && curl -F file=@amixer.txt nopaste.com/a

amixer.txt - nopaste.com (beta)

All the commands were run with

options snd-hda-intel model=ref

And here without model-config:
http://www.alsa-project.org/db/?f=d639ca251b18cede520264f4e4fd425b99697ccb
amixer.txt - nopaste.com (beta)

Do you need more information?

OK, I see a problem there highlighted in red. It looks like I screwed up in my earlier advice. My apologies.

I’m surprised you were able to install alsa-driver-unstable-kmp-default and alsa-driver-unstable-kmp-default. According to the script output, you have a pae kernel (clearly I was thinking you had a default kernel). I’m getting my user support threads mixed up. < sigh > …

Hence you need to remove alsa-driver-kmp-default and remove alsa-driver-unstable-kmp-default and install ONLY alsa-driver-kmp-pae from this web site (grab the 32-bit i586 version):
Index of /repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update
Do NOT install alsa-driver-unstable-kmp-pae.

Then restart your PC and test.

Yeah, it works now!
Thanks a lot for your help. :slight_smile:

I don’t even have to add a model-option. Kmix automatically set “Mixer” for the “Digital Input Source” dropdown that appeared after the upgrade.

The ALSA packages now look like this:

lena@linux-4jc2:~> rpm -qa | grep alsa
alsa-1.0.19.git20090224-1.1
alsa-plugins-1.0.19.git20090224-1.3
alsa-plugins-pulse-1.0.19.git20090224-1.3
alsa-utils-1.0.19.git20090221-1.2
alsa-oss-1.0.17.git20080715-2.21
alsa-driver-kmp-pae-1.0.19.20090301_2.6.27.19_3.2-1.1
alsa-tools-1.0.19.git20090120-1.12
alsa-firmware-1.0.19.git20090120-1.1

Great! Glad to read its working now.

Apologies again for my mistake.

The tip in this thread also worked for a Dell Latitude E6400
I am running 11.1 64-bit version, and had the same problem before upgrading the alsa support.

Thanks alot for the info :slight_smile: