Skip to contentSkip to conversation

Problems with Intel HDA driver

DISCUSSION Munzir Taha (=?utf-8?q?=D9=85=D9=86=D8=B0=D8=B1?= طه) 2 participants 7 messages Sep 27, 2009

lore
Share & tools
lore
#0 lore raw

Hi Takashi,
Sorry, the correct link to alsa-info report is

http://www.alsa-project.org/db/?f=2e50beab11390b9687490feae899217710e81afa

Quoted 41 lines · Takashi Iwai

At Mon, 14 Sep 2009 15:15:53 +0200,

Quoted 23 lines · I wrote:

At Mon, 14 Sep 2009 16:15:02 +0300,

Quoted 11 lines · Ozan Çağlayan

Takashi Iwai wrote On 14-09-2009 15:36:

Quoted 2 lines

Yeah, I think we can add EAPD handling as default for IDT92HD71xx codecs. I've never seen machines that can't live with GPIO0 bit up.

enable_msi doesn't seem to affect the auto-muting problem. I played with every single node in hda-analyzer but can't get auto-mute work. I can manually mute the HP output and the internal speakers by checking/unchecking OUT checkboxes on relevant NIDs. There's a 8xn matrix for GPIO settings, I played with them as well to set unsol but nope.

Quoted 8 lines

I want to remember that dell-m4-1 makes automute work but breaks the mixer channels:

http://www.spinics.net/lists/alsa-devel/msg26714.html

Err, I know that I didn't answer the last question in the thread as I'm a little bit lost in the NID pool and didn't have time to investigate further.

Quoted 6 lines

Could you check whether this still valid?

Basically the model option doesn't change the auto-mute behavior. It just changes which pin to be detected and which pin to mute. So, if model=dell-m4-1 makes the auto-muting working, it means that the BIOS setup is broken.

I looked through alsa-info output now, and found the culprit. NID 0x0f is set as a line-out, and currently the driver doesn't don't do auto-muting for line-out unless a headphone is present. Changing it to a headphone should fix. Or you can give hp_detect=1 hint via sysfs and reconfigure.

Takashi

Signature · 8 lines
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#1 lore raw
Quoted 1 line · Munzir Taha (منذر طه)

http://www.alsa-project.org/db/?f=2e50beab11390b9687490feae899217710e81afa

Please try with enable_msi=1:

sudo alsa force-unload && sudo modprobe snd-hda-intel enable_msi=1 model=hp-dv5

Please note that my git branch on kernel.ubuntu.com
(http://kernel.ubuntu.com/git?p=dtchen/ubuntu-karmic.git;a=shortlog;h=refs/heads/lp400682)
backports the necessary fixes.
_______________________________________________
Alsa-devel mailing list [email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 10 lines · Daniel Chen

On Sun, Sep 27, 2009 at 4:27 PM, Munzir Taha (منذر طه)

Quoted 2 lines · <[email protected]> wrote:

http://www.alsa-project.org/db/?f=2e50beab11390b9687490feae899217710e81af
a

Please try with enable_msi=1:

sudo alsa force-unload && sudo modprobe snd-hda-intel enable_msi=1
model=hp-dv5

Hi Daniel,
I tried adding enable_msi=1 with and without model=hp-dv5 and now there is no sound at all even from the speakers.

Signature · 8 lines
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#4 lore raw
Quoted 8 lines · Daniel Chen

On Sun, Sep 27, 2009 at 5:01 PM, Munzir Taha (منذر طه)

Quoted 2 lines · <[email protected]> wrote:

I tried adding enable_msi=1 with and without model=hp-dv5 and now there is no sound at all even from the speakers.

Is this reproducible from a fresh reboot? Also, make sure your playback mixer levels are not set to zero or muted.

Hi Daniel,
After a fresh reboot, the sound is now working but there is not autosensing and still both the speaker and the headphone play together

The current report is at
http://www.alsa-project.org/db/?f=8f8518c634bc6880a1633e025fe7a7f975f3ed28

Signature · 8 lines
Munzir Taha
Telecommunications and Electronics Engineer
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#5 lore raw

(Sorry for top-posting)

Is the enable_msi=1 line in your options snd-hda-intel line in /etc/modprobe.d/alsa-base.conf?

On Sep 27, 2009 5:31 PM, "Munzir Taha (منذر طه)" <[email protected]> wrote:

On Yaum al-Ithnain 08 Shawwal 1430 12:03:37 am Daniel Chen wrote: > On Sun, Sep 27, 2009 at 5:01 PM,...
Hi Daniel,
After a fresh reboot, the sound is now working but there is not autosensing and still both the speaker and the headphone play together

The current report is at
http://www.alsa-project.org/db/?f=8f8518c634bc6880a1633e025fe7a7f975f3ed28

-- Munzir Taha Telecommunications and Electronics Engineer Master CIW Designer, ICDL, MOUS, Linux+...
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw
Quoted 4 lines · Daniel Chen

(Sorry for top-posting)

Is the enable_msi=1 line in your options snd-hda-intel line in /etc/modprobe.d/alsa-base.conf?

Yes, the line in the file looks like this:
options snd-hda-intel enable_msi=1 model=hp-dv5
and I can manually mute the speakers by moving its slider all the way down to level 0 (but not muting it). However, auto hp jack sensing doesn't work.

Signature · 1 line
Munzir Taha