public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Anderson Briglia <anderson.briglia@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:28:54 -0400	[thread overview]
Message-ID: <44E21266.2090901@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/?

Yes, sure:

root@arm:~# ls -la /dev/snd
crw-rw----   1 root audio 116,  0 Dec 31  1969 controlC0
crw-rw----   1 root audio 116, 24 Dec 31  1969 pcmC0D0c
crw-rw----   1 root audio 116, 16 Dec 31  1969 pcmC0D0p
crw-rw----   1 root audio 116, 33 Dec 31  1969 timer

> 
> 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.   
> 

I did not cross-compile the alsa-utils, I just donwloaded the package from the default
Debian arm repository and installed into my root filesystem. But I believe the packages
for ARM platform are not available anymore, I don't know why.
This configuring problem seems that you have to download the libasound headers. Maybe you
can find it at ALSA official project's page.

Regards,

Anderson Briglia

> -----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
>>
> 

  parent reply	other threads:[~2006-08-15 18:28 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
2006-08-15 18:28     ` Anderson Briglia [this message]
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=44E21266.2090901@indt.org.br \
    --to=anderson.briglia@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