No sound and low display resolution on HP DV5

I can’t hear any sound on my HP DV5-1054TX. This is on OpenSUSE 11.1, installed with the KDE LiveCD. The soundcard, Intel 82801I (ICH9), seems to be detected, just can’t get any sound from it.

Also, after installing the nVidia driver for the 9600M GT, the highest resolution i can select is 800x600. Before i was able to get the full 1280x800.

  • zadatak wrote, On 02/09/2009 06:16 AM:
    > I can’t hear any sound on my HP DV5-1054TX. This is on OpenSUSE 11.1,
    > installed with the KDE LiveCD. The soundcard, Intel 82801I (ICH9), seems
    > to be detected, just can’t get any sound from it.

Open the mixer application and double check there’s no relevant channel muted.

> Also, after installing the nVidia driver for the 9600M GT, the highest
> resolution i can select is 800x600. Before i was able to get the full
> 1280x800.

Check your /var/log/Xorg.0.log and see if the correct xorg.conf is being used. I have a similar issue on my desktop machine where it insited on loading the xorg.conf.install all the time

Uwe

My experience is the HP DV5 needs the latest alsa version, and an edit to the /etc/modprobe.d/sound file.

Still, to determine if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times.

If you have no sound, then I will need more information if I am to make a recommendation … So can you provide more very detailed information so a good recommendation can be given? You can do that, with your PC connected to the internet, by opening a gnome-terminal or a kde konsole and typing with root permissions:
/usr/sbin/alsa-info.sh
that will run a diagnostic script and post the output to a web site on the Internet. It will give you the URL of the web site. Please post that URL here. Just the URL. It may be that you need to run that script twice with root permissions, the first time to update the script, and the second time to get 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/soundI also need that output. Hopefully with that I can make a good recommendation.

Nope, nothing muted in KMix

Umm, i see:

(==) Using config file: "/etc/X11/xorg.conf"

dunno if thats the right file or not.

URL from alsa script: http://www.alsa-project.org/db/?f=99f3af5fbede5a197ddcf92c18cd096f4e0566e4

***@***:~> rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
alsa-plugins-pulse-1.0.18-6.12
alsa-firmware-1.0.17-1.42
alsa-oss-1.0.17-1.37
alsa-plugins-1.0.18-6.12
alsa-1.0.18-8.7
***@***:~> 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

***@***:~> rpm -q libasound2
libasound2-1.0.18-8.7
***@***:~> uname -a
Linux linux-s2pn 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 i686i386 GNU/Linux
***@***:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel
# u1Nb.uI7Vp9nVK5B:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

Thanks for that.

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

To get the HP DV-5 to work, please with your 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/ 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, such that it now looks like this:

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

and again, restart your PC, and test your sound. Again, PCM/master volume to 95% until basic sound established.

I have found this works for other HP DV5 users (of a slightly different model) so I’m hoping it will work for yours.

On 02/09/2009 zadatak wrote:
> Code: -------------------- (==) Using config file:
> “/etc/X11/xorg.conf” -------------------- dunno if thats the right
> file or not.

Yes, it is.
What if you try sax2 from Yast to reconfigure the video setup?

If it doesn’t help, please post the content of your xorg.conf file.

Uwe

Yeah, that fixed it. Thanks a lot.

And oldcpu, I did everything you told me, including editing /etc/modprobe.d/sound, and still no sound :frowning:

At risk of asking (checking) the obvious - Are the hardware volume controls on laptop turned up? Have you tried listening via headphone socket if possible?

The only hardware volume controls i have are touch button things above the keyboard that seem to control the volume in the software. These work perfectly, but i still have no sound.
And i just tried headphones and i get nothing from either of the 2 headphone ports i have (and nothing from the microphone port either, for that matter)

OK, then I need you to give me some more information so that I can do a quality check :slight_smile:

Again, as before, to determine if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times.

