|To:||"Freddy Spierenburg" <email@example.com>|
|Subject:||Re: Trouble with sound/mips/au1x00.c AC97 driver|
|From:||"Marco Braga" <firstname.lastname@example.org>|
|Date:||Sat, 10 Mar 2007 14:20:27 +0100|
|Dkim-signature:||a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=o5bqfyZUbcGhxoKlcFZ7MZycm7bNM5Md2E4FUirHx/+qfkcnHPqqt51lWEschy6JnaMEijyu4LtU7QHd2ayOtbP63tvGeaE4npd8KUKtGhzdMQj+pGnZLPeuYj5wNvZNt3SiqT00qktBfXu44epKZec2jkPrXK8raGFaTOcYHlM=|
|Domainkey-signature:||a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=frWxhPCgubyq1gjZnuUB+G8zr6LK+2O96sRW6GsJ9mROvR2V9zutjz61WCS0vFOjA03LBCQ1ZOq0W2Ik4JWhhtw3mduW2iQzGTXMMvS5e8zrwoeCHJkVRAXMkMVSUBuOGSjK23beNErleMqLVk72UH0Ng7Ltw2s38xmKDqaMNjU=|
|References:||<20070307104930.GD25248@dusktilldawn.nl> <email@example.com> <20070309103307.GI25248@dusktilldawn.nl>|
Friday I've had some time to explore the problem. My current experience is with an Au1500 based custom board. I've compiled the ALSA modules for the integrated AC97 in kernel 18.104.22.168. I've still not noticed the problem with the missing controls, but my most frequent issue is with the "AC'97 0 access error (not audio or modem codec)" error message. Notice that when this message is issued the module is not loaded, so I have to reload it.
At the moment the only solution for this problem is to force a device reset during the board setup. Strange enough, it is exactly the same thing done in the module with the lines:
/* Initialise Au1000's AC'97 Control Block */
au1000->ac97_ioport->cntrl = AC97C_RS | AC97C_CE;
au1000->ac97_ioport->cntrl = AC97C_CE;
Perhaps the delays are not correct, and doing them in the board setup (at kernel start) leaves enought time for the clocks to stabilize (just guessing).
Basically you have to play with bits 0 and 1 in the device control register (0xB000 0010).
I'll check the issue again next monday, but I am for sure not a kernel guru.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [PATCH] Cleanup FPU ownership management, Ralf Baechle|
|Next by Date:||Re: [PATCH] Have sigpoll and sigio band field match glibc for n64, Ralf Baechle|
|Previous by Thread:||Re: Trouble with sound/mips/au1x00.c AC97 driver, Freddy Spierenburg|
|Next by Thread:||Re: Trouble with sound/mips/au1x00.c AC97 driver, Marco Braga|
|Indexes:||[Date] [Thread] [Top] [All Lists]|