public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: David Cohen <david.cohen@indt.org.br>
To: "ext Zhang, Jian" <jzhang@ti.com>
Cc: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: Re: quick test OMAP ALSA driver on H2
Date: Tue, 15 Aug 2006 14:18:27 -0400	[thread overview]
Message-ID: <44E20FF3.9030008@indt.org.br> (raw)
In-Reply-To: <304D2A85A9643F4A991BDDF8D297BBA6041524A8@dlee05.ent.ti.com>

Hi Jian,

ext Zhang, Jian wrote:
> Anderson and Daniel,
>
> First of all, I appreciate your info. I completely ignored ALSA utils.
> The ALSA web site did talk about directly cating a file to a PCM device
> node. I thought that would be a quick & dirty check. Can you tell me the
> devices under /dev/snd/?
>
> Just downloaded alsa 1.0.11 utils and tried to cross compile it. The
> following command doesn't seem to pass the right lib location. Any idea
> what's going wrong?
>
> $ CC=arm_v5t_le-gcc ./configure --target=arm-linux --host=i686-pc-linux
> --prefix=~/alsa/alsa-lib-1.0.11/
>
> ....
> checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
> checking for libasound headers version >= 1.0.9... not present.
> configure: error: Sufficiently new version of libasound not found.   
>
>   
It seems either you don't have the alsa-lib cross-compiled or you need
to pass the alsa-lib headers path.
BTW, why don't you try to use scratchbox to cross-compile? Could make
your task easier. :)

Kind regards,

David Cohen
> Regards,
> Jian
>
> -----Original Message-----
> From: Anderson Briglia [mailto:anderson.briglia@indt.org.br] 
> Sent: Tuesday, August 15, 2006 9:44 AM
> To: ext Daniel Petrini
> Cc: Zhang, Jian; OMAP-Linux
> Subject: Re: quick test OMAP ALSA driver on H2
>
> Hi Jian,
>
> ext Daniel Petrini wrote:
>   
>> Did you tried aplay and other applications from alsa-utils?
>> In my tests I always walked through that path.
>>     
>
> I compiled a kernel for H2 with ALSA driver (using the latest linux-omap
> git tree) and did
> some tests (just played a wav file) using aplay. The sound was played
> properly.
> You can check if the device is present using "aplay -l" command.
>
> root@arm:~/sound# aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: TSC2101 [H2 TSC2101], device 0: OMAP PCM [omap alsa pcm]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
>
> Regards,
>
> Anderson Briglia
>
>   
>>> Hi everyone,
>>>
>>> I managed to get a H2 board and booted an ALSA enabled kernel on it.
>>>       
> The
>   
>>> kernel boot log shows "H2 TSC2101" as the #0 ALSA device. To do a
>>>       
> quick
>   
>>> test, I have manually created a pcm device node:
>>> /dev/snd/pcmC0D0 116, 16, c
>>>       
>> [...]
>>
>>     
>>> Regards,
>>>
>>> Jian
>>>       
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>   

  reply	other threads:[~2006-08-15 18:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15 11:00 quick test OMAP ALSA driver on H2 Daniel Petrini
2006-08-15 14:44 ` Anderson Briglia
2006-08-15 16:12   ` Zhang, Jian
2006-08-15 18:18     ` David Cohen [this message]
2006-08-15 18:28     ` Anderson Briglia
2006-08-15 19:39       ` Zhang, Jian
2006-08-18  2:18         ` lamikr
  -- strict thread matches above, loose matches on Subject: below --
2006-08-14 20:45 Zhang, Jian

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=44E20FF3.9030008@indt.org.br \
    --to=david.cohen@indt.org.br \
    --cc=jzhang@ti.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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