Don’t forget to jack your volume controls right up to 95% to 100% for this test. The HP DV5 is notrious (with alsa driver) not to have a linear sound range, but rather sound only in the upper regions of the volume control.

Assuming you have no sound (like you reported), with your PC connected to the internet, please opening a gnome-terminal or a kde konsole and typing with root permissions:
/usr/sbin/alsa-info.sh
that will run a diagnostic script and post the output to a web site on the Internet. 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/soundI also need that output to confirm you updated successfully.

There are othe rmodel options that we can apply instead of “hp-m4”, but I want to check what you have in place first (after that update), before making any more recommendations.

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


***@***:~> rpm -qa | grep alsa
alsa-oss-1.0.17.git20080715-2.17    
alsa-tools-1.0.19.git20090120-1.8   
alsa-driver-kmp-default-1.0.19.20090207_2.6.27.7_9.1-1.1
alsa-firmware-1.0.19.git20090120-1.1                    
alsa-plugins-1.0.19.git20090123-1.5                     
alsa-1.0.19.git20090203-1.1                             
alsa-utils-1.0.19.git20090206-1.1                       
alsa-plugins-pulse-1.0.19.git20090123-1.5               

***@***:~> 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
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
alsa-plugins-pulse-1.0.19.git20090123-1.5

***@***:~> rpm -q libasound2
libasound2-1.0.19.git20090203-1.1

***@***:~> uname -a
Linux *** 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

***@***:~> cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel
options snd-hda-intel model=hp-m4 enable_msi=1
# u1Nb.uI7Vp9nVK5B:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

Ok, that looks ok (although I have some mixer questions). It still confirms your hardware as an Codec: IDT 92HD71B7X

That also looks good. I assume you restarted your PC afterward? (after both the alsa update, and after the change to /etc/modprobe.d/sound file ) ? And you are using the speaker test I recommended? Please try the following two speaker tests as both a regular user, and with root permissions …
speaker-test -Dplug:front -c2 -l5 -twav Note Linux is case sensitive, and “D” is not the same as “d”. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Note the test for surround sound is different. If that test yields errors, try instead this more simple test: speaker-test -c2 -l5 -twav

OK, syntax is correct there ad the file looks correct. You could try that without the “enable_msi=1”, … ie try:

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

and restart your PC and test your sound.

Reference your mixer, I am not clear if the following have effect on your sound:
!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 ‘Intel’/‘HDA Intel at 0xdf300000 irq 214’
Mixer name : ‘Nvidia MCP78 HDMI’
Components : ‘HDA:111d76b2,103c3603,00100302 HDA:11c11040,103c137e,00100200 HDA:10de0006,10de0101,00100000’
Simple mixer control ‘IEC958’,0
Mono: Playback on]
Simple mixer control ‘IEC958 Default PCM’,0
Mono: Playback on]
Simple mixer control ‘IEC958’,1
Mono: Playback on]
Simple mixer control ‘Analog Loopback’,0
Mono: Playback [on]
Simple mixer control ‘Analog Loopback’,1
Mono: Playback on]
Simple mixer control ‘Speaker’,0
Front Left: Playback 64 [100%] [0.00dB] on]
Front Right: Playback 64 [100%] [0.00dB] on]Does toggling those OFF have any effect?

Now you could also try changing “hp-m4” in the /etc/modprobe.d/sound file with one of the other options listed in the HD-Audio-models.txt file … ie that documentation file lists:

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

and hence you could try “ref”, or “dell-m4-1” or “dell-m4-2” or “dell-m4-3” instead of “hp-m4” (one at a time, restarting your PC with each attempt, and also checking your mixer and noting the sound test recommended).

Please also confirm your sound is switched ON in your laptop’s BIOS.

Does sound work under Vista or WinXP ?

As a last resort, you could disable pulse audio, in case that is causing a problem … but I would try everything else first.

Just tried all those different options, rebooting each time. No sound with any of them. Either from those speaker-test commands or from amarok or kaffeine. The only time i hear any sound is i get a burst of static just as the laptop reboots. Im not sure how i would toggle those mixers off and on. Im not sure if just adding them and removing them from Kmix does it, but that has no effect.

