Chuck Harrison wrote:
I was being led astray by
http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php ,
which begins in no uncertain terms:
Neither of the .asoundrc or alsa.conf files are required for
ALSA to work properly.
Maybe someone should update that! ;-)
Done.
Clemens
Chuck Harrison wrote:
It looks to me that /dev/snd/controlC0 was opened successfully but
sound_ctl_nopdate disliked something about what it saw.
[EMAIL PROTECTED]:~# strace -eopen aplay -l
...
open(/dev/snd/controlC0, O_RDONLY)= 3
List of PLAYBACK Hardware Devices
ALSA lib
Hi Clemens,
Contrary to what you expect, /dev/snd/controlC0 *does* get opened
before alsa.conf gets stat'ed or opened. I added a simple alsa.conf
file
[EMAIL PROTECTED]:~# cat /usr/share/alsa/alsa.conf
pcm.card0 {
type hw
card 0
}
ctl.card0 {
type hw
card 0
}
and here is the
Chuck Harrison wrote:
Contrary to what you expect, /dev/snd/controlC0 *does* get opened
before alsa.conf gets stat'ed or opened.
This is actually OK, that device file is also used to make sure that
the sound card driver is loaded, and this happens before the control
device is opened.
I added
Thanks, Clemens!
[EMAIL PROTECTED]:~# aplay -l
List of PLAYBACK Hardware Devices
card 0: default [C-Media USB Headphone Set ], device 0: USB Audio
[USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
[EMAIL PROTECTED]:~# aplay -D plughw:0,0 /usr/share/sounds/alsa/Noise.wav
On Tue, 2006-11-14 at 14:53 -0800, Chuck Harrison wrote:
Alsa n00b here starting to bring up alsa on an embedded platform:
openWRT for the Broadcom mips processor used in wireless routers,
I have a Netgear WGT634U. http://www.openwrt.org
Probably a build error that causes aplay to look in the
Thanks, Lee,
Trace below.
It looks to me that /dev/snd/controlC0 was opened successfully but
sound_ctl_nopdate disliked something about what it saw.
Still puzzled,
Chuck
Lee Revell wrote:
On Tue, 2006-11-14 at 14:53 -0800, Chuck Harrison wrote:
Alsa n00b here starting to bring up alsa