Iceuse - Kris
2005-Nov-07  12:59 UTC
[Icecast] Unable to configure Ices with alsa for Creative Labs SB Audigy LS
Hello,
I have a computer with this sound card (from lspci):
0000:01:04.0 Multimedia audio controller: Creative Labs SB Audigy LS
Alsa is installed (maybe not properly...)
# cat /proc/asound/cards
0 [CA0106         ]: CA0106 - CA0106
                     Live! 7.1 24bit [SB0410] at 0xc800 irq 10
But I have the impression alsa is ok :
:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CA0106 [CA0106], device 0: ca0106 [CA0106]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 1: ca0106 [CA0106]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 2: ca0106 [CA0106]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 3: ca0106 [CA0106]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
But when I put
hw:0,0
as input device, I'm getting
[2005-11-07  21:53:19] EROR input-alsa/alsa_open_module Failed to open 
audio device hw:0,0: No such device or address
I tried many other values, hwplug:0,0 ... but still the same problem.
Full input configuration is
                <input>
                        <!-- MODULE -->
                        <module>alsa</module>
                        <param
name="device">hw:0,0</param>
                        <param name="rate">44100</param>
                        <param name="channels">1</param>
                        <param name="periods">2</param>
                        <param
name="buffer-time">500</param>
                        <param name="metadata">1</param>
                        <param 
name="metadatafilename">/usr/radio/meta/ices_live_metadata_live.txt</param>
                </input>
alsaconf is running fine, it finds my sound card and is happy.
alsamixer seams to be fine also.
I'm stuck. And I don't know how to activate oss emulation as a fallback.
I'm using
IceS 2.0-kh60
Best regards,
Chris
NB: content of lsmod; sound card driver is ca0106
lsmod
Module                  Size  Used by
sb_lib                 44464  0
uart401                11716  1 sb_lib
ipv6                  235520  10
analog                 11040  0
parport_pc             33476  0
parport                34632  1 parport_pc
floppy                 57796  0
pcspkr                  3936  0
i2c_i801                8332  0
i2c_core               21264  1 i2c_i801
pci_hotplug            27956  0
hw_random               5652  0
intel_agp              21276  1
ide_scsi               16132  0
scsi_mod              137576  1 ide_scsi
3c59x                  40232  0
mii                     5120  1 3c59x
agpgart                33480  1 intel_agp
snd_ca0106             28196  0
snd_ac97_codec         84092  1 snd_ca0106
snd_ac97_bus            2304  1 snd_ac97_codec
snd_als4000            13664  0
snd_sb_common          15232  1 snd_als4000
gameport               15368  2 analog,snd_als4000
snd_pcm_oss            47008  0
snd_mixer_oss          17152  1 snd_pcm_oss
tsdev                   7232  0
snd_pcm                82696  4 
snd_ca0106,snd_ac97_codec,snd_als4000,snd_pcm_oss
snd_page_alloc         10376  2 snd_ca0106,snd_pcm
snd_opl3_lib           10368  1 snd_als4000
mousedev               11424  0
snd_timer              23812  2 snd_pcm,snd_opl3_lib
snd_hwdep               9248  1 snd_opl3_lib
snd_mpu401_uart         7424  1 snd_als4000
snd_rawmidi            24224  1 snd_mpu401_uart
snd_seq_device          8332  2 snd_opl3_lib,snd_rawmidi
snd                    52836  13 
snd_ca0106,snd_ac97_codec,snd_als4000,snd_sb_common,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl
3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
sound                  75180  2 sb_lib,uart401
soundcore              10208  3 sb_lib,snd,sound
psmouse                34308  0
ide_cd                 39684  0
cdrom                  36768  1 ide_cd
genrtc                  9864  0
ext3                  126856  1
jbd                    55188  1 ext3
ide_disk               16512  2
ide_generic             1408  0 [permanent]
via82cxxx              12700  0 [permanent]
trm290                  4228  0 [permanent]
triflex                 3840  0 [permanent]
slc90e66                5888  0 [permanent]
sis5513                14856  0 [permanent]
siimage                11264  0 [permanent]
serverworks             8712  0 [permanent]
sc1200                  7040  0 [permanent]
rz1000                  2816  0 [permanent]
piix                   10116  0 [permanent]
pdc202xx_old           10368  0 [permanent]
pdc202xx_new            8192  0 [permanent]
opti621                 4612  0 [permanent]
ns87415                 4296  0 [permanent]
hpt366                 17792  0 [permanent]
hpt34x                  5120  0 [permanent]
generic                 4612  0 [permanent]
cy82c693                4612  0 [permanent]
cs5530                  5504  0 [permanent]
cs5520                  4736  0 [permanent]
cmd64x                 10908  0 [permanent]
atiixp                  6160  0 [permanent]
amd74xx                13596  0 [permanent]
alim15x3               11020  0 [permanent]
aec62xx                 7296  0 [permanent]
ide_core              116448  29 
ide_scsi,ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,server
works,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,
amd74xx,alim15x3,aec62xx
unix                   26800  8
Karl Heyes
2005-Nov-07  18:04 UTC
[Icecast] Unable to configure Ices with alsa for Creative Labs SB Audigy LS
Iceuse - Kris wrote:> Hello, > > I have a computer with this sound card (from lspci): > 0000:01:04.0 Multimedia audio controller: Creative Labs SB Audigy LS> But when I put > hw:0,0 > as input device, I'm getting > [2005-11-07 21:53:19] EROR input-alsa/alsa_open_module Failed to open > audio device hw:0,0: No such device or address > > I tried many other values, hwplug:0,0 ... but still the same problem. > > Full input configuration is > <input> > <!-- MODULE --> > <module>alsa</module> > <param name="device">hw:0,0</param> > <param name="rate">44100</param> > <param name="channels">1</param> > <param name="periods">2</param> > <param name="buffer-time">500</param> > <param name="metadata">1</param> > <param > name="metadatafilename">/usr/radio/meta/ices_live_metadata_live.txt</param> > </input> > > alsaconf is running fine, it finds my sound card and is happy. > alsamixer seams to be fine also.when you get these sorts of issues, check whether doing a simple record works as expected, eg arecord -f cd sample.wav (tweak parameters to match your settings).> > I'm stuck. And I don't know how to activate oss emulation as a fallback.for the -kh tree define a second <input> block with OSS+parameters defined. karl.
Iceuse - Kris
2005-Nov-09  05:14 UTC
[Icecast] Unable to configure Ices with alsa for Creative Labs SB Audigy LS
Hi, arecord aplay alsamixer are working. But ices is doing: # ../bin/ices ices_conf.16379.xml ALSA lib pcm.c:2038:(snd_pcm_open_conf) symbol _snd_pcm_hw_open is not defined inside (null) Segmentation fault and in the log file: [2005-11-09 14:09:42] EROR input-alsa/alsa_open_module Failed to open audio device hw:0,0: No such device or address Maybe the ices I built is not correct and something is missing (an alsa lib)? Best regards, Chris> Iceuse - Kris wrote: > >> Hello, >> >> I have a computer with this sound card (from lspci): >> 0000:01:04.0 Multimedia audio controller: Creative Labs SB Audigy LS > > > >> But when I put >> hw:0,0 >> as input device, I'm getting >> [2005-11-07 21:53:19] EROR input-alsa/alsa_open_module Failed to >> open audio device hw:0,0: No such device or address >> >> I tried many other values, hwplug:0,0 ... but still the same problem. >> >> Full input configuration is >> <input> >> <!-- MODULE --> >> <module>alsa</module> >> <param name="device">hw:0,0</param> >> <param name="rate">44100</param> >> <param name="channels">1</param> >> <param name="periods">2</param> >> <param name="buffer-time">500</param> >> <param name="metadata">1</param> >> <param >> name="metadatafilename">/usr/radio/meta/ices_live_metadata_live.txt</param> >> >> </input> >> >> alsaconf is running fine, it finds my sound card and is happy. >> alsamixer seams to be fine also. > > > when you get these sorts of issues, check whether doing a simple > record works as expected, eg arecord -f cd sample.wav (tweak > parameters to match your settings). > >> >> I'm stuck. And I don't know how to activate oss emulation as a fallback. > > > for the -kh tree define a second <input> block with OSS+parameters > defined. > > karl. > >
William K. Volkman
2005-Nov-10  18:14 UTC
[Icecast] Unable to configure Ices with alsa for Creative Labs SB Audigy LS
You might check that your ~/.asoundrc configuration file is
correct, should have something like (my first card is the
Audigy LS, the second is a USB audio device):
pcm.emu10k1 { type hw card 0 }
ctl.emu10k1 { type hw card 0 }
pcm.usb  { type hw card 1 }
ctl.usb  { type hw card 1 }
pcm.copy {
    type plug
    slave {
        pcm hw
    }
    route_policy copy
}
HTH,
William.