Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 11:07:11 -0800 (PST)
From:      Stéphane Witzmann <bill.area51@free.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/60737: Sound card Turtle Beach Santa Cruz not working
Message-ID:  <200312301907.hBUJ7B3j062720@www.freebsd.org>
Resent-Message-ID: <200312301910.hBUJA1RF079200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60737
>Category:       kern
>Synopsis:       Sound card Turtle Beach Santa Cruz not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 30 11:10:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stéphane Witzmann
>Release:        5.1-RELEASE
>Organization:
(computer engineering student)
>Environment:
FreeBSD Wolfenstein.glandeurs.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Dec 23 17:42:21 CET 2003 root@Wolfenstein.glandeurs.org:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
My mainboard has a CMI sound chip, and I installed a Turtle Beach Santa Cruz as an additional sound card. It is well recognized by the csa driver :

csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem
0xe5000000-0xe50fffff,0xe5800000-
0xe5800fff at device 9.0 on pci0
csa: card is Turtle Beach Santa Cruz
pcib0: slot 9 INTA is routed to irq 10
pcm1: <CS461x PCM Audio> on csa0
pcm1: <Cirrus Logic CS4297A AC97 Codec>
midi0: <CS461x Midi Interface> on csa0

(pcm0 is the CMI chip)

But I cannot get a sound out of it, syslog says :
pcm1:play:0: play interrupt timeout, channel dead
when trying to play a MP3 (for example)

I also get an error when trying "cat /dev/dsp1" :
pcm1:record:0: record interrupt timeout, channel dead

Here is /dev/sndstat in case it helps :

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <CMedia CMI8738> at io 0xb000 irq 10 (1p/1r/0v channels duplex
default)
        [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, overruns 0, hfree 16384, sfree 0
        {hardware} -> feeder_root(0x00000000) -> {userland}
pcm1: <CS461x PCM Audio> at irq 10 (1p/1r/0v channels duplex)
        [pcm1:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, overruns 0, hfree 4096, sfree 0
        {hardware} -> feeder_root(0x00000000) -> {userland}
        [pcm1:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}

Here are the kernel variables :

hw.snd.targetirqrate: 32
hw.snd.report_soft_formats: 1
hw.snd.verbose: 3
hw.snd.unit: 0
hw.snd.maxautovchans: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 0
hw.snd.pcm0.spdif_enabled: 0
hw.snd.pcm1.buffersize: 0
hw.snd.pcm1.vchans: 0

>How-To-Repeat:
If the sound card happens to work, reboot, it won't work anymore. See "Fix the problem if known".
>Fix:
I just have to use the CMI sound card, reading a MP3 or typing "cat /dev/dsp0". After that, the Santa Cruz works fine. There is no change in the kernel variables between before and after it's working.

Here is /dev/sndstat when the Santa Cruz works :

pcm0: <CMedia CMI8738> at io 0xb000 irq 10 (1p/1r/0v channels duplex
default)
        [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0]: spd 8000, fmt 0x00000008, flags 00000000
        interrupts 0, overruns 0, hfree 256, sfree 131072
        {hardware} -> feeder_root(0x00000008) -> {userland}
pcm1: <CS461x PCM Audio> at irq 10 (1p/1r/0v channels duplex)
        [pcm1:record:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, overruns 0, hfree 4096, sfree 0
        {hardware} -> feeder_root(0x00000000) -> {userland}
        [pcm1:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}

I desactivated the CMI chip (mainboard jumper), now the Santa Cruz is pcm0, but it doen't change anything, except that I have no way of making it work. I tried playing something on a USB sound card (M-Audio Audiophile USB), that didn't 'unlock' the Santa Cruz.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312301907.hBUJ7B3j062720>