* ALC650 + Mic input not working
@ 2003-05-19 5:54 p z oooo
2003-05-19 9:48 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: p z oooo @ 2003-05-19 5:54 UTC (permalink / raw)
To: alsa-devel
Hi,
I have MSI KT333 (VIA8233A) + ALC650.
For me, mic input is not working.
It looks like my motherboard (and some of others too) uses GPIO0 pin
of ALC650 to swich mic bias on/off. Look at ALC650AppNotes_1.4.pdf
page 3 (this is recomended connection). ALC650 rev.E doesn't need
this (and than mic is working). I tested attached patch and mic (sets
bit 0 in reg. 0x76 to 1 - gpio0 = output and bit 8 in reg. 0x76 to 1
= set mic bias - gpio0 - on) works, but I think it is not good,
because when mic input is switched to center/LFE output, mic bias
should be set to off.
Peter Zubaj
====================== REKLAMA =================================
Získajte supervýhodné ADSL ešte výhodnejšie v cenovom odpočítavaní Slovanet
ADSL Teraz! Čím skôr sa rozhodnete, tým viac ušetríte.
http://www.slovanet.sk/menu/adsl.html
-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ALC650 + Mic input not working
2003-05-19 5:54 p z oooo
@ 2003-05-19 9:48 ` Takashi Iwai
0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2003-05-19 9:48 UTC (permalink / raw)
To: p z oooo; +Cc: alsa-devel
At Mon, 19 May 2003 07:54:46 +0200,
p z oooo wrote:
>
> Hi,
>
> I have MSI KT333 (VIA8233A) + ALC650.
> For me, mic input is not working.
> It looks like my motherboard (and some of others too) uses GPIO0 pin
> of ALC650 to swich mic bias on/off. Look at ALC650AppNotes_1.4.pdf
> page 3 (this is recomended connection). ALC650 rev.E doesn't need
> this (and than mic is working). I tested attached patch and mic (sets
> bit 0 in reg. 0x76 to 1 - gpio0 = output and bit 8 in reg. 0x76 to 1
> = set mic bias - gpio0 - on) works, but I think it is not good,
> because when mic input is switched to center/LFE output, mic bias
> should be set to off.
hmm, i don't see any files... ;)
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ALC650 + Mic input not working
@ 2003-05-19 9:59 p z oooo
2003-05-20 8:59 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: p z oooo @ 2003-05-19 9:59 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/plain; CHARSET=US-ASCII, Size: 290 bytes --]
Sorry, here it is, but this is only half solution.
Peter Zubaj
====================== REKLAMA =================================
Získajte supervýhodné ADSL e¹te výhodnej¹ie. Ceny u¾ od 399 Sk mesaène bez
DPH. By» rýchly sa naozaj oplatí. http://www.slovanet.sk/menu/adsl.html
[-- Attachment #2: E:\patches\MSI_KT333.diff --]
[-- Type: APPLICATION/octet-stream, Size: 574 bytes --]
--- ac97_patch.c.old 2003-04-07 14:26:27.000000000 -0100
+++ ac97_patch.c 2003-05-18 09:01:01.000000000 -0100
@@ -374,6 +374,13 @@
val &= ~0xc000; /* slot: 3,4,7,8,6,9 */
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, val);
+ val = snd_ac97_read(ac97, 0x76);
+ val = val | 1;
+ snd_ac97_write_cache(ac97, 0x76, val);
+ val = snd_ac97_read(ac97, 0x78);
+ val = val | 0x100;
+ snd_ac97_write_cache(ac97, 0x78, val);
+
/* full DAC volume */
snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808);
snd_ac97_write_cache(ac97, AC97_ALC650_LFE_DAC_VOL, 0x0808);
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ALC650 + Mic input not working
@ 2003-05-19 10:22 p z oooo
0 siblings, 0 replies; 6+ messages in thread
From: p z oooo @ 2003-05-19 10:22 UTC (permalink / raw)
To: tiwai; +Cc: alsa-devel
and reg.
0x76 - bit 0
0x78 - bit 8 (not 0x76)
Peter Zubaj
====================== REKLAMA =================================
Získajte supervýhodné ADSL ešte výhodnejšie v cenovom odpočítavaní Slovanet
ADSL Teraz! Čím skôr sa rozhodnete, tým viac ušetríte.
http://www.slovanet.sk/menu/adsl.html
-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ALC650 + Mic input not working
2003-05-19 9:59 ALC650 + Mic input not working p z oooo
@ 2003-05-20 8:59 ` Takashi Iwai
0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2003-05-20 8:59 UTC (permalink / raw)
To: p z oooo; +Cc: alsa-devel
At Mon, 19 May 2003 11:59:28 +0200,
p z oooo wrote:
>
> [1 <text/plain; US-ASCII (quoted-printable)>]
> Sorry, here it is, but this is only half solution.
i added an experimental code for ALC650 to detect the reveion E and
initializes GPIO0 according to the Mic/Center switch.
it's now on cvs. could you check whether it works for you?
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ALC650 + Mic input not working
[not found] <200305210604.IAA04383@www1.pobox.sk>
@ 2003-05-21 9:46 ` Takashi Iwai
0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2003-05-21 9:46 UTC (permalink / raw)
To: p z oooo; +Cc: alsa-devel
At Wed, 21 May 2003 08:04:44 +0200,
p z oooo wrote:
>
> Hi,
>
> I tested code and it doesn't work :-(.
> When I deleted code to detect ALC650 rev.E, it worked perfect. :-)
>
> May be:
> 1) MSI uses ALC650 rev.E and stil uses gpio0 to switch mic power
> on/off
> 2) detection code for ALC650 rev.E is wrong
most likely the latter...
perhaps chaging GPIO0 won't affect the behavior of rev.E.
i'll remove it.
thanks,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-05-21 9:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-19 9:59 ALC650 + Mic input not working p z oooo
2003-05-20 8:59 ` Takashi Iwai
[not found] <200305210604.IAA04383@www1.pobox.sk>
2003-05-21 9:46 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2003-05-19 10:22 p z oooo
2003-05-19 5:54 p z oooo
2003-05-19 9:48 ` 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.