All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jean-Pierre André" <jean-pierre.andre@wanadoo.fr>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>, gustavo@sagui.org
Subject: Re: No jack sense on Intel 82801I / IDT 92HD71B7X in a HP dv4
Date: Sat, 13 Jun 2009 12:32:31 +0200	[thread overview]
Message-ID: <4A33803F.6050107@wanadoo.fr> (raw)

Hi,


> At Fri, 12 Jun 2009 15:01:09 -0300,
> Gustavo Maciel Dias Vieira wrote:
>   
>> > 
>> > Em Qui, 2009-06-11 às 21:27 +0200, Takashi Iwai escreveu:
>>     
>>>> > > > Interrupt 22 stays always with 0. Even when correctly playing
>>>>         
>>> > > sounds. I
>>>       
>>>> > > > tested this on another machine with HD-Audio, and the equivalent
>>>> > > > interrupt increased when playing. Also, in this other system
>>>>         
>>> > > interrupt 0
>>>       
>>>> > > > (timer) is hardly issued, but in this laptop it is firing all the
>>>>         
>>> > > time.
>>>       
>>>> > > > 
>>>> > > > How can the driver be working without interrupts?
>>>>         
>>> > > 
>>> > > That's weird.
>>> > > 
>>> > > Did you try enable_msi=1 module option, BTW?
>>>       
>> > 
>> > Just tried now. The interrupts started flowing and, tada, jack sense
>> > works!
>> > 
>> > Thanks, Takashi, that solves it for me. Is there a way to automate this
>> > in the driver for the other less technically inclined users?
>>     
>
> Well, as I mentioned, it's basically a bug in the lower layer like
> ACPI or BIOS.  So, the best is to fix them.  Using MSI is a kind of
> workaround, and I'm wondering whether this is specific to your device
> or in general with other HP dv4, since I didn't hear of the similar
> bug reports.
>
>
> Takashi
>   

Weird indeed. Actually I had already reported this
behaviour, see

http://article.gmane.org/gmane.linux.alsa.devel/59809

So far I have not been able to get the interrupts at
IRQ22. They still occur at IRQ20. However the problem
is hidden when using boot options irqpoll or noapic.

This is not a hardware or bios problem, as the sound
is correct on Windows.

Initially I was using kernel 2.6.27 and alsa-driver 1.0.19,
currently using kernel 2.6.29 and alsa-driver 1.0.20 with
the same behaviour.

I have tried numerous modprobe options. Currently
I am using :

alias snd-card-0 snd-hda-intel
options sound slots=snd-hda-intel
options snd-hda-intel model=hp-m4 enable_msi=1 bdl_pos_adj=32 
probe_mask=0x1ff

As Gustavo seems to have succeeded, can he post
kernel and alsa-driver versions, boot parameters
and modprobe parameters ?

Thanks in advance

Jean-Pierre

             reply	other threads:[~2009-06-13 10:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13 10:32 Jean-Pierre André [this message]
2009-06-14  8:05 ` No jack sense on Intel 82801I / IDT 92HD71B7X in a HP dv4 Takashi Iwai
     [not found] ` <d3328e7b0906130656w67e2046dqce261e9b83b4ea6b@mail.gmail.com>
     [not found]   ` <4A365A30.8070608@wanadoo.fr>
2009-06-15 14:31     ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-06-15 19:35       ` Jean-Pierre André
2009-06-15 23:08         ` Wael Nasreddine (a.k.a eMxyzptlk)
2009-06-17  6:57           ` Jean-Pierre André
  -- strict thread matches above, loose matches on Subject: below --
2009-04-17 14:05 Gustavo Vieira
2009-04-17 14:42 ` Takashi Iwai
2009-04-17 16:18   ` Gustavo Vieira
2009-04-17 16:22     ` Takashi Iwai
2009-04-17 16:31       ` Takashi Iwai
2009-04-17 17:42         ` Gustavo Vieira
2009-04-18  8:57           ` Takashi Iwai
2009-04-19  0:43             ` Gustavo Vieira
     [not found]             ` <1240101395.3333.9.camel@nick-beta.sagui>
2009-04-20  8:57               ` Takashi Iwai
2009-04-28 19:11                 ` Gustavo Vieira
2009-04-29  6:37                   ` Takashi Iwai
2009-05-18 20:20                     ` Gustavo Maciel Dias Vieira
2009-05-19  5:33                       ` Takashi Iwai
2009-06-02 17:10                     ` Gustavo Maciel Dias Vieira
2009-06-05 17:48                       ` Gustavo Maciel Dias Vieira
2009-06-05 19:40                         ` Takashi Iwai
2009-06-05 20:13                           ` Gustavo Maciel Dias Vieira
2009-06-06  9:04                             ` Takashi Iwai
2009-06-11 17:57                               ` Gustavo Vieira
2009-06-11 19:27                                 ` Takashi Iwai
2009-06-12 18:01                                   ` Gustavo Maciel Dias Vieira
2009-06-13  8:09                                     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A33803F.6050107@wanadoo.fr \
    --to=jean-pierre.andre@wanadoo.fr \
    --cc=alsa-devel@alsa-project.org \
    --cc=gustavo@sagui.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.