Re: (snd_ctl_open_noupdate) Invalid CTL hw:0

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

 



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 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 build host path
> rather than the target path.  I recently had a similar problem bringing
> up ALSA on an embedded PPC system.
> 
> Install strace on your target (it's very easy) and strace the failing
> aplay process to see which open() call fails.
> 
> Lee

root@OpenWrt:~# strace -eopen aplay -l
open("/lib/libasound.so.2", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("/lib/libasound.so.2", O_RDONLY)   = -1 ENOENT (No such file or
directory)
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
open("/lib/libm.so.0", O_RDONLY)        = 3
open("/lib/libdl.so.0", O_RDONLY)       = 3
open("/lib/libpthread.so.0", O_RDONLY)  = 3
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
open("/lib/libc.so.0", O_RDONLY)        = 3
open("/dev/snd/controlC0", O_RDONLY)    = 3
**** List of PLAYBACK Hardware Devices ****
ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:231: control open (0): No such file or directory
open("/dev/snd/controlC1", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/dev/aloadC1", O_RDONLY)          = -1 ENOENT (No such file or
directory)
open("/dev/snd/controlC2", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/dev/aloadC2", O_RDONLY)          = -1 ENOENT (No such file or
directory)
[...]

-------------------------------------------------------------------------
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