From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 11:59:38 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 EB4EB16A4E5 for ; Sat, 22 Jul 2006 11:59:38 +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 4F31F43D45 for ; Sat, 22 Jul 2006 11:59:38 +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 k6MBxaC5065934; Sat, 22 Jul 2006 05:59:37 -0600 (MDT) (envelope-from richd@RichDPhoto.com) Message-ID: <44C21321.7030504@RichDPhoto.com> Date: Sat, 22 Jul 2006 07:59:29 -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 11:59:39 -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. none12@pci3:10:0: class=0x040100 card=0x10061102 chip=0x00071102 rev=0x00 hdr=0x00 vendor = 'Creative Labs' device = 'CA0106-DAT Audigy LS' class = multimedia subclass = audio So, at the very least, FreeBSD knows there's *something* there, it just doesn't grok what it is that's there. > I hope this helps, if you understand C and how pci works I grok some C, but I've never dealt with PCI peripherals before. I've only ever coded at the application level. > you can use > the pci id output that pciconf provides and modify the #define > EMU10K1_PCI_ID 0x00021102 line in /usr/src/sys/dev/sound/pci/emu10k1.c > to match it, this will force the driver to try to bind to the card. That would be the chip=0x00071102 piece? > > This may not work, it's not supported, and definately DON'T link the > driver to the kernel (ie, don't add a device snd_emu10k1 line to the > kernel config) in the off chance it causes a strange hard lock > problem. > > Good luck :) Thanks, I'll give it a go and see what happens. :)