Subject: Re: Turtle Beach Santa Cruz sound card
To: None <netbsd-users@netbsd.org>
From: =?ISO-8859-1?Q?St=E9phane?= Witzmann <stephane.witzmann@gmail.com>
List: netbsd-users
Date: 10/27/2005 05:38:54
Stéphane Witzmann wrote:

> Stéphane Witzmann wrote:
> 
>> Stéphane Witzmann wrote:
>> 
>>> I'm trying to make my Santa Cruz work with NetBSD 2.0.2. Actually, it
>>> almost works, it just doesn't produce any sound :
>>> 
>>> clcs0 at pci0 dev 11 function 0: Cirrus Logic CS4280 CrystalClear Audio
>>> Interface (rev. 0x01)
>>> clcs0: interrupting at irq 11
>>> clcs0: ac97: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC,
>>> Crystal Semi 3D
>>> clcs0: ac97: ext id 200<AMAP>
>>> audio0 at clcs0: full duplex, independent
>>> midi0 at clcs0: CS4280 MIDI UART
>>> 
>>> According to PR/18880 and PR/24488, this sound card needs to activate an
>>> external amp. After modifying ac97.c (and a few other files)
>>> accordingly, it works, but the sound is very metallic.
>>> 
>>> This is not a total surprise, I sometimes have the same problem with
>>> Linux. There is an easy fix : stop then restart playing. Under NetBSD,
>>> this doesn't help.
>>> 
>>> Any clue ?
>>> 
>>> See also :
>>> http://mail-index.netbsd.org/current-users/2004/11/28/0008.html
>>> 
>>> 
>>> Stéphane Witzmann
>> 
>> I moved the sound card to another NetBSD machine, patched, and now it
>> works fine. I'll make a clean patch for current soon.
> 
> I was wrong. I don't understand why, but enabling PCI_CONFIG_DUMP made it
> work and sound right.

A few builds and reboots later... I was wrong again. What makes it work is
just *luck*. The best (and only) fix I have found so far : reboot until it
works.

S.W.