From owner-freebsd-questions@FreeBSD.ORG Fri Jun 11 01:00:45 2004 Return-Path: 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 69A4116A4D1 for ; Fri, 11 Jun 2004 01:00:45 +0000 (GMT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 149B643D45 for ; Fri, 11 Jun 2004 01:00:40 +0000 (GMT) (envelope-from leblanc@keyslapper.org) Received: from localhost ([68.160.149.155]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040611010039.JAFY15848.out010.verizon.net@localhost> for ; Thu, 10 Jun 2004 20:00:39 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by localhost (8.12.11/8.12.11) with ESMTP id i5B10Zgf001685 for ; Thu, 10 Jun 2004 21:00:37 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.11/8.12.11/Submit) id i5B10Ymg001684 for freebsd-questions@FreeBSD.org; Thu, 10 Jun 2004 21:00:34 -0400 (EDT) (envelope-from leblanc) Date: Thu, 10 Jun 2004 21:00:34 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Message-ID: <20040611010034.GA868@keyslapper.org> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <40C8E0AD.5060208@eng.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <40C8E0AD.5060208@eng.ufl.edu> User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [68.160.149.155] at Thu, 10 Jun 2004 20:00:38 -0500 Subject: Re: sound card (WAS: FreeBSD 4.10 RELEASE questions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2004 01:00:45 -0000 On 06/10/04 06:29 PM, Bob Johnson sat at the `puter and typed: > > Message: 8 > > Date: Wed, 9 Jun 2004 21:55:14 -0400 > > From: Louis LeBlanc > > Subject: FreeBSD 4.10 RELEASE questions > > To: FreeBSD Questions > > Message-ID: <20040610015514.GA734@keyslapper.org> > > > > Hey everyone. I have a confusing situation here with the new kernel. > > > > I just upgraded to 4.10, and in the process, decided to get a > > moderately updated kernel config. Particularly, I wanted to try to > > get my sound working again. > > > > Here's the thing. I have the following lines in my kernel config: > > device pcm > > > [deleted details] > > Problem is that I'm not sure if I should have the following: > > > > device pcm0 at isa? irq 10 drq 1 flags 0x0 > > Everything after "pcm0" is there for the benefit of ISA cards that are > not PNP-aware. Your "device pcm" should be entirely adequate for a PCI > card that does correct PNP configuration. It certainly works for me. > > Also, if your system doesn't physically have SIO2 or SIO3, you can > remove those statements (which were in the details I deleted above). Hmm. I'm not seeing any change. I removed the sio2 and sio3 entries and eliminated the other "unknowns", but pci0 is still not getting found. > > Note that my fxp0 is using irq 10. Should I just change the irq? > > Should I leave it and/or the PNPBIOS line out? > > > > My system shows several unknown devices which are presumably various > features of the motherboard that I'm not using, so don't be too > concerned about the unknown device. PCI devices are assigned IRQs > dynamically, and you should not need to worry about which device ended > up on which IRQ as long as it doesn't conflict with an ISA device in > your system. > > If dmesg.boot shows a "pcm0" device somewhere then your sound card > should be working. E.g.: > > # grep pcm0 /var/run/dmesg.boot > pcm0: port 0xe000-0xe0ff irq 5 at device 17.5 on pci0 > pcm0: > # > > I believe that in 4.10 you still have to do > > # cd /dev > # sh MAKEDEV snd0 > > to populate /dev with the appropriate devices after you get the driver > loading properly (snd0 is not actually one of them, so don't look for > it). I guess you're familiar with that, since you had your sound > working in the past, but maybe you forgot. After you've done that, > something like > > # cat /dev/sndstat > > should tell you what you ended up with, in its own cryptic way. Did it, no pcm0 (or even pcm*) in dmesg or /dev. sndstat tells me the following: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: And nothing else. > To get the PCI card correctly recognized, you may need to play with the > "PNP BIOS" setting in your BIOS configuration, although I don't think > that's your problem in this case. The bios setting doesn't really give any options with PNP stuff. I though there would be a way to turn off the sound card, but I'm not finding it. > If your sound card actually is an ISA device, you need to set the IRQ > and possibly DRQ settings in the config line to what the card is > expecting. You may also have to go into your device and reserve that > IRQ for your ISA device to keep it from being assigned to a PnP device. I'm pretty sure it's PCI - it's onboard, so there's not much hope of pulling it out to read it. > > I'm sure there's some pertinent details I'm leaving out, so don't > > hesitate to let me know what it is. > > > > Thanks for the feedback. > > I hope that helps. Well, not really, but that's probably more a reflection on me than you :) I sincerely appreciate your input, but I think this has just gone past my pain threshold, which gets lower with each passing day - I ordered a new Dell Shortly after posting the request, and it should be coming in about 10 days now . This system will probably be retired for awhile until I can get the space to make use of it some other way. Thanks again Bob. Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Friends, n.: People who know you well, but like you anyway.