From owner-freebsd-questions@FreeBSD.ORG Thu Jun 10 22:29: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 0E9B716A4D0 for ; Thu, 10 Jun 2004 22:29:45 +0000 (GMT) Received: from scorpion.eng.ufl.edu (scorpion.eng.ufl.edu [128.227.116.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 6EBA143D48 for ; Thu, 10 Jun 2004 22:29:44 +0000 (GMT) (envelope-from bob88@eng.ufl.edu) Received: (qmail 5384 invoked from network); 10 Jun 2004 22:29:02 -0000 Received: from scanner.engnet.ufl.edu (HELO eng.ufl.edu) (128.227.152.221) by scorpion.eng.ufl.edu with SMTP; 10 Jun 2004 22:29:02 -0000 Message-ID: <40C8E0AD.5060208@eng.ufl.edu> Date: Thu, 10 Jun 2004 18:29:01 -0400 From: Bob Johnson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en, eo MIME-Version: 1.0 To: leblanc@keyslapper.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable cc: freebsd-questions@FreeBSD.org Subject: Re: sound card (WAS: FreeBSD 4.10 RELEASE questions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 22:29:45 -0000 > 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> >=20 > Hey everyone. I have a confusing situation here with the new kernel. >=20 > 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. >=20 > Here's the thing. I have the following lines in my kernel config: > device pcm >=20 [deleted details] > Problem is that I'm not sure if I should have the following: >=20 > device pcm0 at isa? irq 10 drq 1 flags 0x0 Everything after "pcm0" is there for the benefit of ISA cards that are=20 not PNP-aware. Your "device pcm" should be entirely adequate for a PCI=20 card that does correct PNP configuration. It certainly works for me. Also, if your system doesn't physically have SIO2 or SIO3, you can=20 remove those statements (which were in the details I deleted above). >=20 > Note that my fxp0 is using irq 10. Should I just change the irq? > Should I leave it and/or the PNPBIOS line out? >=20 My system shows several unknown devices which are presumably various=20 features of the motherboard that I'm not using, so don't be too=20 concerned about the unknown device. PCI devices are assigned IRQs=20 dynamically, and you should not need to worry about which device ended=20 up on which IRQ as long as it doesn't conflict with an ISA device in=20 your system. If dmesg.boot shows a "pcm0" device somewhere then your sound card=20 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=20 loading properly (snd0 is not actually one of them, so don't look for=20 it). I guess you're familiar with that, since you had your sound=20 working in the past, but maybe you forgot. After you've done that,=20 something like # cat /dev/sndstat should tell you what you ended up with, in its own cryptic way. To get the PCI card correctly recognized, you may need to play with the=20 "PNP BIOS" setting in your BIOS configuration, although I don't think=20 that's your problem in this case. If your sound card actually is an ISA device, you need to set the IRQ=20 and possibly DRQ settings in the config line to what the card is=20 expecting. You may also have to go into your device and reserve that=20 IRQ for your ISA device to keep it from being assigned to a PnP device. > I'm sure there's some pertinent details I'm leaving out, so don't > hesitate to let me know what it is. >=20 > Thanks for the feedback. I hope that helps. >=20 > Lou > -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapp= er Extrordinaire :) http://www.keyslapper.org =D4=BF=D4=AC Where are the = calculations that go with a calculated risk?=20 - Bob