Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* 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
* 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

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 11:29 Using Alsa for AD1981b on 9263 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
  -- strict thread matches above, loose matches on Subject: below --
2009-07-28  8:30 Shilpa Kedar Walvekar
2009-07-28  9:54 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox