[linux-audio-dev] HELP:porting linux audio driver to RTLinux(rtlinux core driver)

Jan Depner eviltwin69 at cableone.net
Fri Apr 8 14:24:17 UTC 2005


On Fri, 2005-04-08 at 12:37, Lee Revell wrote:
> On Fri, 2005-04-08 at 06:24 -0700, nobin matthew wrote:
> >  I am porting pxa audio driver to  rtlinux (rtlinux
> > pro). I am mainly using pxa-ac97.c &
> > pxa-audio.c(eliminated sound_core.c). I will try to
> > register to two devices /dev/dsp and /dev/mixer in
> > that. Since RTlinux kernel api are not much documented
> > it seems very difficult to port dma and
> > synchronization.
> > 
> > Is it possible to use dma in rtlinux(since it needs
> > dynamic memory allocation).
> > 
> > I am sending the source code. can anybody tell me how
> > to port this.
> 
> Personally I think you're wasting your time.  Ingo's RT preempt patches
> let you do hard realtime with Linux using the existing driver base.
> 

    I'm not sure why he's trying to do this because for audio the latest
patched kernels appear to be more than adequate.  That said, I don't
think you can get a guaranteed 15 microsecond interrupt response with
anyone's patches to the standard kernel.  I wouldn't call what we have
now hard real-time.  More like soft real-time.  Maybe when MontaVista
gets done...

Jan





More information about the Linux-audio-dev mailing list