Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2008 20:38:53 -0400
From:      Chuck Robey <chuckr@telenix.org>
To:        FreeBSD USB List <FreeBSD-usb@FreeBSD.org>
Subject:   recognizing a usb device
Message-ID:  <486EC29D.20108@telenix.org>

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



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