Page 1 of 1

[SOLVED] HP Pavilion DV7 audio problem

PostPosted: Mar 27th, '13, 19:06
by somegaydude
I just noticed that when I plug in my head phone the speakers still play. When I was using gnome I just added "options snd-hda-intel model=hp-dv5 enable_msi=1" to the file /etc/modprobe.d/alsa-base.conf to fix this problem.

This file doesn't exist so I dought this is the correct solustion for kde. My laptop is a hp pavilion dv7 and I all I know about the sound is that I have a sticker that says SRS premium sound and altec lansing. I just installed mageia 2 kde. Thanks

Re: I have an audio problem.

PostPosted: Mar 27th, '13, 23:33
by oj
You could try a different kernel. If you go into the package manager you'll find 'laptop' kernel version, and a 'linus' kernel which is a pure upstream kernel, not custom tailored by Mageia. I'd try 'linus' first, myself.

Install the kernel-linus-latest and kernel-linus-devel-latest packages, and the same '..-latest' for any other kernel you might try, then reboot into the new kernel.

You can tell which kernel you are using with the uname -a command.

Re: I have an audio problem.

PostPosted: Mar 28th, '13, 16:02
by somegaydude
Thanks, I tried kernel-linus-latest w/ kernel-linus-devel-latest. It didn't fix the audio problem. The only laptop version is a kernel built for less than 4 gigs of memory (kernel-tmb-laptop-latest). I believe this has 6.

Re: I have an audio problem.

PostPosted: Mar 29th, '13, 11:03
by madeye
Have you checked what modules are used with your current laptop? "Altec Lansing" is the speaker brand, not the chipset.

For showing the used sound modules start the konsole, and use the following command to list the sound modules
Code: Select all
lsmod | grep snd

My guess is that it will show you snd_intel_hda to be used. (At least it does on my dv6 laptop)

If that's the case, try to create the file /etc/modprobe.d/alsa-base.conf and add something like
Code: Select all
options snd-hda-intel model=laptop

You might have to try something else than laptop. On the alsa wiki there is a link to a list of known models: http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt
Unfortunately I am not sure which one you should choose. It depends on the actual hardware chipset in the laptop.

To get some more info on your audio hardware you can use: (run as root)
Code: Select all
lspci -v | grep -A 10 -i audio


The following is from my desktop, just to give you an idea of what is displayed: (I am not at my laptop right now ;-) )
Code: Select all
[root@Host]# lsmod |grep -i snd
snd_hda_codec_realtek    62745  1
snd_hda_intel          34194  5
snd_hda_codec         102453  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6428  1 snd_hda_codec
snd_pcm                78146  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7426  2 snd_pcm,snd_hda_intel
snd_timer              18934  1 snd_pcm
snd                    60156  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5442  1 snd

[root@Host]# lspci -v |grep -A 10 -i audio
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
        Subsystem: ASRock Incorporation Device 2892
        Flags: bus master, fast devsel, latency 0, IRQ 60
        Memory at fb600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: snd_hda_intel

Re: I have an audio problem.

PostPosted: Mar 29th, '13, 16:04
by martinw
It doesn't matter that you are now using KDE instead of GNOME, the same solution *should* work for both. modprobe checks for module options in /etc/modprobe.conf and in all files that match /etc/modprobe.d/*.conf, so you can either add the option line you used before to one of the existing files, or create a new file for it alone.

On my dv7, I use the option line
Code: Select all
options snd-hda-intel model=hp-dv7-4000 power_save=10

which I added to /etc/modprobe.conf.

[Solved] I have an audio problem.

PostPosted: Mar 31st, '13, 16:02
by somegaydude
Thanks everyone. I created the alsa-base.conf file with "options snd-hda-intel model=hp-dv5 enable_msi=1" I have perfect audio now.