Get the USB descriptor string from uhid device

Hans Petter Selasky hselasky at c2i.net
Wed Feb 6 11:54:06 UTC 2013


On Tuesday 05 February 2013 22:21:44 Martin Laabs wrote:
> Hi,
> 
> currently I am writing an (linux compatible) UBS Joystick driver based on
> the libusbhid and the cuse4bsd framework.
> For the user I would like to get the sting from the usb device (that string
> which is also printed in the dmesg output)
> Do you have an idea how I can obtain this string with the libusbhid
> functions?
> 

Hi,

This is not supported. Thought you could suggest a patch. Or if you are using 
a devd script, you can possibly get it from there and pass it on as an 
argument to your software.

--HPS


More information about the freebsd-usb mailing list