Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2005 11:34:18 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: no /dev/ums0 when module loaded
Message-ID:  <200501161134.25828.doconnor@gsoft.com.au>
In-Reply-To: <20050115155538.GA36629@obiwan.tataz.chchile.org>
References:  <20050115155538.GA36629@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



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