All of lore.kernel.org
 help / color / mirror / Atom feed
* idt blue jack patch
@ 2009-02-16  9:13 Paulo Cavalcanti
  2009-02-16 10:55 ` Takashi Iwai
  0 siblings, 1 reply; 32+ messages in thread
From: Paulo Cavalcanti @ 2009-02-16  9:13 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

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).

Thanks.

-- 
Paulo Roma Cavalcanti
LCG - UFRJ

[-- Attachment #2: idt-blue-linein.patch --]
[-- Type: application/octet-stream, Size: 521 bytes --]

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index a7df81e..afdb655 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4793,6 +4793,10 @@ again:
 		spec->num_smuxes = ARRAY_SIZE(stac92hd73xx_smux_nids);
 		spec->eapd_switch = 1;
 	}
+
+	/* was 0x01113014 */
+	stac92xx_set_config_reg(codec, 0x0c, 0x01813021);
+
 	if (spec->board_config > STAC_92HD73XX_REF) {
 		/* GPIO0 High = Enable EAPD */
 		spec->eapd_mask = spec->gpio_mask = spec->gpio_dir = 0x1;

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2009-02-24  2:33 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16  9:13 idt blue jack patch Paulo Cavalcanti
2009-02-16 10:55 ` Takashi Iwai
2009-02-18  2:04   ` Paulo Cavalcanti
2009-02-18  6:50     ` Takashi Iwai
2009-02-18  9:04       ` Paulo Cavalcanti
2009-02-18  9:44         ` Vedran Miletić
2009-02-18 15:24           ` Takashi Iwai
2009-02-19  3:02             ` Wu Fengguang
2009-02-19  3:22               ` Tobin Davis
2009-02-19  9:37                 ` Takashi Iwai
2009-02-20  1:00                 ` Wu Fengguang
2009-02-20 10:15                   ` Paulo Cavalcanti
2009-02-20 11:20                     ` Wu Fengguang
2009-02-20 14:16                       ` Paulo Cavalcanti
2009-02-20 14:31                         ` Wu Fengguang
2009-02-20 16:07                           ` Paulo Cavalcanti
2009-02-21  1:05                             ` Wu Fengguang
2009-02-20 17:18                   ` Takashi Iwai
2009-02-21  1:42                     ` Wu Fengguang
2009-02-21 16:28                       ` Takashi Iwai
2009-02-23  8:54                         ` Takashi Iwai
2009-02-23  9:53                           ` Wu Fengguang
2009-02-23 10:21                             ` Takashi Iwai
2009-02-23 12:58                               ` Wu Fengguang
2009-02-23 13:00                                 ` Takashi Iwai
2009-02-23 16:15                                   ` Takashi Iwai
2009-02-24  2:30                                     ` Wu Fengguang
2009-02-21  1:55                     ` Wu Fengguang
2009-02-21  2:42                       ` Paulo Cavalcanti
2009-02-21  2:56                         ` Wu Fengguang
2009-02-21  3:12                           ` Paulo Cavalcanti
2009-02-21 16:28                       ` Takashi Iwai

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.