From: Takashi Iwai Subject: Re: No jack sense on Intel 82801I / IDT 92HD71B7X in a HP dv4 Date: Sun, 14 Jun 2009 10:05:03 +0200 Message-ID: References: <4A33803F.6050107@wanadoo.fr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 295DA24663 for ; Sun, 14 Jun 2009 10:05:04 +0200 (CEST) In-Reply-To: <4A33803F.6050107@wanadoo.fr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jean-Pierre =?ISO-8859-1?Q?Andr=E9?= Cc: alsa-devel@alsa-project.org, gustavo@sagui.org List-Id: alsa-devel@alsa-project.org At Sat, 13 Jun 2009 12:32:31 +0200, Jean-Pierre Andr=E9 wrote: > = > Hi, > = > = > > At Fri, 12 Jun 2009 15:01:09 -0300, > > Gustavo Maciel Dias Vieira wrote: > > = > >> > = > >> > Em Qui, 2009-06-11 =E0s 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 equivale= nt > >>>> > > > 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=3D1 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 t= his > >> > 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 Ah, OK, then it's really machine-specific. > 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. Did you report it to kernel bugzilla or ACPI guys? > This is not a hardware or bios problem, as the sound > is correct on Windows. It could be still a BIOS issue. Windows (and Linux as well) have tons of workarounds for broken BIOS. > 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. ... since the problem is basically independent from the sound driver. It's an IRQ assignment problem, thus a deeper level than what the device driver can manage. Takashi > I have tried numerous modprobe options. Currently > I am using : > = > alias snd-card-0 snd-hda-intel > options sound slots=3Dsnd-hda-intel > options snd-hda-intel model=3Dhp-m4 enable_msi=3D1 bdl_pos_adj=3D32 = > probe_mask=3D0x1ff > = > As Gustavo seems to have succeeded, can he post > kernel and alsa-driver versions, boot parameters > and modprobe parameters ? > = > Thanks in advance > = > Jean-Pierre > = > = > = > = > =