From owner-freebsd-usb@FreeBSD.ORG Wed Feb 6 11:54:06 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 890D6DC8 for ; Wed, 6 Feb 2013 11:54:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 08D38313 for ; Wed, 6 Feb 2013 11:54:05 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 208099469; Wed, 06 Feb 2013 12:48:56 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: Get the USB descriptor string from uhid device Date: Wed, 6 Feb 2013 12:50:07 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <511177E8.8050009@martinlaabs.de> In-Reply-To: <511177E8.8050009@martinlaabs.de> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Martin Laabs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 11:54:06 -0000 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