number of /dev/usb nodes

Chuck Robey chuckr at telenix.org
Sat Jun 7 17:27:54 UTC 2008


-----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-----


More information about the freebsd-hackers mailing list