* Re: ALC650 + Mic input not working
[not found] <200305210604.IAA04383@www1.pobox.sk>
@ 2003-05-21 9:46 ` Takashi Iwai
2003-08-26 18:00 ` Detection of ALC650 rev.E James Courtier-Dutton
0 siblings, 1 reply; 9+ 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] 9+ messages in thread
* Re: Detection of ALC650 rev.E
2003-08-26 18:00 ` Detection of ALC650 rev.E James Courtier-Dutton
@ 2003-08-26 17:58 ` Takashi Iwai
2003-08-26 20:00 ` James Courtier-Dutton
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-08-26 17:58 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: p z oooo, alsa-devel
At Tue, 26 Aug 2003 19:00:38 +0100,
James Courtier-Dutton wrote:
>
> Takashi Iwai wrote:
> > 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
> >
> >
> How is the ALC650 rev.E detected? I could not see anything in the alc650
> pdf specifications to indicate how to detect the ALC650 rev.E or not.
no, the detection code was removed (as written above), because it
simply didn't work as expected :)
please let me know if you have any idea how to detect it.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
^ permalink raw reply [flat|nested] 9+ messages in thread
* Detection of ALC650 rev.E
2003-05-21 9:46 ` ALC650 + Mic input not working Takashi Iwai
@ 2003-08-26 18:00 ` James Courtier-Dutton
2003-08-26 17:58 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2003-08-26 18:00 UTC (permalink / raw)
To: Takashi Iwai; +Cc: p z oooo, alsa-devel
Takashi Iwai wrote:
> 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
>
>
How is the ALC650 rev.E detected? I could not see anything in the alc650
pdf specifications to indicate how to detect the ALC650 rev.E or not.
Cheers
James
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Detection of ALC650 rev.E
2003-08-26 17:58 ` Takashi Iwai
@ 2003-08-26 20:00 ` James Courtier-Dutton
2003-08-26 20:56 ` James Courtier-Dutton
0 siblings, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2003-08-26 20:00 UTC (permalink / raw)
To: Takashi Iwai; +Cc: p z oooo, alsa-devel
Takashi Iwai wrote:
> At Tue, 26 Aug 2003 19:00:38 +0100,
> James Courtier-Dutton wrote:
>
>>Takashi Iwai wrote:
>>
>>>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
>>>
>>>
>>
>>How is the ALC650 rev.E detected? I could not see anything in the alc650
>>pdf specifications to indicate how to detect the ALC650 rev.E or not.
>
>
> no, the detection code was removed (as written above), because it
> simply didn't work as expected :)
> please let me know if you have any idea how to detect it.
>
>
> Takashi
>
>
Can you point me at the code you used to detect it. I have some code
here that is supposed to detect it, and I just want to compare it with
your previous code before I bother sending it as a patch.
Cheers
James
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: Detection of ALC650 rev.E
2003-08-26 20:00 ` James Courtier-Dutton
@ 2003-08-26 20:56 ` James Courtier-Dutton
2003-08-27 13:23 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2003-08-26 20:56 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: Takashi Iwai, p z oooo, alsa-devel
James Courtier-Dutton wrote:
> Takashi Iwai wrote:
>
>> At Tue, 26 Aug 2003 19:00:38 +0100,
>> James Courtier-Dutton wrote:
>>
>>> Takashi Iwai wrote:
>>>
>>>> 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
>>>>
>>>>
>>>
>>> How is the ALC650 rev.E detected? I could not see anything in the
>>> alc650 pdf specifications to indicate how to detect the ALC650 rev.E
>>> or not.
>>
>>
>>
>> no, the detection code was removed (as written above), because it
>> simply didn't work as expected :)
>> please let me know if you have any idea how to detect it.
>>
>>
>> Takashi
>>
>>
> Can you point me at the code you used to detect it. I have some code
> here that is supposed to detect it, and I just want to compare it with
> your previous code before I bother sending it as a patch.
> Cheers
> James
>
>
P.S. The code I have depends on the contents of AC97 register 0x6e.
Source of this code is: -
http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True
Then download the Linux driver. It is a version of the alsa kernel
drivers, but with modifications.
/* reg = contents of AC97 reg 0x6e */
switch(ac97->id & 0xfffffff0) {
<snip>
case 0x414c4720: // ALC650
if (((reg & 0x3f) > 0) && ((reg & 0x3f) < 3))
ac97->id = 0x414c4720; // Early version.
else if (((reg & 0x3f) > 2) && ((reg & 0x3f) < 0x10))
ac97->id = 0x414c4721; // D version
else if ((reg&0x30) == 0x10)
ac97->id = 0x414c4722; // E version
else if ((reg&0x30) == 0x20)
ac97->id = 0x414c4723; // F version
break;
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: Detection of ALC650 rev.E
2003-08-26 20:56 ` James Courtier-Dutton
@ 2003-08-27 13:23 ` Takashi Iwai
2003-08-27 15:08 ` James Courtier-Dutton
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-08-27 13:23 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: p z oooo, alsa-devel
At Tue, 26 Aug 2003 21:56:38 +0100,
James Courtier-Dutton wrote:
>
> > Can you point me at the code you used to detect it. I have some code
> > here that is supposed to detect it, and I just want to compare it with
> > your previous code before I bother sending it as a patch.
> > Cheers
> > James
> >
> >
> P.S. The code I have depends on the contents of AC97 register 0x6e.
> Source of this code is: -
> http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True
>
> Then download the Linux driver. It is a version of the alsa kernel
> drivers, but with modifications.
>
> /* reg = contents of AC97 reg 0x6e */
> switch(ac97->id & 0xfffffff0) {
>
> <snip>
>
> case 0x414c4720: // ALC650
> if (((reg & 0x3f) > 0) && ((reg & 0x3f) < 3))
> ac97->id = 0x414c4720; // Early version.
> else if (((reg & 0x3f) > 2) && ((reg & 0x3f) < 0x10))
> ac97->id = 0x414c4721; // D version
> else if ((reg&0x30) == 0x10)
> ac97->id = 0x414c4722; // E version
> else if ((reg&0x30) == 0x20)
> ac97->id = 0x414c4723; // F version
> break;
oh, then it's apparently different.
i checked MULTICH register bits but it didn't work anyway.
the above looks better (hey where is such a thing described!).
could you send me a patch?
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: Detection of ALC650 rev.E
2003-08-27 13:23 ` Takashi Iwai
@ 2003-08-27 15:08 ` James Courtier-Dutton
2003-08-27 15:09 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2003-08-27 15:08 UTC (permalink / raw)
To: Takashi Iwai; +Cc: p z oooo, alsa-devel
Takashi Iwai wrote:
> At Tue, 26 Aug 2003 21:56:38 +0100,
> James Courtier-Dutton wrote:
>
>>>Can you point me at the code you used to detect it. I have some code
>>>here that is supposed to detect it, and I just want to compare it with
>>>your previous code before I bother sending it as a patch.
>>>Cheers
>>>James
>>>
>>>
>>
>>P.S. The code I have depends on the contents of AC97 register 0x6e.
>>Source of this code is: -
>>http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True
>>
>>Then download the Linux driver. It is a version of the alsa kernel
>>drivers, but with modifications.
>>
>>/* reg = contents of AC97 reg 0x6e */
>>switch(ac97->id & 0xfffffff0) {
>>
>><snip>
>>
>>case 0x414c4720: // ALC650
>> if (((reg & 0x3f) > 0) && ((reg & 0x3f) < 3))
>> ac97->id = 0x414c4720; // Early version.
>> else if (((reg & 0x3f) > 2) && ((reg & 0x3f) < 0x10))
>> ac97->id = 0x414c4721; // D version
>> else if ((reg&0x30) == 0x10)
>> ac97->id = 0x414c4722; // E version
>> else if ((reg&0x30) == 0x20)
>> ac97->id = 0x414c4723; // F version
>> break;
>
>
> oh, then it's apparently different.
> i checked MULTICH register bits but it didn't work anyway.
>
> the above looks better (hey where is such a thing described!).
> could you send me a patch?
>
>
> Takashi
>
>
If you go to the realtek site (url above) and download the linux
drivers. They are source code, and look like a modified version of
alsa-driver.
I just extracted the info from the realtek source code.
Cheers
James
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: Detection of ALC650 rev.E
2003-08-27 15:08 ` James Courtier-Dutton
@ 2003-08-27 15:09 ` Takashi Iwai
2003-08-27 16:31 ` James Courtier-Dutton
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-08-27 15:09 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: p z oooo, alsa-devel
At Wed, 27 Aug 2003 16:08:19 +0100,
James Courtier-Dutton wrote:
>
> Takashi Iwai wrote:
> > At Tue, 26 Aug 2003 21:56:38 +0100,
> > James Courtier-Dutton wrote:
> >
> >>>Can you point me at the code you used to detect it. I have some code
> >>>here that is supposed to detect it, and I just want to compare it with
> >>>your previous code before I bother sending it as a patch.
> >>>Cheers
> >>>James
> >>>
> >>>
> >>
> >>P.S. The code I have depends on the contents of AC97 register 0x6e.
> >>Source of this code is: -
> >>http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True
> >>
> >>Then download the Linux driver. It is a version of the alsa kernel
> >>drivers, but with modifications.
> >>
> >>/* reg = contents of AC97 reg 0x6e */
> >>switch(ac97->id & 0xfffffff0) {
> >>
> >><snip>
> >>
> >>case 0x414c4720: // ALC650
> >> if (((reg & 0x3f) > 0) && ((reg & 0x3f) < 3))
> >> ac97->id = 0x414c4720; // Early version.
> >> else if (((reg & 0x3f) > 2) && ((reg & 0x3f) < 0x10))
> >> ac97->id = 0x414c4721; // D version
> >> else if ((reg&0x30) == 0x10)
> >> ac97->id = 0x414c4722; // E version
> >> else if ((reg&0x30) == 0x20)
> >> ac97->id = 0x414c4723; // F version
> >> break;
> >
> >
> > oh, then it's apparently different.
> > i checked MULTICH register bits but it didn't work anyway.
> >
> > the above looks better (hey where is such a thing described!).
> > could you send me a patch?
> >
> >
> > Takashi
> >
> >
> If you go to the realtek site (url above) and download the linux
> drivers. They are source code, and look like a modified version of
> alsa-driver.
> I just extracted the info from the realtek source code.
yep, that i know. i did want to say "where is documetation!" ;)
for the time being, i have no time at all, so it'd be helpful if
anyone can send us a patch...
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Re: Detection of ALC650 rev.E
2003-08-27 15:09 ` Takashi Iwai
@ 2003-08-27 16:31 ` James Courtier-Dutton
0 siblings, 0 replies; 9+ messages in thread
From: James Courtier-Dutton @ 2003-08-27 16:31 UTC (permalink / raw)
To: Takashi Iwai; +Cc: p z oooo, alsa-devel
Takashi Iwai wrote:
> At Wed, 27 Aug 2003 16:08:19 +0100,
> James Courtier-Dutton wrote:
>
>>Takashi Iwai wrote:
>>
>>>At Tue, 26 Aug 2003 21:56:38 +0100,
>>>James Courtier-Dutton wrote:
>>>
>>>
>>>>>Can you point me at the code you used to detect it. I have some code
>>>>>here that is supposed to detect it, and I just want to compare it with
>>>>>your previous code before I bother sending it as a patch.
>>>>>Cheers
>>>>>James
>>>>>
>>>>>
>>>>
>>>>P.S. The code I have depends on the contents of AC97 register 0x6e.
>>>>Source of this code is: -
>>>>http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True
>>>>
>>>>Then download the Linux driver. It is a version of the alsa kernel
>>>>drivers, but with modifications.
>>>>
>>>>/* reg = contents of AC97 reg 0x6e */
>>>>switch(ac97->id & 0xfffffff0) {
>>>>
>>>><snip>
>>>>
>>>>case 0x414c4720: // ALC650
>>>> if (((reg & 0x3f) > 0) && ((reg & 0x3f) < 3))
>>>> ac97->id = 0x414c4720; // Early version.
>>>> else if (((reg & 0x3f) > 2) && ((reg & 0x3f) < 0x10))
>>>> ac97->id = 0x414c4721; // D version
>>>> else if ((reg&0x30) == 0x10)
>>>> ac97->id = 0x414c4722; // E version
>>>> else if ((reg&0x30) == 0x20)
>>>> ac97->id = 0x414c4723; // F version
>>>> break;
>>>
>>>
>>>oh, then it's apparently different.
>>>i checked MULTICH register bits but it didn't work anyway.
>>>
>>>the above looks better (hey where is such a thing described!).
>>>could you send me a patch?
>>>
>>>
>>>Takashi
>>>
>>>
>>
>>If you go to the realtek site (url above) and download the linux
>>drivers. They are source code, and look like a modified version of
>>alsa-driver.
>>I just extracted the info from the realtek source code.
>
>
> yep, that i know. i did want to say "where is documetation!" ;)
>
> for the time being, i have no time at all, so it'd be helpful if
> anyone can send us a patch...
>
>
> Takashi
>
>
I don't have time to create a patch from that code at the moment. I am
working on getting audigy2 passthru working.
Cheers
James
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-08-27 16:31 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200305210604.IAA04383@www1.pobox.sk>
2003-05-21 9:46 ` ALC650 + Mic input not working Takashi Iwai
2003-08-26 18:00 ` Detection of ALC650 rev.E James Courtier-Dutton
2003-08-26 17:58 ` Takashi Iwai
2003-08-26 20:00 ` James Courtier-Dutton
2003-08-26 20:56 ` James Courtier-Dutton
2003-08-27 13:23 ` Takashi Iwai
2003-08-27 15:08 ` James Courtier-Dutton
2003-08-27 15:09 ` Takashi Iwai
2003-08-27 16:31 ` James Courtier-Dutton
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.