Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jun 2009 19:45:20 -0700
From:      Jack Twilley <jmt@twilley.org>
To:        freebsd-usb@freebsd.org
Subject:   How to retrieve iManufacturer/iProduct information from libusb20?
Message-ID:  <4A2B29C0.7020709@twilley.org>

next in thread | raw e-mail | index | archive | help
I have been looking through the source to usbconfig and other tools 
trying to figure out how to retrieve the iManufacturer and iProduct 
strings.  The libusb20 man page describes the 
libusb20_dev_get_device_desc() function but there's no useful 
information on the struct it returns.  The include file looks as if the 
struct is automagically generated by macros within macros which is too 
complicated for me to figure out without help.  Any ideas?  There's 
gotta be a better way than using LIBUSB20_DEVICE_DESC()...

Jack.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2B29C0.7020709>