(snd_ctl_open_noupdate) Invalid CTL hw:0

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

 



Hi,

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

2.6.17 kernel, alsa-lib-1.0.13, alsa-utils-1.0.13, CMedia USB sound
dongle.

My error is:
root@OpenWrt:~# aplay -l
**** 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

My /dev and /proc trees look ok (I think!):
root@OpenWrt:~# ls /dev/snd
controlC0  pcmC0D0c   pcmC0D0p   timer
root@OpenWrt:~# ls /proc/asound
card0    default  hwdep    oss      timers
cards    devices  modules  pcm      version
root@OpenWrt:~# cat /proc/asound/devices
  0: [ 0]   : control
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:        : timer

I have no .asoundrc or alsa.conf files, but from reading docs I
don't think I should need them (is that true?).

I also tried building alsa-lib with --with-debug=full, but I see
no alsa output with dmesg. (Presumably a simple goof on my part
but a pointer would be welcome.)

>From /proc/bus/usb/devices I have:
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0d8c ProdID=000c Rev= 1.00
S:  Product=C-Media USB Headphone Set
C:* #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00
Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00
Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00
Driver=snd-usb-audio
E:  Ad=01(O) Atr=09(Isoc) MxPS= 200 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00
Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00
Driver=snd-usb-audio
E:  Ad=82(I) Atr=05(Isoc) MxPS= 100 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=   4 Ivl=32ms

loaded modules:
root@OpenWrt:~# lsmod
Module                  Size  Used by    Tainted: P
snd_pcm_oss 38240 0 - Live 0xc01c1000
snd_mixer_oss 14592 1 snd_pcm_oss, Live 0xc019a000
snd_usb_audio 54304 0 - Live 0xc018b000
snd_hwdep 5168 1 snd_usb_audio, Live 0xc0159000
snd_usb_lib 11456 1 snd_usb_audio, Live 0xc0119000
snd_rawmidi 16384 1 snd_usb_lib, Live 0xc0186000
snd_pcm 65248 2 snd_pcm_oss,snd_usb_audio, Live 0xc01a0000
snd_timer 16304 1 snd_pcm, Live 0xc0181000
snd 35904 8
snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_hwdep,snd_usb_lib,snd_ra
wmidi,snd_pcm,snd_timer, Live 0xc014f000
snd_page_alloc 5168 1 snd_pcm, Live 0xc011d000
i2c_dev 5488 0 - Live 0xc00ec000
usb_storage 26704 0 - Live 0xc015d000
sd_mod 11952 0 - Live 0xc0124000
scsi_mod 68320 2 usb_storage,sd_mod, Live 0xc016f000
i2c_core 11856 1 i2c_dev, Live 0xc0120000
ehci_hcd 39856 0 - Live 0xc012a000
ohci_hcd 25328 0 - Live 0xc0089000
ath_pci 82896 0 - Live 0xc0139000
wlan_xauth 448 0 - Live 0xc0084000
wlan_wep 4608 0 - Live 0xc0086000
wlan_tkip 10784 0 - Live 0xc007a000
wlan_ccmp 6304 0 - Live 0xc006f000
wlan_acl 2784 0 - Live 0xc0078000
ath_rate_sample 10400 1 ath_pci, Live 0xc007e000
ath_hal 221952 2 ath_pci,ath_rate_sample, Live 0xc00ae000
wlan_scan_sta 9664 0 - Live 0xc0068000
wlan_scan_ap 3104 0 - Live 0xc0058000
wlan 167488 9
ath_pci,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_rate_
sample,wlan_scan_sta,wlan_scan_ap, Live 0xc00ef000
soundcore 4784 1 snd, Live 0xc006c000
ppp_async 9440 0 - Live 0xc0061000
ppp_generic 20416 1 ppp_async, Live 0xc0072000
slhc 5632 1 ppp_generic, Live 0xc0065000
crc_ccitt 992 1 ppp_async, Live 0xc005a000
usbcore 113536 6
snd_usb_audio,snd_usb_lib,usb_storage,ehci_hcd,ohci_hcd, Live 0
xc0091000
switch_robo 3984 0 - Live 0xc005f000
switch_core 5088 1 switch_robo, Live 0xc005c000

Let me know if there is more info I could share that would help.

Thanks for any aid!

Peace & music
  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