[SOLVED] HP Pavilion DV7 audio problem

[SOLVED] HP Pavilion DV7 audio problem

Postby somegaydude » Mar 27th, '13, 19:06

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
Last edited by doktor5000 on Mar 31st, '13, 17:59, edited 1 time in total.
Reason: adjusted thread title
"'Windows' is not recognized as an internal or external command,
operable program or batch file." - Microsoft Operating System
User avatar
somegaydude
 
Posts: 6
Joined: Mar 27th, '13, 18:25
Location: Naples, FL, USA

Re: I have an audio problem.

Postby oj » Mar 27th, '13, 23:33

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.
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: I have an audio problem.

Postby somegaydude » Mar 28th, '13, 16:02

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.
"'Windows' is not recognized as an internal or external command,
operable program or batch file." - Microsoft Operating System
User avatar
somegaydude
 
Posts: 6
Joined: Mar 27th, '13, 18:25
Location: Naples, FL, USA

Re: I have an audio problem.

Postby madeye » Mar 29th, '13, 11:03

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
- Madeye

When I supply commands in an answer, please make sure you understand them before you run them! Use google or man to check!
User avatar
madeye
 
Posts: 110
Joined: Jul 23rd, '11, 12:36
Location: Aabenraa, Denmark

Re: I have an audio problem.

Postby martinw » Mar 29th, '13, 16:04

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.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

[Solved] I have an audio problem.

Postby somegaydude » Mar 31st, '13, 16:02

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.
"'Windows' is not recognized as an internal or external command,
operable program or batch file." - Microsoft Operating System
User avatar
somegaydude
 
Posts: 6
Joined: Mar 27th, '13, 18:25
Location: Naples, FL, USA


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest