Hi again,

> output of 4 seperate channels on the xfire should work since alsa version
> from Thu May 15 13:16:00 2003 UTC (2 months ago).
Sorry for leaving out so many details, so:
Redhat-linux 8.0 with 2.4.21 kernel, Alsa 0.95. I followed the guidelines at
http://www.alsa-project.org/alsa-doc/doc-php/template.php3?company=Terratec&card=DMX+XFire+1024&chip=CS4624&module=cs46xx

> I don't remeber which alsa version i've installed  (0.9.4 ?) and 4 channel
> output works for me, i.e. i can use the device surround40 to output 4
> channel surround sound. This is a mandrake9.1 installation. i can use the
> rear channels as intended with xine, mplayer, ac3dec, a52dec or using aplay
> -D hw:0,1 ...
aplay -D hw:0,1 produces no sound. surround40 in xine puts the same sound on all 4 
speakers,
I mean pair-wise.

> If your alsa version is older than 2 months, you'll have to update,
> otherwise, it should work. If it doesn't, then your codec isn't set into
> extended mode for some reason (e.g. other codec on your card? driver didn't
> recognize that you're using a cs46xx card with one codec only? some other
> reason? Perhaps you can recompile alsa-drivers with --debug=detect and look
> at the messages in /var/log/... for some information)
Ok,  I did --with-debug=detect here is the output (some of it)
------
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:416: 
cs46xx: failure waiting for FIFO command to complete
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:454: 
failed waiting for FIFO at addr (01)
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2455: 
snd_cs46xx: detecting primary codec
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2405: 
cs46xx: CODOEC1 mode 0000
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2479: 
snd_cs46xx: primary codec phase one
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2483: 
snd_cs46xx: detecting seconadry codec
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2496: 
snd_cs46xx: seconadry codec not present
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2511: 
snd_cs46xx: secondary codec did not respond ...
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:318: 
dsp_spos: loading module cwc4630 into DSP
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:321: 
dsp_spos: clearing parameter area
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:336: 
dsp_spos: downloading parameter data to chip (00000000-00000200)
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:345: 
dsp_spos: clearing sample area
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:350: 
dsp_spos: module got no sample segment
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:370: 
dsp_spos: clearing code area
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:396: 
dsp_spos: downloading code to chip (00020000-00020ca0)
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:111: 
dsp_spos: 0 instructions reallocated
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:318: 
dsp_spos: loading module cwcasync into DSP
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:326: 
dsp_spos: module got no parameter segment
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:350: 
dsp_spos: module got no sample segment
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:396: 
dsp_spos: downloading code to chip (00020ca0-00021378)
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:83: 
handle_wideop[1]: 01400:02731 addr 8000
Jul 17 01:23:22 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos.c:88: 
handle_wideop[1]: ROM symbol not reallocated
-----
When I start aplay -D rear, it outputs:
-----
Jul 17 01:44:00 maximus modprobe: modprobe: Can't locate module snd-card-1
Jul 17 01:44:00 maximus modprobe: modprobe: Can't locate module snd-card-1
Jul 17 01:44:00 maximus modprobe: modprobe: Can't locate module snd-card-2
Jul 17 01:44:00 maximus modprobe: modprobe: Can't locate module snd-card-2
Jul 17 01:44:00 maximus modprobe: modprobe: Can't locate module snd-card-3
Jul 17 01:44:00 maximus modprobe: modprobe: Can't locate module snd-card-3
Jul 17 01:44:00 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1427: 
open rear channel
Jul 17 01:44:00 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:1306: dsp_spos: creating SRC 
"SrcTask_SCB0"
Jul 17 01:44:00 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:597: dsp_spos: setting SrcTask_SCB0 
rate to 44100
Jul 17 01:44:00 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:290: dsp_spos: creating SCB 
<SrcTask_SCB0>
Jul 17 01:44:00 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:1331: dsp_spos: creating PCM 
"PCMReader_SCB0" (2)
Jul 17 01:44:00 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:290: dsp_spos: creating SCB 
<PCMReader_SCB0>
Jul 17 01:44:00 maximus kernel: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1001: 
period_size (2048), periods (32) buffer_size(65536)
Jul 17 01:44:18 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:226: cs46xx_dsp_proc_free_scb_desc: 
freeing PCMReader_SCB0
Jul 17 01:44:18 maximus kernel: ALSA 
../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:226: cs46xx_dsp_proc_free_scb_desc: 
freeing SrcTask_SCB0
-----

> your problem should be solvable ;)
> HTH,
> fe
Would be awesome!

I also found this in /proc/asound/card0/dsp
0140 CodecOutSCB_Rear:
00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 
00000000 01800110 00000179 00000000 
00000000 00200060 00800000 01800000 
parent [CodecInSCB:0080] sub_list_ptr [RearMixerSCB:0180]
next_scb_ptr [MagicSnoopSCB_I:0110]  task_entry [S16_CODECOUTPUTTASK:0179]
index [8] ref_count [1]

Maybe someone knows how to read this.

And this is the (relevant) output from lspci:
00:09.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear 
SoundFusion Audio Accelerator] (rev 01)

Thanks for your reply
Johannes
P.S. When this is solved, I will tackle the record-problem, arecord produces silent 
wave files.
-- 
www.johanneshuebner.com



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to