Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2008 13:18:41 -0400
From:      Chuck Robey <chuckr@telenix.org>
To:        FreeBSD-Hackers <freebsd-hackers@freebsd.org>
Subject:   number of /dev/usb nodes
Message-ID:  <484AC2F1.1000806@telenix.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can't seem to find how many /dev/usbN bus devices there can be.  I'm writing
some code that scans them all looking for anything that has my device, but I
while I know to start at usb0, just how high do I go?  There seem to be 128
device minors, is that the number?  (from dev/usb/usb.h)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFISsLxz62J6PPcoOkRAtSTAKCFC8NueSSuJ0yZcVNwdjQie3SZJgCfb0bL
AMAwFSbFBySoSVCfqc7R0+M=
=MwIo
-----END PGP SIGNATURE-----



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