Updated ALSA for Add Bass Speaker switch for HP dv7

I would like your input please. I’m using an HP DV7 laptop and the sound works under Opensuse 11.2 but without base. I have therefore updated ALSA to version 1.0.22.1 to make use of the introduced base switch for DV7 (ALSA changelog here)

I have tried these ALSA options but without any change / improvement to the base sound.
options snd-hda-intel=hp-dv5 and also hp-dv7 and hp_dv7
options snd-hda-intel enable_msi=1
Any ideas?

The second line stops the sound from “stuttering” but the first seem to have no effect.

Any ideas?

IMHO your syntax is wrong.

For the model option the syntax should be (and the line the 1st line):

options snd-hda-intel model=hp-dv5

or

options snd-hda-intel model=hp-dv7

Thanks for pointing that out :shame:
Having now corrected the syntax which has made no difference to the sound quality, I’m still at a loss as how to use the base switch introduced in the latest ALSA. Any ideas?

HDA Codec driver

ALSA: hda - Add Bass Speaker switch for HP dv7

  • ALSA: hda - Add Bass Speaker switch for HP dv7
    The bass speaker is controlled via GPIO5.

For me to have any hope/chance of providing any sort of meaningful advice I would need a LOT more information.

ie the information recommended to be provided in the 2nd half of our forum’s multimedia section stickie here: Welcome to multimedia sub-area - openSUSE Forums

and I quote:

please post … providing in your post the following information:

  • provide the URLs (of a summary webpage) that are created by running the diagnostic script noted here:
    SDB:AudioTroubleshooting - openSUSE - Script to run to obtain detailed information. On openSUSE-11.1 and newer that will ask you to run the script /usr/sbin/alsa-info.sh and after the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL. Just the URL. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘alsa#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘pulse#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -q libasound2 #and post output here
  • in a terminal, or xterm, or konsole, type: uname -a #and post output here
  • for openSUSE-11.2 or later, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/50-sound.conf #and post output here

Oldcpu, you’re problem solving again. Thank you.

/usr/sbin/alsa-info.sh
http://www.alsa-project.org/db/?f=a394ce1484f2bfc81c07ed7ad09018ecd506d8d3

allianux@linux-yxgg:~> rpm -qa ‘alsa
alsa-oss-1.0.17-52.2.x86_64
alsa-utils-1.0.21-23.1.x86_64
alsa-driver-kmp-desktop-1.0.22.1.20100409_2.6.31.5_0.1-3.1.x86_64
alsa-plugins-32bit-1.0.22-26.2.x86_64
alsa-oss-32bit-1.0.17-53.1.x86_64
alsa-1.0.22-57.1.x86_64
alsa-plugins-1.0.22-26.2.x86_64

allianux@linux-yxgg:~> rpm -qa ‘pulse
libxine1-pulse-1.1.18.1-1.pm.37.2.x86_64
libpulse0-32bit-0.9.21-51.1.x86_64
libpulse0-0.9.21-51.1.x86_64
libpulse-mainloop-glib0-0.9.21-51.1.x86_64

allianux@linux-yxgg:~> rpm -q libasound2
libasound2-1.0.22-57.1.x86_64

allianux@linux-yxgg:~> uname -a
Linux linux-yxgg 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux

allianux@linux-yxgg:~> cat /etc/modprobe.d/50-sound.conf
options snd-hda-intel enable_msi=1 model=hp-dv7
options snd slots=snd-hda-intel

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

alias snd-card-0 snd-hda-intel

Thanks. You have some things wrong. First hp-dv7. There is no such model option. You can’t just make these up by putting your PC model in there and expect it to work. These models are assigned by the alsa developers.

You have probably made everything much worse by what has been done, and we need to try to undo this.

First, I note your PC has a IDT 92HD71B7X (from the script you ran). The model options for that from the HD-Audio-Models.txt file are:

STAC92HD71B*
============
  ref		Reference board
  dell-m4-1	Dell desktops
  dell-m4-2	Dell desktops
  dell-m4-3	Dell desktops
  hp-m4		HP mini 1000
  hp-dv5	HP dv series
  hp-hdx	HP HDX series
  hp-dv4-1222nr	HP dv4-1222nr (with LED support)
  auto	

there is no hp-dv7 in that list.

So change hp-dv7 in that /etc/modprobe.d/50-sound.conf file with either hp-dv5 or one of the other options in the list I quoted above. I recommend hp-dv5. Only after you do the update below, should you try something other than hp-dv5.

Next, alsa-driver-kmp-desktop-1.0.22.1.20100409_2.6.31.5_0.1-3.1.x86_64 does not appear to have installed properly. Delete it. And then re-install it but this time go for the latest version: alsa-driver-kmp-desktop-1.0.22.1.20100411_2.6.31.12_0.2-2.1.x86_64.rpm

Then reboot and test.