* Using Alsa for AD1981b on 9263
@ 2009-07-28 8:30 Shilpa Kedar Walvekar
2009-07-28 9:54 ` Mark Brown
0 siblings, 1 reply; 6+ messages in thread
From: Shilpa Kedar Walvekar @ 2009-07-28 8:30 UTC (permalink / raw)
To: Alsa-devel@alsa-project.org
Hi,
I am using AT91SAM9263 evaluation kit with AD1981b codec. I want to use alsa to play and record audio on this kit.
I tried to install the alsa library, alsa-oss, alsa-util. Alsa driver was part of kernel (2.6.27). I did, ./configure && make && make install for library, oss and util. Now when I try to do aplay -l following happens:
aplay: device_list:223: no soundcards found...
Don't know what is happening. Am I missing any step? What else should be done?
Please help me asap.
Regards,
--Shilpa.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Using Alsa for AD1981b on 9263
2009-07-28 8:30 Using Alsa for AD1981b on 9263 Shilpa Kedar Walvekar
@ 2009-07-28 9:54 ` Mark Brown
0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2009-07-28 9:54 UTC (permalink / raw)
To: Shilpa Kedar Walvekar; +Cc: Alsa-devel@alsa-project.org
On Tue, Jul 28, 2009 at 02:00:21PM +0530, Shilpa Kedar Walvekar wrote:
> I am using AT91SAM9263 evaluation kit with AD1981b codec. I want to use alsa to play and record audio on this kit.
> I tried to install the alsa library, alsa-oss, alsa-util. Alsa driver was part of kernel (2.6.27). I did, ./configure && make && make install for library, oss and util. Now when I try to do aplay -l following happens:
> aplay: device_list:223: no soundcards found...
> Don't know what is happening. Am I missing any step? What else should be done?
> Please help me asap.
You need an audio driver for the card; Linux 2.6.27 does not have an
AC97 driver for the Atmel CPUs. The out of tree Atmel patches for
2.6.27 may have had one.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Using Alsa for AD1981b on 9263
@ 2009-07-28 11:29 Shilpa Kedar Walvekar
2009-07-28 11:39 ` Mark Brown
0 siblings, 1 reply; 6+ messages in thread
From: Shilpa Kedar Walvekar @ 2009-07-28 11:29 UTC (permalink / raw)
To: Alsa-devel@alsa-project.org
Hi,
Addition to my earlier post:
We are using AT91SAM9263 evaluation kit with on-board AD1981b codec. We are using Linux kernel version 2.6.27 with patches available on http://linux4sam.com. We found from the forum that we need to use ALSA for playing and recording audio using this codec.
So we downloaded
Alsa-lib-1.0.20
Alsa-oss-1.0.20
Alsa-utils-1.0.20
We installed above using:
./configure && make && make install
We then downloaded alsa-driver-1.0.20 and installed it using below:
./configure --with-cards=atmel-ac97c --with-kernel=../../linux-2.6.27 --with-build=../../linux-2.6.27 && make ARCH=arm && make install-modules
Driver was compiled and installed successfully.
We found following:
# cat /proc/asound/cards
0 [AC97 ]: ac97c - Atmel AC97
Atmel AC97 Controller at 0xfffa0000, irq 18
# lsmod
Module Size Used by Not tainted
snd_at91_ac97 8420 0
snd_ac97_codec 99904 1 snd_at91_ac97
snd_soc_atmel_pcm 4484 0
snd_soc_core 30852 1 snd_soc_atmel_pcm
snd_pcm 60772 4 snd_at91_ac97,snd_ac97_codec,snd_soc_atmel_pcm,s
nd_soc_core
snd_page_alloc 6056 1 snd_pcm
snd_timer 19588 1 snd_pcm
snd 47700 5 snd_at91_ac97,snd_ac97_codec,snd_soc_core,snd_pc
m,snd_timer
soundcore 6052 1 snd
ac97_bus 1568 1 snd_ac97_codec
# cat /home/.asoundrc
pcm.!default { type hw card 0 } ctl.!default { type hw card 0 }
We have following devices in /dev/snd
# cat /dev/snd/
/dev/snd/controlC0 /dev/snd/controlC3 /dev/snd/hwC0D2 /dev/snd/timer
/dev/snd/controlC1 /dev/snd/hwC0D0 /dev/snd/hwC0D3
/dev/snd/controlC2 /dev/snd/hwC0D1 /dev/snd/seq
# aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:2700:(snd_config_hooks_call) Cannot open shared library (null)
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:232: control open (0): No such file or directory
We are not able to get if module is getting loaded, then why aplay doesn't list the device?
Please help us to get the audio codec working.
Regards,
--Shilpa.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Using Alsa for AD1981b on 9263
2009-07-28 11:29 Shilpa Kedar Walvekar
@ 2009-07-28 11:39 ` Mark Brown
2009-07-29 7:31 ` Shilpa Kedar Walvekar
0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2009-07-28 11:39 UTC (permalink / raw)
To: Shilpa Kedar Walvekar; +Cc: Alsa-devel@alsa-project.org
On Tue, Jul 28, 2009 at 04:59:12PM +0530, Shilpa Kedar Walvekar wrote:
> **** List of PLAYBACK Hardware Devices ****
> ALSA lib conf.c:2700:(snd_config_hooks_call) Cannot open shared library (null)
> ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
> aplay: device_list:232: control open (0): No such file or directory
> We are not able to get if module is getting loaded, then why aplay doesn't list the device?
> Please help us to get the audio codec working.
This is a toolchain problem. Normally it's that the uclibc toolchain
Atmel use by default doesn't support symbol versioning which means you
have to pass a configure option to ALSA to disable symbol versioning but
you're likely to get better help from an Atmel-specific place.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Using Alsa for AD1981b on 9263
2009-07-28 11:39 ` Mark Brown
@ 2009-07-29 7:31 ` Shilpa Kedar Walvekar
2009-07-29 9:08 ` Alan Horstmann
0 siblings, 1 reply; 6+ messages in thread
From: Shilpa Kedar Walvekar @ 2009-07-29 7:31 UTC (permalink / raw)
To: Alsa-devel@alsa-project.org
Hi Mark,
I built the alsa lib with " --without-versioned". But still if I give aplay -l, I get following:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:2700:(snd_config_hooks_call) Cannot open shared library (null)
ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:232: control open (0): No such file or directory
Atmel is not responding for this issue. I have already placed a query on Atmel forum as well. But no reply from there.
Thanks & Regards,
--Shilpa.
-----Original Message-----
From: Mark Brown [mailto:broonie@opensource.wolfsonmicro.com]
Sent: Tuesday, July 28, 2009 5:09 PM
To: Shilpa Kedar Walvekar
Cc: Alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] Using Alsa for AD1981b on 9263
On Tue, Jul 28, 2009 at 04:59:12PM +0530, Shilpa Kedar Walvekar wrote:
> **** List of PLAYBACK Hardware Devices ****
> ALSA lib conf.c:2700:(snd_config_hooks_call) Cannot open shared library (null)
> ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing configuration
> aplay: device_list:232: control open (0): No such file or directory
> We are not able to get if module is getting loaded, then why aplay doesn't list the device?
> Please help us to get the audio codec working.
This is a toolchain problem. Normally it's that the uclibc toolchain
Atmel use by default doesn't support symbol versioning which means you
have to pass a configure option to ALSA to disable symbol versioning but
you're likely to get better help from an Atmel-specific place.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Using Alsa for AD1981b on 9263
2009-07-29 7:31 ` Shilpa Kedar Walvekar
@ 2009-07-29 9:08 ` Alan Horstmann
0 siblings, 0 replies; 6+ messages in thread
From: Alan Horstmann @ 2009-07-29 9:08 UTC (permalink / raw)
To: Shilpa Kedar Walvekar; +Cc: ALSA devel
On Wednesday 29 July 2009 08:31, Shilpa Kedar Walvekar wrote:
> Hi Mark,
>
> I built the alsa lib with " --without-versioned". But still if I give aplay
> -l, I get following:
>
> # aplay -l
> **** List of PLAYBACK Hardware Devices ****
> ALSA lib conf.c:2700:(snd_config_hooks_call) Cannot open shared library
> (null) ALSA lib conf.c:3079:(snd_config_update_r) hooks failed, removing
> configuration aplay: device_list:232: control open (0): No such file or
> directory
>
> Atmel is not responding for this issue. I have already placed a query on
> Atmel forum as well. But no reply from there.
During my work using ALSA on ARM the Alsa-lib configure option was
--with-versioned=no
but maybe either works. There are a couple of other possibilities here:-
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-August/009898.html
HTH
Alan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-29 8:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 8:30 Using Alsa for AD1981b on 9263 Shilpa Kedar Walvekar
2009-07-28 9:54 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2009-07-28 11:29 Shilpa Kedar Walvekar
2009-07-28 11:39 ` Mark Brown
2009-07-29 7:31 ` Shilpa Kedar Walvekar
2009-07-29 9:08 ` Alan Horstmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox