You are not logged in.

#1 2008-01-14 18:36:25

riffwraith
Member
Registered: 2008-01-14
Posts: 4

snd-hda-intel, no headphone jack sense on hp dv6704nr

I recently installed archlinux on my hp dv6704nr laptop, and everything works except for suspend2disk and my headphone jack sense.
I've pretty much given up on suspend2disk (suspend2disk haet nvidia), but I'm still trying to get headphone jack sense to work as it is a rather important feature.
I've done a fair amount of googling on the topic, and I've tried the modprobe.conf edit (options snd-hda-intel model=asus) with many different entries for model) and that doesn't help at all. It's a Conexant ID 5051, if that means anything.

I found something that appears to be a fix, but it involves recompiling alsa, and when I did that, it left me with no soundcard detected (cat proc/asound/cards shows no soundcards).

If anyone knows of a workaround, that doesn't involve recompiling alsa, that'd be great. If not...any tips on compiling alsa?/

Offline

#2 2008-01-14 19:10:42

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

I recently had a similar problem with snd-hda-intel with my dell vostro I bought recently. The problem was the opposite of what you had, ie the laptop always thought that my headphones were in and wouldn't work through the speakers. I found a very ugly workaround in the form of unloading the driver, reloading it incorrectly, then reloading it again. To automate it, I have the following in my rc.local file

modprobe -r snd-hda-intel
echo "options snd-hda-intel model=3stack" > /etc/modprobe.conf
modprobe snd-hda-intel
modprobe -r snd-hda-intel
echo "" > /etc/modprobe.conf
modprobe snd-hda-intel

WARNING: this'll overwrite (read: destroy) your modprobe.conf every time you boot. I'm ok with that since I normally don't have anything in there but if you do you should be aware. It's a really ugly workaround but it's the only thing I found that would get my sound card working.

Oh, one more thing. Since rc.local is read after all your other deamons, the alsa deamon won't set your levels right and all your channels will be muted when your system starts up. To do this manually, I added some amixer lines after all that modprobe hijinks to get everything sounding ok.

Offline

#3 2008-01-14 20:53:21

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

Have you tried model=laptop? That worked for someone else here with an HP laptop.

Last edited by elliott (2008-01-14 20:54:32)

Offline

#4 2008-01-14 21:17:26

riffwraith
Member
Registered: 2008-01-14
Posts: 4

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

I tried model=laptop, model=hp, model=asus, and a whole bunch of others..none of them worked.
Haven't tried barebones' solution yet, though. Maybe that's what I need to do. I'll try it after I get out of class.

Thanks y'all.

Offline

#5 2008-01-14 21:27:24

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

barebones wrote:
modprobe -r snd-hda-intel
echo "options snd-hda-intel model=3stack" > /etc/modprobe.conf
modprobe snd-hda-intel
modprobe -r snd-hda-intel
echo "" > /etc/modprobe.conf
modprobe snd-hda-intel
modprobe -r snd-hda-intel
modprobe snd-hda-intel model=3stack
modprobe -r snd-hda-intel
modprobe snd-hda-intel

Maybe I am just stupid, but wouldn't this do the same thing?

Offline

#6 2008-01-14 22:22:07

riffwraith
Member
Registered: 2008-01-14
Posts: 4

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

Looks like it does do the same thing to me.

Offline

#7 2008-01-14 22:38:10

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

Supposedly it does, but my sound didn't work when I did it that way. I'm sure there's probably cleaner ways to do this, but thats just the solution that I got to work.

Offline

#8 2008-01-14 23:05:54

riffwraith
Member
Registered: 2008-01-14
Posts: 4

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

Quick update: tried both offered solutions, neither of them worked.
This looks promising, though:
http://punischdude.kilu.de/?p=7

So, how do I recompile alsa?

Offline

#9 2008-01-14 23:37:59

astrixx
Member
From: NY, USA/now: London, Limeyland
Registered: 2008-01-14
Posts: 3

Re: snd-hda-intel, no headphone jack sense on hp dv6704nr

Yep this seems to be a problem with these onboard sound models.  I have a Clevo D901C with the Intel 82801 onboard sound (laptop). I use the same module and my problem is that although the headphone jack works, it can only be controlled by the "surround" volume option which is terrible because the sound output is meant for speaker so it sounds crackly and there's no bass.  I've tried the solutions above previously to no avail.

Here's some potential solutions for the laptops people are reporting issues with:

https://wiki.ubuntu.com/Gutsy_Intel_HD_Audio_Controller

Last edited by astrixx (2008-01-14 23:42:18)

Offline

Board footer

Powered by FluxBB