ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: latest status of i2s on TS-7400

To:
Subject: Re: [ts-7000] Re: latest status of i2s on TS-7400
From: Ciaccia <>
Date: Wed, 23 May 2007 05:04:35 -0700 (PDT)
Hi Igor,
The driver is not in the distro, it's part of the kernel. Download the latest 2.4.26-ts11kernel from here: ftp://ftp.embeddedarm.com/ts-arm-linux-cd/sources/ts7400_tskernel-2.4.26-ts11-may152007.tar.gz

In /linux24/drivers/sound
there are the files needed for enabling EP93xx OSS in the TS 2.4 kernel. More specifically, ep93xx-i2s.c contains the code for the I2S controller + code for some CS codecs (CS4271 and CS4228A). The driver itself is not very well written (the codec code should not be mixed with the pcm code), but Cirrus wrote the driver like that...

Bye
Andrea

 Original Message ----
From: curoles <>
To:
Sent: Wednesday, May 23, 2007 9:51:11 AM
Subject: [ts-7000] Re: latest status of i2s on TS-7400

Hi Andrea,

I have decided to give a try to OSS/TS-2.4.

I look at what is on the SD (Debian installation for development)
from TS and do not see any ep93xx_i2s drivers; by any chance do you
know if it actually is there?

I know TS team adopted cirrus i2s driver, so I guess it is just
question where to find it...

Thanks,
Igor

