HP6530s internal speaker doesn't work :(

Hi all ^^.

I have a HP Compaq 6530s and I’ve just installed openSUSE 11.1 KDE on it. Almost thing are so good. But I still have some problems.

First, my laptop speaker doesn’t work. When I play music with my external speakers, there’s no trouble, the sound is good. But when I unplug the audio jack, there’s no sound.

Any ideas?
Thanks for read.

KDE-4.1.3 or KDE-3.5.10 ?

I am not familiar with the Compaq 6530s, but often there is commonality between the hardware audio codecs of different laptops.

Can you run a script and some commands for me to provide more information (such that I can make a recommendation)? With your PC connected to the internet copy and paste the following into a konsole:

/usr/sbin/alsa-info.sh

When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following into 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

Finally, are you using KDE-3.5.10 ? KDE-4.1.3 ?

Based on that data, I may be able to provide a recommendation.

Thanks for help. And these are my informations:

  1. I use KDE4.1.3, install from the OpenSUSE11.1-KDE4-LiveCD.
  2. My Alsa information: http://www.alsa-project.org/db/?f=83114ee24719995f98dcd55e00534030a74a0c33
  3. Other informations:

linux-ogso:~ # rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
alsa-plugins-pulse-1.0.18-6.12
alsa-plugins-1.0.18-6.12
java-1_6_0-sun-alsa-1.6.0.u7-20.2
alsa-firmware-1.0.17-1.42
alsa-oss-1.0.17-1.37
alsa-1.0.18-8.7
linux-ogso:~ # rpm -qa | grep pulse
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-jack-0.9.12-9.6
libpulse0-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-lirc-0.9.12-9.6
pulseaudio-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-module-x11-0.9.12-9.6
linux-ogso:~ # rpm -q libasound2
libasound2-1.0.18-8.7
linux-ogso:~ # uname -a
Linux linux-ogso 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
linux-ogso:~ # cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.7QYdUBKDIu0:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

Thanks. I see your PC has an AD1984a.

First thing I looked at is your mixer:
!!-------Mixer controls for card 0 [Intel]

Card hw:0 ‘Intel’/‘HDA Intel at 0x98900000 irq 17’
Mixer name : ‘Analog Devices AD1984A’
Simple mixer control ‘PCM’,0
Front Left: Playback 10 32%] -19.50dB] [on]
Front Right: Playback 10 32%] -19.50dB] [on]
Simple mixer control ‘Line Boost’,0
Front Left: 0 0%]
Front Right: 0 0%]
Simple mixer control ‘IEC958’,0
Front Left: Playback 39 [100%] [0.00dB] on]
Front Right: Playback 39 [100%] [0.00dB] on]
Simple mixer control ‘IEC958 Playback Source’,0
Capabilities: enum
Items: ‘PCM’ ‘ADC’
Item0: ‘PCM

  1. I note your PCM volume is at 32%. Does increasing that to say 80 to 90% provide any volume? After testing, be certain to move PCM back to 65% or so.
  2. I note you have Line Boost to 0%. My memory is gone today (partying too much last night). I can’t remember if that is for mic or for speaker. I take it moving that up to 70% or so makes no difference.
  3. You have digital audio switched ON. (ie IEC958 = ON). What happens when you switch that OFF ? Some PCs require that off for audio to work out of internal speakers (and some the opposite).
  4. You have “PCM” selected. That looks logical to me. Out of curiousity, does changing that to “ADC” make any difference? (If not, put it back to PCM).

Now, if that does not help, you could consider an edit to your /etc/modprobe.d/sound file, to try force your PC to recognize your specific audio hardware (in case that was missed by the autoconfig routines).

I note the ALSA-Configuration.txt file for 1.0.18a of alsa has this for the AD1984A:


	AD1884A / AD1883 / AD1984A / AD1984B
	  desktop	3-stack desktop (default)
	  laptop	laptop with HP jack sensing
	  mobile	mobile devices with HP jack sensing
	  thinkpad	Lenovo Thinkpad X300 

So lets try those codes (one at a time) in your laptop.

Please, add a line to your /etc/modprobe.d/sound file such that it now looks like this:
options snd slots=snd-hda-intel

u1Nb.7QYdUBKDIu0:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=laptop
and then restart alsa sound drive by typing su -c ‘rcalsasound restart’ #enter root password when prompted for a password, and then test your sound. Note you may need to restart your mixer.

If that does not work, then change “laptop” to “mobile” and try again (restart alsa sound driver, start mixer and test). If “mobile” does not work then try “thinkpad” … etc … I think you get the idea.

If that does not work, then we will need to look at an update to alsa (yes, there are ALREADY updates to 11.1’s alsa. … The Novell/SuSE-GmbH/openSUSE alsa/sound support staff are hard at work ).

I’ve just modified the /etc/modprobe.d/sound to this:

options snd-hda-intel model=laptop

All are okay now. Thank you very much, oldcpu ^^.

P/S: I love OpenSUSE forum :P.

Congratulations on getting your HP Compaq 6530s sound to work. Thankyou for sharing your solution.