From: Takashi Iwai Subject: Re: idt blue jack patch Date: Mon, 16 Feb 2009 11:55:22 +0100 Message-ID: References: <68720af30902160113t5c0f206di4c63ecf801ce74ea@mail.gmail.com> 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 mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D270B2447B for ; Mon, 16 Feb 2009 11:55:22 +0100 (CET) In-Reply-To: <68720af30902160113t5c0f206di4c63ecf801ce74ea@mail.gmail.com> 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: Paulo Cavalcanti Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 16 Feb 2009 06:13:35 -0300, Paulo Cavalcanti wrote: > > Hi, > > I received a patch form Fengguang that > made my Intel DG45ID (snd-hda-intel, codec IDT 92HD73E1X5) > behave the way it should, in my opinion. > > It just makes the blue jack behave as an input source by default (in alsa > 1.0.19 it is > an output jack). > > It is widespread that the green jack is output, the blue input and the pink > is mic. > Some cards allow reconfiguring the jacks in alsamixer, but the DG45ID > already has > an orange and black jacks for rear and center speakers, and a digital > output. > > Other people have also raised this problem some time ago: > > https://fcp.surfsite.org/modules/newbb/viewtopic.php?viewmode=threaded&order=ASC&topic_id=62855&forum=12&move=prev&topic_time=1224179600 > > Fengguang suggested me to direct my request to the development list, > so the other developers could decide what to do. > > I would like to add that I can use the input source and the mic just fine > now > (the mic could be a bit louder, but it works fine with skype). > > The patch is very simple and is attached. This would conclude the fix > for this card, Takashi started with me some time ago (I just made the > tests). It's fine to put a quirk there. But, you'd need to create a "model" for your device so that it won't interfere other devices. That is, define a new model type, and call stac92xx_set_config_reg() with the check of spec->board_config. Takashi