From owner-freebsd-current@FreeBSD.ORG Sat Jun 29 19:20:15 2013 Return-Path: Delivered-To: FreeBSD-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 682553C5 for ; Sat, 29 Jun 2013 19:20:15 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (unknown [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 40BF5113D for ; Sat, 29 Jun 2013 19:20:15 +0000 (UTC) Received: from gjp by mail.in-addr.com with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Ut0gv-000DoK-8D; Sat, 29 Jun 2013 15:20:13 -0400 Date: Sat, 29 Jun 2013 15:20:13 -0400 From: Gary Palmer To: Waitman Gobble Subject: Re: usb sound module loading Message-ID: <20130629192012.GB38815@in-addr.com> References: <20130629190320.5C64A36F4BF4@dx.burplex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130629190320.5C64A36F4BF4@dx.burplex.com> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false Cc: FreeBSD-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 19:20:15 -0000 On Sat, Jun 29, 2013 at 12:03:20PM -0700, Waitman Gobble wrote: > > Hi, > > > I have sound modules commented out in kernel config : > # Sound support > #device sound # Generic sound driver (required) > #device snd_cmi # CMedia CMI8338/CMI8738 > #device snd_csa # Crystal Semiconductor CS461x/428x > #device snd_emu10kx # Creative SoundBlaster Live! and Audigy > #device snd_es137x # Ensoniq AudioPCI ES137x > #device snd_hda # Intel High Definition Audio > #device snd_ich # Intel, NVidia and other ICH AC'97 Audio > #device snd_via8233 # VIA VT8233x Audio > #device snd_uaudio # USB Audio > > However, if i plug in a USB mic the following kernel modules are loaded > automatically: > > 8 1 0xffffffff81e44000 f344 snd_uaudio.ko > 9 2 0xffffffff81e54000 3dfdf sound.ko > > I do not seem to have any sound related options active in /boot/loader.conf or > /etc/rc.conf > > This causes a problem when using ossv4.2 in ports, actually when a USB mic is > plugged in ... > (when using the oss v4.2 drivers, and you have them loaded into the kernel, > ie > 14 3 0xffffffff82086000 7b581 osscore.ko > 15 1 0xffffffff81e44000 4360 oss_cmpci.ko > 16 1 0xffffffff81e49000 214a0 oss_hdaudio.ko > ) > ... the machine instantly reboots. It would be good to either prevent sound.ko > from loading, or have the machine use the oss4.2 driver instead. > > Any hints or suggestions appreciated. > > Thanks, Check /etc/devd/usb.conf You don't mention which release you are using, but I suspect the USB config file for devd is autoloading the snd_uaudio module for you. Regards, Gary