How are USB drivers assigned?

Roland Smith rsmith at
Tue Jun 29 15:56:49 UTC 2010

On Mon, Jun 28, 2010 at 11:03:38PM -1000, Gary Dunn wrote:
> Is there a file that associates drivers with USB device information?
> More specifically, how does a USB mouse get assigned to the ums driver?
> This is for FreeBSD 8.0, if it matters.

When queried on connection the mouse identifies itself by sending a descriptor
as a Human Interface Device class peripheral, and specifically a mouse. The
USB driver then knows to attach the ums device driver.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list