From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 10 00:10:27 2014 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87A70B21 for ; Thu, 10 Jul 2014 00:10:27 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45B6B29D4 for ; Thu, 10 Jul 2014 00:10:26 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 58FD81FE028; Thu, 10 Jul 2014 02:10:24 +0200 (CEST) Message-ID: <53BDD9F8.8060809@selasky.org> Date: Thu, 10 Jul 2014 02:10:32 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Russell L. Carter" , freebsd-multimedia@freebsd.org Subject: Re: conflict between kernel sound and oss References: <53BDB67D.50604@pinyon.org> In-Reply-To: <53BDB67D.50604@pinyon.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 00:10:27 -0000 On 07/09/14 23:39, Russell L. Carter wrote: > Greetings, > > I'm attempting to experiment with audio/oss. My audio device is a USB > Behringer 202, which works fine with snd_uaudio. > > I've removed "device sound" from my kernel, but sound.ko and > snd_uaudio.ko still get built, and even though I have set: > > snd_driver_load="NO" > snd_uaudio_load="NO" > > the kernel still loads both on boot. I tried renaming them, > but the kernel still associates those modules with the device. > So when for, for example, I unplug the device and then plug it > back in, I get > > ugen1.8: at usbus1 > uhub10: on > usbus1 > uhub10: 4 ports with 4 removable, self powered > ugen1.9: at usbus1 > KLD snd_uaudio.ko: depends on sound - not available or version mismatch > linker_load_file: Unsupported file type > uhid0: addr 9> on usbus1 > > And osstest doesn't find the device. osscore does load fine, and > I've observed that it won't load if sound.ko is already loaded. > > This is a week old -current. > > Any hints on how to proceed appreciated. > Hi, It is devd which automatically loads the snd_uaudio.ko and its dependencies. --HPS