From owner-freebsd-questions@FreeBSD.ORG Wed May 21 18:09:53 2003 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 6396537B401 for ; Wed, 21 May 2003 18:09:53 -0700 (PDT) Received: from grumpy.dyndns.org (user-24-214-34-52.knology.net [24.214.34.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57AD343F3F for ; Wed, 21 May 2003 18:09:52 -0700 (PDT) (envelope-from dkelly@grumpy.dyndns.org) Received: from grumpy.dyndns.org (localhost [127.0.0.1]) by grumpy.dyndns.org (8.12.9/8.12.9) with ESMTP id h4M19p14088051; Wed, 21 May 2003 20:09:51 -0500 (CDT) (envelope-from dkelly@grumpy.dyndns.org) Received: (from dkelly@localhost) by grumpy.dyndns.org (8.12.9/8.12.9/Submit) id h4M19o3A088050; Wed, 21 May 2003 20:09:50 -0500 (CDT) Date: Wed, 21 May 2003 20:09:50 -0500 From: David Kelly To: Konokrad Message-ID: <20030522010950.GA88006@grumpy.dyndns.org> References: <20030520163831.13a28fbb.konokrad@list.ru> <20030520210922.GA72326@grumpy.dyndns.org> <20030520220555.67b9227d.konokrad@list.ru> <200305202213.40310.dkelly@HiWAAY.net> <20030521152337.4b896312.konokrad@list.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521152337.4b896312.konokrad@list.ru> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Need help with the sound card!! 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, 22 May 2003 01:09:53 -0000 On Wed, May 21, 2003 at 03:23:37PM -0400, Konokrad wrote: > On Tue, 20 May 2003 22:13:40 -0500 > David Kelly wrote: > > > I suggested loading all at once so as to learn if any worked. > > Apparently not. You didn't say if the soundccard was ISA or what? > > The card is indeed on ISA. Loading modules does nothing. The message in > dmesg (sb_reset_dsp failed) that I used get with the kernel with the snd > drivers in it does not appear when I kldload snd.ko. I checked kldstat > and the modules are there (a lot of them) but I saw no output anywhere. > Looks like the soundcard is either unsupported or I'm doing something > obvious wrong. Most sound cards are supported. Problem is ISA sucks big time. Plug-and-Play, a.k.a. "PnP" was a bandaid attempting to make configuration easier for the masses but was implemented in typical half-assed effort so its widely known as Plug-and-Pray. Suggest for further reading you check the manpages for "pnpinfo" and "pnp". These are tools and driver for reading the PnP info on ISA cards. Also finds some stuff on PCI whose designers wanted ISA compatibility. Doesn't see my PCI ethernet cards but does see the sound cards. Ultimately when you find the right PnP settings the permanent values need to be place in (I *think*) /boot/kernel.conf. If you have not already, boot into the kernel's visual config. During the boot when the loader starts the 10 second countdown, abort it and type "boot -c" (config) or "boot -v" (visual). From either of those two you can play with PnP probes looking for your soundcard. You can even force the IRQ and I/O settings within reason. IIRC this utility can also write the values to /boot/kernel.conf but might not automatically save them. > Also trying to unload modules does reboot this machine and when I load > modules at boot I don't see them in kldstat when I get to the root > shell. This should unload all the snd stuff that was kldloaded with the same name: # kldunload snd.ko On reboot the modules will not have been reloaded no matter that you used kldunload or not. Once you find the right one it can be placed in /boot/loader.conf something like this from a Dell Optiplex I have with built in sound: snd_mss_load="YES" # Mss The above line was found and copied from /boot/defaults/loader.conf like this: # grep snd_mss /boot/defaults/loader.conf >> /boot/loader.conf then I changed NO to YES in /boot/loader.conf with vi. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.