From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 15:07:50 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 BDDAE16A4DA for ; Sat, 22 Jul 2006 15:07:50 +0000 (UTC) (envelope-from richd@RichDPhoto.com) Received: from ceres.aros.net (ceres.aros.net [66.219.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3935043D46 for ; Sat, 22 Jul 2006 15:07:49 +0000 (GMT) (envelope-from richd@RichDPhoto.com) Received: from [192.168.1.101] (c-24-63-252-34.hsd1.nh.comcast.net [24.63.252.34]) (authenticated bits=0) by ceres.aros.net (8.13.3/8.13.3) with ESMTP id k6MF7mVx000876; Sat, 22 Jul 2006 09:07:49 -0600 (MDT) (envelope-from richd@RichDPhoto.com) Message-ID: <44C23F3C.9050800@RichDPhoto.com> Date: Sat, 22 Jul 2006 11:07:40 -0400 From: Rich Demanowski User-Agent: Thunderbird 1.5 (X11/20060714) MIME-Version: 1.0 To: Dylan Cochran References: <44C14EEB.5030901@RichDPhoto.com> <44C19B43.1060509@RichDPhoto.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on ceres.aros.net X-Virus-Status: Clean 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 15:07:50 -0000 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*?