Skip to contentSkip to conversation

ALSA driver for AD1881 ?

DISCUSSION Prince.John 1 participant 1 message Mar 7, 2003

lore
Share & tools
lore
#0 lore raw

Hi Manuel Jander,

Thank you very much for this info. On my board, the AD1881 is directly interfaced to an AC97 codec controller. So, I think I need to initialize this codec controller and to fill out the call backs of AC97 layer, PCM Interface and Control Interface, specific to AD1881. Is this right?

Thanks,
Prince

"mjander " <[email protected]> on 03/06/2003 11:30:31 PM

Please respond to [email protected]

To: Prince John/in2/delphiauto@Delphi_IN2
cc:

Subject: Re: [Alsa-devel] ALSA driver for AD1881 ?

hi,

For controlling the ac97 registers, use the ac97 codec ALSA interface. You'll have to write your own drivere for that, but you just havee to fill out a 'write" and a "read" callback, thats it.

For feeding the AC97 codec with PCM data, i suppose that you are using some kind of serial
port (uwire, SPI, SSI or similar) as it is done mostly on DSP boards (i mean Digital Signal Procesors, not sound cards). I have not checked out if there is some kind of PCM over serial driver, but it should be quiet easy to implement, since its a matter of writing the required callbacks only. By the way, if that serial port has a driver you just have to pipe the data to /dev/ttySXX or something like that.

Best Regards

Manuel Jander.

---------- Original Message ----------------------------------
From: "Prince.John" <[email protected]>
Date: Thu, 6 Mar 2003 18:08:25 +0530

Quoted 4 lines

Hi,

I have a Hitachi SH4 based evaluation board with an AD1881 codec

(onboard). It

Quoted 1 line

is an AC'97 compliant codec. I'm in need of an ALSA driver for

the same. Is

Quoted 1 line

there an ALSA driver already available for AD1881? If not where

should I start

Quoted 1 line

to develop a driver for it? I have gone through the Document -

Writing an ALSA

Quoted 1 line

driver by Mr. Takashi Iwai. Mine is not PCI or ISA based one. So

could anyone

Quoted 10 lines

give me some info on how to start with, for such on-board codecs?

Thanks in advance,
Prince.

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView,

The debugger

Quoted 1 line

for complex code. Debugging C/C++ programs can leave you feeling

lost and

Quoted 1 line

disoriented. TotalView can help you find your way. Available on

major UNIX

Quoted 6 lines

and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

.
__________________________________________________
Enviado via NewPlanet WebMail en embedded.cl

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com