From: Takashi Iwai Subject: Re: No jack sense on Intel 82801I / IDT 92HD71B7X in a HP dv4 Date: Tue, 19 May 2009 07:33:50 +0200 Message-ID: References: <1239977111.3337.18.camel@nick-beta.sagui> <1239985116.6105.2.camel@nick-beta.sagui> <1239990142.3580.8.camel@nick-beta.sagui> <1240101395.3333.9.camel@nick-beta.sagui> <1240945884.3559.2.camel@nick-beta.sagui> <1242678054.3627.43.camel@hamlet.sagui> 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 mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id BB11124601 for ; Tue, 19 May 2009 07:33:50 +0200 (CEST) In-Reply-To: <1242678054.3627.43.camel@hamlet.sagui> 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: Gustavo Maciel Dias Vieira Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 18 May 2009 17:20:54 -0300, Gustavo Maciel Dias Vieira wrote: > = > Em Qua, 2009-04-29 =E0s 08:37 +0200, Takashi Iwai escreveu: > > > It behaves exactly like it did with no model, including all mixer > > > controls. Still no headphones sense. Still works after alsa-info is > > run. > > = > > OK, it means that the unsolicited event isn't processed properly > > at jack plugging. But still strange why alsa-info.sh can trigger it. > > = > > Could you put some debug print to the unsol even handler to see > > whether you get any even when you plug the jack? > > = > = > Can you point me to the correct function? Just tell me how the function > is called and I can grep it. It's stac92xx_unsol_event(). > BTW, there is some document describing general ALSA organization for > clueless newbies? A clueless newbie should read the general linux driver documentation at first :) After that, he can check a document like "writing an alsa driver", or $LINUX/Documentation/sound/alsa/HD-Audio.txt for hd-audio specific information. > Also, is printf() enough or there is a specific debug function. To see the event flow, it should be enough. Takashi