From owner-freebsd-current@FreeBSD.ORG Sat Jan 15 15:55:46 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 3861116A4CE for ; Sat, 15 Jan 2005 15:55:46 +0000 (GMT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5A9143D48 for ; Sat, 15 Jan 2005 15:55:45 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id DB117C050 for ; Sat, 15 Jan 2005 16:55:44 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 6ACD3407C; Sat, 15 Jan 2005 16:55:38 +0100 (CET) Date: Sat, 15 Jan 2005 16:55:38 +0100 From: Jeremie Le Hen To: freebsd-current@freebsd.org Message-ID: <20050115155538.GA36629@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: 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: Sat, 15 Jan 2005 15:55:46 -0000 Hi, 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. FYI, I'm running -CURRENT from 2004/12/28. -- Jeremie Le Hen jeremie@le-hen.org