--- In .com, Ciaccia < .> wrote:
>
> Hi Igor,
> As you know with linux there always are multiple ways for doing
the same thing. This also happens with sound, and right now there
are 2 different ways for it: ALSA and OSS. OSS is included with
kernel 2.4 and in the 2.6 is obsolete, ALSA became part of the
official tree with the 2.6. The TS kernel 2.4 has OSS support for
the EP93XX I2S controller/CS4271, which (if I'm not wrong) uses DMA,
but lacks the powerful feature of ALSA.
>
> I you want to stay with the TS official release (thing I think you
are going to do), you could always compile ALSA as a separate module
for the 2.4 and load it as needed (this I think will be tricky).
>
> First of all you need to decide if you want/need to go the ALSA
way, or if OSS is enugh for you needs. Then you can decide what to
do next.
>
> -ALSA fully supports full-duplex
> -ALSA supports MIDI
>
> -ALSA allows to query the sound cards capabilities
> -ALSA allows abstraction of the underlying hardware
> -ALSA is able to emulate OSS in order to run old applications
>
> -OSS (sometimes) supports full-duplex
> -OSS (usually) don't support MIDI
> ...
>
> Read the point 1.7 Why should I use ALSA/What is the matter with
the OSS/Free
> here: http://www.alsa- project.org/ ~jfulmer/ alsa-faq. html
>
>
> Let me know what you decide, then we will see what to do next...
> Bye
> Andrea
>
> ----- Original Message ----
> From: curoles < >
> To: .com
> Sent: Friday, May 18, 2007 6:32:33 PM
> Subject: [ts-7000] Re: latest status of i2s on TS-7400
>
>
>
>
>
>
>
>
>
>
>
>
>
> Andrea,
>
>
>
> I need to play audio files (wav,mp3). I do not know how
>
> much from "advanced ALSA" features I need, I just would
>
> like to invest my time in something that will work in all
>
> cases, rather than base my design on i2s driver, struggle
>
> with lack of functionality and then move to ALSA.
>
>
>
> Things that I know: I have to use DMA, I like to use abstarctions
>
> ALSA introduces, I do not care about codec, solution has
>
> to be extensible (features list will grow), I better use
>
> stable/officialy supported distro like TS-Linux 2.4.
>
>
>
> I did not know status of ALSA on TS-2.4 and ALSA generally on
>
> TS-7400, this is why created the post. If my messages sound
>
> unclear this is because I have little experience with
>
> ALSA and TS.
>
>
>
> Thanks,
>
> Igor
>
>
>
> --- In .com, Ciaccia <ciacciax@ .> wrote:
>
> >
>
> > > > I did this, I can find the patches and make them available
for
>
> you.
>
> > >
>
> > > That would be nice. I see that you gone thru all these things
in
>
> > > Jan, did you actually manage to get sound via i2s? Anyway, I
am
>
> very
>
> > > interested in your patches, this way or another I must have i2s
>
> > > running, your code will save weeks of my work time...
>
> >
>
> > I think I don't completely understand what you mean with "get
>
> sound with i2s"...
>
> > If you just want to "get sound with i2s" you can use the TS 2.4
>
> kernel, it comes with a
>
> > i2s-cs4271 module in it.
>
> >
>
> > I wanted to have a fully working ALSA support for I2S/CS4271, so
I
>
> moved to the 2.6.
>
> > If my goal was just to send some PCM data to the sound card and
I
>
> did not need all the
>
> > power/flexibility of ALSA, the TS-2.4 kernel could have done the
>
> trick.
>
> >
>
> > Igor, what do you need exactly? If you don't need advanced ALSA
>
> features, forget about my posts.
>
> > If you just want to send some data to your card, you can use the
>
> original TS-2.4 kernel.
>
> >
>
> > > Btw, i2s driver that TS took from cirrus, is it what ALSA code
>
> uses
>
> > > down the road, I mean is it what called to do the job?
>
> >
>
> > I don't understand the line above. The TS-2.4 comes with an ALSA
>
> driver (originally from cirrus).
>
> > The driver "works", but some basic ALSA functionalities
>
> (especially MMAP, also called "zero-copy" communication) are
>
> missing...
>
> >
>
> > I think I misunderstood your first post...
>
> >
>
> > Andrea
>
> >
>
> >
>
> >
>
> >
>
> >
>
> ____________ _________ _________ _________ _________ _________ _
>
> ____________ ___
>
> > Moody friends. Drama queens. Your life? Nope! - their life, your
>
> story. Play Sims Stories at Yahoo! Games.
>
> > http://sims. yahoo.com/
>
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <!--
>
> #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean,
sans-serif;}
> #ygrp-mlmsg table {font-size:inherit; font:100% ;}
> #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica,
clean, sans-serif;}
> #ygrp-mlmsg pre, code {font:115% monospace;}
> #ygrp-mlmsg * {line-height: 1.22em;}
> #ygrp-text{
> font-family: Georgia;
> }
> #ygrp-text p{
> margin:0 0 1em 0;}
> #ygrp-tpmsgs{
> font-family: Arial;
> clear:both;}
> #ygrp-vitnav{
> padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;}
> #ygrp-vitnav a{
> padding:0 1px;}
> #ygrp-actbar{
> clear:both;margin: 25px 0;white-space: nowrap;color: #666;text-
align:right; }
> #ygrp-actbar .left{
> float:left;white- space:nowrap; }
> .bld{font-weight: bold;}
> #ygrp-grft{
> font-family: Verdana;font- size:77%; padding:15px 0;}
> #ygrp-ft{
> font-family: verdana;font- size:77%; border-top: 1px solid #666;
> padding:5px 0;
> }
> #ygrp-mlmsg #logo{
> padding-bottom: 10px;}
>
> #ygrp-vital{
> background-color: #e0ecee;margin- bottom:20px; padding:2px 0 8px 8px;}
> #ygrp-vital #vithd{
> font-size:77% ;font-family: Verdana;font- weight:bold; color:#333; text-
transform:uppercase ;}
> #ygrp-vital ul{
> padding:0;margin: 2px 0;}
> #ygrp-vital ul li{
> list-style-type: none;clear: both;border: 1px solid #e0ecee;
> }
> #ygrp-vital ul li .ct{
> font-weight: bold;color: #ff7900;float: right;width: 2em;text-
align:right; padding-right: .5em;}
> #ygrp-vital ul li .cat{
> font-weight: bold;}
> #ygrp-vital a {
> text-decoration: none;}
>
> #ygrp-vital a:hover{
> text-decoration: underline; }
>
> #ygrp-sponsor #hd{
> color:#999;font- size:77%; }
> #ygrp-sponsor #ov{
> padding:6px 13px;background- color:#e0ecee; margin-bottom: 20px;}
> #ygrp-sponsor #ov ul{
> padding:0 0 0 8px;margin:0; }
> #ygrp-sponsor #ov li{
> list-style-type: square;padding: 6px 0;font-size: 77%;}
> #ygrp-sponsor #ov li a{
> text-decoration: none;font- size:130% ;}
> #ygrp-sponsor #nc {
> background-color: #eee;margin- bottom:20px; padding:0 8px;}
> #ygrp-sponsor .ad{
> padding:8px 0;}
> #ygrp-sponsor .ad #hd1{
> font-family: Arial;font- weight:bold; color:#628c2a; font-
size:100%;line- height:122% ;}
> #ygrp-sponsor .ad a{
> text-decoration: none;}
> #ygrp-sponsor .ad a:hover{
> text-decoration: underline; }
> #ygrp-sponsor .ad p{
> margin:0;}
> o {font-size:0; }
> .MsoNormal {
> margin:0 0 0 0;}
> #ygrp-text tt{
> font-size:120% ;}
> blockquote{margin: 0 0 0 4px;}
> .replbq {margin:4;}
> -->
>
>
>
>
>
>
>
>
>
>
____________ _________ _________ _________ _________ _________ _
____________ ___Get the free Yahoo! toolbar and rest assured with the
added security of spyware protection.
> http://new.toolbar. yahoo.com/ toolbar/features /norton/index. php
>




Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. __._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU