All of lore.kernel.org
 help / color / mirror / Atom feed
* Alsa-lib problem
@ 2005-08-09 21:57 Nambiar, Anil
  2005-08-09 22:05 ` Lee Revell
  2005-08-09 22:18 ` James Courtier-Dutton
  0 siblings, 2 replies; 26+ messages in thread
From: Nambiar, Anil @ 2005-08-09 21:57 UTC (permalink / raw)
  To: 'alsa-devel@lists.sourceforge.net'

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

Hi,

            I am developing ALSA based sound driver for our arm based soc.
The driver is built as part of the kernel rather than as a loadable module.
If I run a simple wave player which has OSS based interface, it works fine.
Even mplayer works fine in OSS emulation mode. But if I run any native alsa
based player it gives error opening the device. For eg: running 'aplay -D
default demo.wav" give the following error: 

ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default

aplay: main:533: audio open error: No such file or directory

 

The /dev/snd/ looks like this:

drwxr-xr-x    2 root     root         4096 Aug  9  2005 .

drwxr-xr-x    6 root     root         4096 Aug  9  2005 ..

crw-rw-rw-    1 root     root     116,   0 Aug  9  2005 controlC0

crw-rw-rw-    1 root     root     116,  24 Aug  9  2005 pcmC0D0c

crw-rw-rw-    1 root     root     116,  16 Aug  9  2005 pcmC0D0p

crw-rw-rw-    1 root     root     116,   1 Aug  9  2005 seq

crw-rw-rw-    1 root     root     116,  33 Aug  9  2005 timer

 

            If I do "cat demo.wav > dev/snd/pcmC0D0p", it prints the 'open'
msg in my driver. So it seems like the devices I have created are able to
link to my driver. But using alsa-lib it doen't even print the 'open' msg in
the driver. So looks like Alsa-lib does not link to my driver. 

I would appreciate if someone could point and tell me if I'm missing
something as this is the first time I'm developing Alsa device driver. Do I
have to create any configuration files on the root file system? I'm using
the linux kernel 2.6.12.3 and the latest Alsa-lib 1.0.9. 

 

Thanks,

AniL


[-- Attachment #2: Type: text/html, Size: 5045 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2005-08-25  8:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 21:57 Alsa-lib problem Nambiar, Anil
2005-08-09 22:05 ` Lee Revell
2005-08-09 22:18 ` James Courtier-Dutton
2005-08-10  9:48   ` Takashi Iwai
2005-08-15  3:06     ` Compulab sound device Chow Raymond
2005-08-15  7:41       ` Clemens Ladisch
2005-08-15  8:39         ` Chow Raymond
2005-08-15 11:32           ` Clemens Ladisch
2005-08-16  7:04             ` Chow Raymond
2005-08-16  7:22               ` Clemens Ladisch
2005-08-16 12:58                 ` Chow Raymond
2005-08-17 13:40                   ` Clemens Ladisch
2005-08-19 12:47                     ` Chow Raymond
2005-08-19 13:17                       ` Clemens Ladisch
2005-08-19 13:24                       ` Liam Girdwood
2005-08-19 13:51                         ` Chow Raymond
2005-08-19 14:10                           ` Liam Girdwood
2005-08-22  7:06                             ` Chow Raymond
2005-08-23  3:57                               ` Lee Revell
2005-08-23  9:13                                 ` Takashi Iwai
2005-08-23  9:49                                   ` Chow Raymond
2005-08-24 10:32                                   ` Chow Raymond
2005-08-24 12:04                                     ` Takashi Iwai
2005-08-25  1:45                                       ` Chow Raymond
2005-08-25  8:38                                         ` Clemens Ladisch
2005-08-25  8:52                                           ` Chow Raymond

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.