Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "alasinski" <alasinski@rogers.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Re: Re: Re: How to access vendor specificAC97codecregister?
Date: Thu, 20 Apr 2006 14:54:25 -0400	[thread overview]
Message-ID: <e28ld5$9r1$1@sea.gmane.org> (raw)
In-Reply-To: 1145556884.25762.40.camel@localhost.localdomain

>> Your Google must be better then mine. But I don't give up, I'm still
>> looking. For sure UCB14xx leads nowhere. Little hint could go long way.
> Google for "linux ucb touchscreen driver"
> Also look in drivers/mfd/
OK, I have: drivers/mfd/ucb1x00*.* I will look at those. Thx

>> > This wont work for AC97 codec registers as they are not part of the 
>> > host
>> > memory map and are accessed via the hosts AC97 controller.
>> It should. What I intended to do is make same calls as pxa2xx_ac97_read. 
>> It
>> talks to memory mapped AC97 codec registers to obtain content of UCB1400
>> registers. They appear to be mapped 1 to 1 with gsr_bit toggled as a
>> handshake protocol.
>>
> I'm afraid it's not a simple as that (only register 0x54 can work this
> way - see pxa manual on AC97 slot 12). You still have to check and clear
> the command and status done bits in GSR. You will also have to manage
> access with the audio driver as only one read/write can take place at a
> time over the AC97 link. I'm not sure how your going to use your mmap
> vm_ops to do all this.
I'm not sure either. If pxa2xx_ac97_read() can do it (remenber /proc/...regs 
where all registers are listed?), why applying same strategy in a user code 
would fail ? At that point I will just cobble some code and let it try. As 
far interference with existing ALSA it may be tricky. I will find out a hard 
way, I'm afraid. Will keep you posted. Thx.





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

      reply	other threads:[~2006-04-20 18:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 15:05 How to access vendor specific AC97 codec register ? alasinski
2006-04-20 15:20 ` Takashi Iwai
2006-04-20 15:34   ` alasinski
2006-04-20 15:58     ` Takashi Iwai
2006-04-20 16:15       ` alasinski
2006-04-20 15:27 ` Lee Revell
2006-04-20 15:48   ` How to access vendor specific AC97 codec register? alasinski
2006-04-20 16:13     ` Liam Girdwood
2006-04-20 16:19       ` Takashi Iwai
2006-04-20 16:37         ` Liam Girdwood
2006-04-20 16:37       ` Re: How to access vendor specific AC97 codecregister? alasinski
2006-04-20 16:57         ` Liam Girdwood
2006-04-20 17:40           ` Re: Re: How to access vendor specific AC97codecregister? alasinski
2006-04-20 18:14             ` Liam Girdwood
2006-04-20 18:54               ` alasinski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='e28ld5$9r1$1@sea.gmane.org' \
    --to=alasinski@rogers.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox