Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 00:17:11 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        julian@elischer.org
Cc:        jeremie@le-hen.org
Subject:   Re: no /dev/ums0 when module loaded
Message-ID:  <20050117.001711.44155805.imp@bsdimp.com>
In-Reply-To: <41EB637D.5010702@elischer.org>
References:  <20050116.233745.102654477.imp@bsdimp.com> <200501171715.22761.doconnor@gsoft.com.au> <41EB637D.5010702@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <41EB637D.5010702@elischer.org>
            Julian Elischer <julian@elischer.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050117.001711.44155805.imp>