Re: (snd_ctl_open_noupdate) Invalid CTL hw:0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Clemens!

root@OpenWrt:~# 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
root@OpenWrt:~# aplay -D plughw:0,0  /usr/share/sounds/alsa/Noise.wav
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little
Endian, Rate 48000 Hz, Mono

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! ;-)

My cross-build Makefile really should have installed
/usr/share/alsa/alsa.conf for me but I'll fix that now.

Clemens Ladisch wrote:
> 
[...]
> 
> This is not a valid alsa.conf file.  Use the one from alsa-lib, i.e.,
> make sure that this one and the other config files are installed
> correctly.

Is there something that needs to be in "the other config files"
for a basic installation like mine? E.g. should the text I
erroneously copied from the "The default plugin" section of
http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php
go into .asoundrc? aplay seems to be working for me, anyway.

I didn't find a .asoundrc in my distribution:
chuck@Debbie:/home/trunk$ find build_mipsel/alsa-lib-1.0.13 -name
'.asoundrc' -print
chuck@Debbie:/home/trunk$

Sorry to be such a dodo-head here, but I'm lost in the docs.

Much obliged,
  Chuck

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux