You are not logged in.
hello,
using archlinux KDE and can't make my soundcard work
lspci recognizes two sound cards :
...
04:00.1 Audio device: ATI Technologies Inc Radeon HD 3870 Audio device
05:00.0 PCI bridge: Creative Labs Device 7006
06:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
aplay produces the following output :
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
aplay: main:608: audio open error: No such file or directory
aplay -l :
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: CA0110 Analog [CA0110 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: CA0110 Digital [CA0110 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay using CA0110 Analog (preferred option, not sure if default)
# aplay -D hw:1,0 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:984: Channels count non available
and the following outputs as well :
# ls -l /sys/module/snd/holders
total 0
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_hda_codec_ca0110 -> ../../snd_hda_codec_ca0110
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_mixer_oss -> ../../snd_mixer_oss
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_pcm_oss -> ../../snd_pcm_oss
lrwxrwxrwx 1 root root 0 2009-11-23 12:36 snd_timer -> ../../snd_timer
# lsmod|grep '^snd' | column -t
snd_pcm_oss 47360 0
snd_hda_codec_ca0110 10176 1
snd_hda_codec_atihdmi 4864 1
snd_hda_intel 32232 3
snd_hda_codec 83200 3 snd_hda_codec_ca0110,snd_hda_codec_atihdmi,snd_hda_intel
snd_pcm 91848 4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 25456 1 snd_pcm
snd_page_alloc 10832 2 snd_hda_intel,snd_pcm
snd_hwdep 10056 1 snd_hda_codec
snd_mixer_oss 21024 1 snd_pcm_oss
snd 77224 13 snd_pcm_oss,snd_hda_codec_ca0110,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer,snd_hwdep,snd_mixer_oss
# ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 80 2009-11-23 12:10 by-path
crw-rw---- 1 root audio 116, 5 2009-11-23 12:10 controlC0
crw-rw---- 1 root audio 116, 11 2009-11-23 12:10 controlC1
crw-rw---- 1 root audio 116, 4 2009-11-23 12:10 hwC0D0
crw-rw---- 1 root audio 116, 10 2009-11-23 12:10 hwC1D1
crw-rw---- 1 root audio 116, 3 2009-11-23 12:11 pcmC0D3p
crw-rw---- 1 root audio 116, 9 2009-11-23 12:10 pcmC1D0c
crw-rw---- 1 root audio 116, 8 2009-11-23 12:10 pcmC1D0p
crw-rw---- 1 root audio 116, 7 2009-11-23 12:10 pcmC1D1c
crw-rw---- 1 root audio 116, 6 2009-11-23 12:10 pcmC1D1p
crw-rw---- 1 root audio 116, 2 2009-11-23 12:10 timer
I used alsaconf and moved the /etc/modprobe.d/sound to /etc/modprobe.d/sound.conf. Its contents:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
I haven't created any ~/.asoundrc file
all channels (except SPDIF) of CA0110 Analog are unmuted under alsamixer, yet ATI HDMI appears as default
I 've also used OSS 4.1 on a previous install but I would like to use ALSA since it seems willing to work
any ideas?
Last edited by tzochios (2009-11-23 12:02:23)
Offline
If it's not autoloading, add the "snd-ctxfi" module to your MODULES array in /etc/rc.conf. The order of sound modules in the array will also determine card numbering.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
the problem is that both sound devices are being loaded by the same module: snd-hda-intel.
I've banged out snd-ctxfi and snd-hda-codec-ca0110 (which relates to my card's chip CA0110-IBG) from the modules array
I 've made myself a ~/.asoundrc its contents listed below
$ cat .asoundrc
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 1
device 0
}
that makes the aplay command produce the following output
$ aplay -vv /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Plug PCM: Rate conversion PCM (44100, sformat=S16_LE)
Converter: linear-interpolation
Protocol version: 10002
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 4458
period_size : 1114
period_time : 23219
tstamp_mode : NONE
period_step : 1
avail_min : 1114
period_event : 0
start_threshold : 4458
stop_threshold : 4458
silence_threshold: 0
silence_size : 0
boundary : 5019261784704417792
Slave: Route conversion PCM (sformat=S16_LE)
Transformation table:
0 <- 0
1 <- 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 23219
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
Slave: Direct Stream Mixing PCM
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 23219
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
Hardware PCM card 1 'HD-Audio Generic' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 23219
tstamp_mode : ENABLE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 1
stop_threshold : 0
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
#+ | 00%
but no sound still
I've removed the /etc/modprobe.d/sound.conf configuration file
I guess I'm near on finding a solution or not finding one at all!
thanks for the reply!
Offline
Sorry, I think I misunderstood your question (I only skimmed your OP). Is the problem that you can't get sound from both cards at all, or that you can't get sound from both cards with a particular setup? I read it as a basic problem getting the X-Fi card to work.
In case it's just getting sound from the X-Fi card, have you tried:
* loading snd-ctxfi and blacklisting snd-hda-intel?
* disabling the other card?
* checking your bios settings (some setup guides recommend disabling the onboard audio there) ?
Otherwise, I'll shut up now.
Last edited by Xyne (2009-11-24 01:19:40)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
The problem is I'm not having any sound at all. I need to get output from CA0110-IBG Analog which btw phonon complains that it doesn't work.
I've disabled onboard audio prior to OS installation.
I've also tried various blacklisting within the modules array, but:
snd-ctxfi is not the appropriate module (it doesn't support ca0110-ibg chip) because the card I own is considered a pseudo-X-Fi (I should have known better when I was buying it!)
anyway, I'm enabling the testing repo to see what happens. I do believe though that the problem lies on the setup since alsa seems to recognize the card
my ultimate solution would be to stick with OSS, more feedback later
cheers!
Offline
Did you try with one sound card? This thread may help you.
Offline