Yes sound works perfectly fine under Vista. And i just tried the Ubuntu 8.10 LiveCD, and sound works fine with that as well.

How would i go about disabling pulse audio?

What you could do, is run the diagnostic script under Ubuntu 8.10 (since you note sound works there) , so we can see what they are doing … :slight_smile:

ie
/usr/sbin/alsa-info.shand post here the URL

Alternatively run the script from Ubuntu this way:

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

There is NO point in trying amarok nor kaffeine. They are likely not setup up with the correct codecs yet. They are not helpful as a good sound test.

I assume then (since sound works under Ubuntu) that sound is enabled in your BIOS. Sound working in Vista is NOT a good indication that sound is enabled in one’s BIOS, as typically MS-Windows ignores the BIOS sound setting.

Ubuntu config URL: http://www.alsa-project.org/db/?f=0ddc0295deb59519854e658416a51ad809fba434

I installed the non free codecs, and i can see the little visualiser things going in amarok and kaffeine, so i think they can read the files, just nothing is being outputted.

Comparing the ubuntu to openSUSE script outputs I note

  • IEC958 is switched OFF in Ubuntu. You still have that ON in openSUSE. Switch it OFF !! (see my mixer comments)
  • your openSUSE is using IRQ-214 … Ubuntu uses IRQ-22
  • your openSUSE has enable_msi=1 and ubuntu has the default value of 0
  • your openSUSE has the latest 1.0.19 of alsa, and Ubuntu has 1.0.17 , … but that means nothing, as Ubuntu apply custom patches to their packages (such as alsa), and then they also do NOT pass their fixes upstream, so often other distributions can not benefit from Ubuntu fixes (which is one reason why I refuse to use Ubuntu)
  • Ubuntu has the analog loop back OFF. You still have it ON in openSUSE. Switch it OFF !! (see my mixer comments)
  • there are are a bunch of Pi cal definitions differences, which I know nothing about

Unfortunately, aside from the above (a lot of which I don’t understand) I do not see anything there that is really obvious, especially given the few things I have already seen wrt HP DV5 laptop’s whose sound works under openSUSE. For those HP DV5 laptop’s, whose sound works (and do a search in our forum under “DV5” and “sound” and user “oldcpu” and you will read the many cases where users applied “model=hp-m4 enable_msi=1” and their sound just worked).

I still have the view that “model=hp-m4” and “enable_msi=1” are necessary, as per your quoted /etc/modprobe.d/sound file. I recommend you VERY CAREFULLY try the various options in your mixer, in case something silly there is blocking your sound.

Still, assuming you applied the syntax correctly for the various model references, and you increased your sound appropriately in volume with the "model=m4-hp enable_msi=1) not only in your mixer, but also under YaST > Hardware > Sound > Other > Volume then I have nothing further I can add.

In that case, you are likely best served by writing a bug report on openSUSE. http://en.opensuse.org/Submitting_Bug_Reports

Note if you wish the openSUSE developer to make progress on the bug report, you will end up repeating a lot of what I had you do. The developers (not just openSUSE alsa dev, but practically ALL developers) do NOT like forums, and they will likely refuse to read this thread. So you will have to redo most of what you have done, to bring them “up to speed”, and then start trying their individual suggestions. Unfortunately, I do not see anything there that is really obvious, especially given the few things I have already seen wrt HP DV5 laptop’s whose sound works under openSUSE. For those HP DV5 laptop’s, whose sound works (and do a search in our forum under “DV5” and “sound” and user “oldcpu” and you will read the many cases where users applied “model=hp-m4 enable_msi=1” and their sound worked).

Possibly the only think I can think of, that we did not try, was check the output of your dmesg, to see if there are hints of an apic, acpi or other problem. You could post your dmesg contents to a web site by typing:
dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a and then examine the contents linked to the page of the URL provided.