From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: Detection of ALC650 rev.E Date: Wed, 27 Aug 2003 15:23:09 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200305210604.IAA04383@www1.pobox.sk> <3F4BA046.6060904@superbug.demon.co.uk> <3F4BBC48.7030800@superbug.demon.co.uk> <3F4BC986.7080705@superbug.demon.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3F4BC986.7080705@superbug.demon.co.uk> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: James Courtier-Dutton Cc: p z oooo , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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) { > > > > 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