From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 22:13:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9709616A4DE for ; Sat, 22 Jul 2006 22:13:22 +0000 (UTC) (envelope-from heliocentric@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE1D43D45 for ; Sat, 22 Jul 2006 22:13:21 +0000 (GMT) (envelope-from heliocentric@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1844382uge for ; Sat, 22 Jul 2006 15:13:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DpJ9QjygTWuvHz02OAAgKnNRa64IxMyJ8z2ym9dBAGiFg9YS3a1hMOU/hkppJPqLjYBqMs95ziTSGYeAJVvH28VbrC5MUXMDO9vFv8KeAyxcii7n4/2CuombYXRyD7iN1XSTx7L0NooNs1b4Q9JYb3zuJqRITK+DpSCLUF3O9Lg= Received: by 10.78.167.12 with SMTP id p12mr930430hue; Sat, 22 Jul 2006 15:13:20 -0700 (PDT) Received: by 10.78.167.6 with HTTP; Sat, 22 Jul 2006 15:13:20 -0700 (PDT) Message-ID: Date: Sat, 22 Jul 2006 18:13:20 -0400 From: "Dylan Cochran" To: "Rich Demanowski" In-Reply-To: <44C23F3C.9050800@RichDPhoto.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44C14EEB.5030901@RichDPhoto.com> <44C19B43.1060509@RichDPhoto.com> <44C23F3C.9050800@RichDPhoto.com> Cc: freebsd-questions@freebsd.org Subject: Re: Enabling sound? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 22:13:22 -0000 On 7/22/06, Rich Demanowski wrote: > Dylan Cochran wrote: > >> >> I don't get the pcm0 lines that section 7.2.2 in the manual talks > >> >> about. cat /dev/sndstat returns: > >> >> FreeBSD Audio Driver (newpcm) > >> >> Installed devices: > >> >> and nothing else. > > > > The driver isn't attached to the device, either because the pci id's > > don't match or the card isn't using an emu10k* chip. Please type > > pciconf -l -v and reply with the portion that matches the card. > Well, I'm still not getting any further. I pulled the SB Live! card out > and enabled the on-board sound in the BIOS, to see if doing a kldload > snd_driver would recognize *that*. It doesn't. > > The on-board sound shows up like this in pciconf -l -v: > none12@pci0:16:1: class=0x040300 card=0x2a3e103c > chip=0x026c10de rev=0xa2 hdr=0x00 > vendor = 'NVIDIA Corporation' > class = multimedia > > kldload snd_driver followed by cat /dev/sndstat yields: > FreeBSD Audio Driver (newpcm) > Installed devices: > > just like before. :( > --------------------------- > Information I can glean from looking at the SoundBlaster card: > On the board: > Sound Blaster Live! 24-bit > Model: SB0410 > On the chips: > Creative CA0106-DAT LF (c) Creative Tech '02 C0524 KD692 > Cirrus Logic CS4382-KQZ WAEXAR0452 > WM WM8775SEDS 4AAADOG > > Everything else on there seems to be simple resistors, caps, and maybe a > mosfet or three. > > Changing emu10k1.c so that the definition of EMU10K1_PCI_ID matches what > pciconf -l -v found gets the module to recognize that there's a card > there, and then it pukes on the ac97 stuff (which confuses me since this > card claims to be ac97 compliant and the Cirrus chips is there ...) > pcm0: port 0xcf00-0xcf1f irq 18 at device 10.0 on > pci3 > pcm0: AC97 reset timed out. > pcm0: ac97 codec invalid or not present (id == 0) > device_attach: pcm0 attach returned 6 > > Looking through sound/pcm/ac97.c I can see that the reset() function is > failing, and the id = line in the ac97_initmixer() function isn't > recognizing the chip on the board. > > I got a SoundBlaster Live! because it was listed as a known working > piece of hardware. Apparently this is a newer version of the board that > isn't supported yet. Getting it to work is becoming a PITA beyond what > I have the time and willpower to put in right now. > > Is there a piece of sound hardware I can just run down to CompUSA and > buy, that I can drop in here and get this thing working with *today*? > Newer Audigy's use a completely different DSP chip then the older SoundBlasters. The SoundBlaster brand is so vague now with regard to the actual chips that it's misleading. The el cheapo CompUSA brand card is iirc a very old and generic chip, it's not the best quality wise but when I bought them months ago they seemed to work with everything I threw at them. In all honesty I don't remember testing them with FreeBSD, but it works out of the box with BeOS R5, so I'd assume FreeBSD comes with the driver.