From owner-freebsd-current@FreeBSD.ORG Sun Jan 16 01:04:38 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 11A8416A4CE for ; Sun, 16 Jan 2005 01:04:38 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E41F943D49 for ; Sun, 16 Jan 2005 01:04:36 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j0G14Ruv076377; Sun, 16 Jan 2005 11:34:27 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sun, 16 Jan 2005 11:34:18 +1030 User-Agent: KMail/1.7.1 References: <20050115155538.GA36629@obiwan.tataz.chchile.org> In-Reply-To: <20050115155538.GA36629@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4731777.ULLO5UKFEr"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501161134.25828.doconnor@gsoft.com.au> X-Spam-Score: -5.4 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Jeremie Le Hen 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: Sun, 16 Jan 2005 01:04:38 -0000 --nextPart4731777.ULLO5UKFEr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 16 Jan 2005 02:25, Jeremie Le Hen wrote: > I was playing a bit with devd(8) to have ums.ko automatically loaded > when I plug my USB mouse. This works quite well except that it seems > that ums0 is NOT detected when the module is loaded when the mouse is > already plugged. Thus, when I match against the uhid(4) device to get > the ums(4) module loaded, it cannot work since the module is inevitably > loaded after the moused is plugged. > > Is this a bug or a feature ? I've been told that whenever an USB device > is not grabbed by any driver on attach, it uses ugen(4) and it won't be > possible to ``move'' it from ugen(4) to ums(4) later. This is a problem with the USB stack - devices are not reprobed when a new= =20 module is loaded. I preload all the USB modules I plan to use (a bit annoying I admit). I=20 believe there is ongoing work in this area though. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart4731777.ULLO5UKFEr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBB6b2Z5ZPcIHs/zowRAi+GAJ9Zi0LDGuFRNy9CHbTWWjsgKTlpuQCfWZhw 67qsHbb/jECfpdyf8lS+Hg8= =lGyT -----END PGP SIGNATURE----- --nextPart4731777.ULLO5UKFEr--