No sound on "HP probook 4310s" - I am desperate

Hi, I am trying to fix sound problem on my friend’s HP probook 4310s. I installed her os 11.1 x64 (with KDE4). Sound card looks configured, but sound is not working.

I followed this and this guides, but I am unable to fix it. I am stucked in selecting proper module for her sound card :(.

Here is her alsa-info

alsa related packages(full list):

martin@siren:~/Desktop/download>grep alsa baliky.txt
alsa-plugins-1.0.18-6.13
alsa-utils-1.0.18-6.4
alsa-oss-32bit-1.0.17-1.37
alsa-firmware-1.0.17-1.51
alsa-plugins-pulse-1.0.18-6.13
alsa-1.0.18-8.12.1
alsa-oss-1.0.17-1.43

/etc/modprobe.d/sound is IMHO weird

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

speaker-test:

bea@linux-q2po:~> su
Password:
linux-q2po:/home/bea # speaker-test -Dplug:front -c2 -l5 -twav


speaker-test 1.0.18

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 262144
Period size range from 32 to 131072
Using max buffer size 262144
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

Thanks for help.

You can try if this can help → No sound on HP dv6-1053cl - openSUSE Forums

Thanks a lot!

I add

options snd-hda-intel enable_msi=1 model=hp-m4
options snd slots=snd-hda-intel
# u1Nb.SXH0RzeuC39:82801I (ICH9 Family) HD Audio Controller

to her /etc/modprobe.d/sound and it works.
Thanks again :wink:

Great, thanks to oldcpu :slight_smile:

Hi again.

Unfortunately, this problem is not fully solved yet. She wrote me, that sound works only on headphones. She didn’t try it without headphones, because her roommates already slept. When she unplug it, notebook is silent.

She is sure, that every slider in kmix is on maximum… :frowning:

I do also face the problem in the sensethat when I plug in my speakers to the laptop the sound comes out from both laptop speakers and plugged in speakers…
Are the headphones by any chance USB ones??

No they are “classical” with jack.

Ok. Just try running “alsaconf” as root without those headphones. Take backup of your /etc/modprobe.d/sound before running alsaconf. After alsaconf completes start kmix or alsamixergui, hit the sound levels to maximum. If there is still no sound, add those two lines again to the newly created /etc/modprobe.d/sound and reboot.

I am not an expert myself, just telling you things which I have tried on my HP dv6 to make sound work…

Assuming no sound from speakers, can you provide more very detailed information so a good recommendation can be given? For openSUSE-11.1, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole and twice copy and paste the following into that terminal/konsole

/usr/sbin/alsa-info.sh

Run it the 1st time with root permissions. It will ask if you wish to do an update of the script. Select YES.

Then run it again (as either a regular user or as root). This time it will diagnose your PC’s hardware and software configuration for audio, and it will post its output on the Internet/web. It will give you the URL of the web site. Please post that URL here. JUST the URL.

Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound… with that information I may be able to make a recommendation.

Also, do NOT waste too much time on this. Simply post on our forum if you get stumped, and continue to look for help that way.

alsa-info.sh


linux-q2po:/home/bea # rpm -qa | grep alsa
alsa-plugins-1.0.18-6.13 
alsa-utils-1.0.18-6.4 
alsa-oss-32bit-1.0.17-1.37
alsa-firmware-1.0.17-1.51
alsa-plugins-pulse-1.0.18-6.13
alsa-1.0.18-8.12.1
alsa-oss-1.0.17-1.43


linux-q2po:/home/bea # rpm -qa | grep pulse
pulseaudio-lang-0.9.14-2.2.1
pulseaudio-0.9.14-2.2.1
pulseaudio-module-jack-0.9.14-2.2.1
libxine1-pulse-1.1.16.3-2.pm.5.2
libpulse-browse0-0.9.14-2.2.1
pulseaudio-esound-compat-0.9.14-2.2.1
pulseaudio-module-lirc-0.9.14-2.2.1
alsa-plugins-pulse-1.0.18-6.13
libpulse0-0.9.14-2.2.1
pulseaudio-module-x11-0.9.14-2.2.1
pulseaudio-module-bluetooth-0.9.14-2.2.1
pulseaudio-utils-0.9.14-2.2.1
pulseaudio-module-zeroconf-0.9.14-2.2.1
libpulse-mainloop-glib0-0.9.14-2.2.1
linux-q2po:/home/bea # rpm -q libsound2
package libsound2 is not installed
linux-q2po:/home/bea # rpm -q libasound2
libasound2-1.0.18-8.12.1


linux-q2po:/home/bea # uname -a
Linux linux-q2po 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux

linux-q2po:/home/bea # cat /etc/modprobe.d/sound
options snd-hda-intel enable_msi=1 model=hp-m4
options snd slots=snd-hda-intel
# u1Nb.SXH0RzeuC39:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

when i add first three lines, sound from headphones began to work

Ok, from that I can see a 64-bit openSUSE-11.1 with the latest (for 11.1) 2.6.27.29 kernel and an AD1984A hardware audio codec.

The mixer settings look ok.

I confess not remembering recommending the setting

options snd-hda-intel enable_msi=1 model=hp-m4

for an HP Probook 4310s, but thats possibly my horrific memory. :slight_smile:

When I search for the AD1984A, I find the following, none of which are have the model option hp-m4:

	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

The option “hp-m4” is for the STAC92HD71B* hardware audio codec which your PC does not have. So thats likely the wrong hardware codec.

So, I’m a bit surprised sound does not work out of the speakers without a model option applied, and I’m also thinking you have the wrong model option assigned in the /etc/modprobe.d/sound file. Try this instead:

options snd-hda-intel enable_msi=1 model=laptop
options snd slots=snd-hda-intel
# u1Nb.SXH0RzeuC39:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

restart the PC and test the sound. You may or may not have to remove the “enable_msi=1” setting.

And if that does not work, try:

options snd-hda-intel enable_msi=1 model=mobile
options snd slots=snd-hda-intel
# u1Nb.SXH0RzeuC39:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

Again, restart the PC and test the sound. You may or may not have to remove the “enable_msi=1” setting.

I also did do a search of the AD1984A on the alsa web site, noting this: Search results - AlsaProject - AD1984A and as you can see there are some updates in 1.0.19 and 1.0.20 of alsa to the AD1984A which may address such a problem (and that is speculation on my part).

Its also possible the update from the “stock” 2.6.27.9 kernel to the 2.6.27.29 kernel broke the speaker functionality.

So if none of the above edits to the /etc/modprobe.d/sound file worked, then remove all the edits, and update alsa as per the guidance on this site: Alsa-update - openSUSE which is a lot easier than it looks. Basically it means, open a konsole/terminal, type “su” (no quotes - enter root password) to get root permissions, and then copy and paste the following six zypper commands in sequence, one at a time (and don’t miss one) to update the alsa user space to version 1.0.21 of alsa:

zypper ar http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.1/ multimedia
zypper install alsa alsa-docs 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

Restart the PC and test the sound. Note you need to be mindful as to what is in the /etc/modprobe.d/sound file, as the wrong entry there will cause audio not to function.

And if that does not work, keep the above, and try the daily snapshot versions with:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/snapshot/openSUSE_11.1/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse 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

Its possible when sending the 2nd and 5th command you will be told it is already updated. Send that command and following commands anyway. Then restart, and test the sound.

Again, be mindful as to what is in the /etc/modprobe.d/sound file, as that can break your PC’s audio.

Note, it may be necessary to run “alsaconf” as root if your /etc/modprobe.d/sound file gets totally messed up, as that will rewrite the file from scratch.

Hello,

it looks like winner is

options snd-hda-intel model=mobile
options snd slots=snd-hda-intel
# u1Nb.SXH0RzeuC39:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

with model=laptop

sound works both on speaker and on headphones but with lot of noise

thanks guys, I admire you :wink: