recognizing a usb device
Chuck Robey
chuckr at telenix.org
Sat Jul 5 00:49:14 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is there any way to be able to recognizing a filename that the user has given
me as a sub device? I figure I can try a udbhid ioctl to see if it's a USB HID
device, but is there any other way to recognize a usb device?
Using an ioctl, it just sort of seems like a messy way to do it. I was sort of
hoping that there might've been some sort of sysctl giving ghe names, but if
there is, I couldn't find it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhuwp0ACgkQz62J6PPcoOkkUwCghk9/RWuzJmvzv3P7FHNli4ns
qMoAn0Y0WSoDS7XyxxDhpDimboPyL587
=rHrm
-----END PGP SIGNATURE-----
More information about the freebsd-usb
mailing list