From: Takashi Iwai Subject: Re: Intel 82801I (ICH9 Family) HD Audio Controller on a HP dv4 computer Date: Mon, 15 Dec 2008 11:19:32 +0100 Message-ID: References: <7342920.39901.1229168483619.JavaMail.www@wwinf1b34> <4944E56D.9020505@wanadoo.fr> <17030499.155080.1229335812686.JavaMail.www@wwinf1a21> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 9612010380A for ; Mon, 15 Dec 2008 11:19:32 +0100 (CET) In-Reply-To: <17030499.155080.1229335812686.JavaMail.www@wwinf1a21> 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 ANDRE Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 15 Dec 2008 11:10:12 +0100 (CET), Jean-Pierre ANDRE wrote: > > Hi Takashi, > > Than you for your help. > > > > > Switching to polling mode is OK and mostly harmless. But single_cmd > > is not. There is a VERY big difference between them. > > Ok. > > > > Probably related is the > > > fact that I have never seen an IRQ 22. > > > > > > from proc/interrupts : > > > > > > 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb6, HDA Intel > > > > Hum, then it must be an interrupt thing. > > Ask rather ACPI guys. > > > > Well, you must be right. Using the irqpoll boot option, > the sound is correct, and I see four IRQ 20 per second > (and none when there is no sound). > > 1) Can you confirm an expected IRQ every 250ms ? This depends on the application set up, i.e. period size. The value appears reasonable, though. > The APIC routes PCI INT B to IRQ 22, and alsa is > expecting IRQ 22. Now I have to get alsa to expect > IRQ 20 or get APIC to route an appropriate PCI INT > to IRQ 22.... > > 2) Now I get a warning "hda-intel: IRQ timing workaround > is activated for card #0. Suggest a bigger bdl_pos_adj." > > What is the range of values I should try ? Usually bdl_pos_adj=32 should suffice. You can give more, but it's rather the system problem in such a case. Takashi