From owner-freebsd-current@FreeBSD.ORG Mon Jan 17 07:17:22 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A722B16A4CE for ; Mon, 17 Jan 2005 07:17:22 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E86643D2F for ; Mon, 17 Jan 2005 07:17:22 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0H7G8ni039077; Mon, 17 Jan 2005 00:16:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 17 Jan 2005 00:17:11 -0700 (MST) Message-Id: <20050117.001711.44155805.imp@bsdimp.com> To: julian@elischer.org From: "M. Warner Losh" In-Reply-To: <41EB637D.5010702@elischer.org> References: <20050116.233745.102654477.imp@bsdimp.com> <200501171715.22761.doconnor@gsoft.com.au> <41EB637D.5010702@elischer.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: jeremie@le-hen.org Subject: Re: no /dev/ums0 when module loaded X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 17 Jan 2005 07:17:22 -0000 In message: <41EB637D.5010702@elischer.org> Julian Elischer writes: : Daniel O'Connor wrote: : > On Mon, 17 Jan 2005 17:07, M. Warner Losh wrote: : > : >>: I preload all the USB modules I plan to use (a bit annoying I admit). I : >>: believe there is ongoing work in this area though. : >> : >>There is indeed ongoing work in this area. Unless you need ugen, : >>don't load it is the best answer for now. I have some work that I'm : >>migrating to the tree, but this will take a while to get into the : >>tree... : > : > : > Does not having ugen make this stuff work? : > Hmm actually let me try.. No doesn't seem to :( : > : > ie.. : > unplug mouse : > kldunload ums : > kldunload ugen : > plug in mouse : > kldload ums : > nothing :) : > : : no, because the USB system doesn't have an interface to allow a new driver to : taste all the unattached devices.. in the case of ugen, it would have to : allow new drivers to get tentative information from ugen about its devices : and a method for requesting ugen to give up a device. Yes. That method is called detach :-) Probe is supposed to be non-destructive, so I'm working on a way to cope with that too (eg, for the perverse ones that aren't idempotent). Warner