From owner-freebsd-usb@FreeBSD.ORG Tue Feb 5 21:51:04 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 216C55BF for ; Tue, 5 Feb 2013 21:51:04 +0000 (UTC) (envelope-from mailinglists@martinlaabs.de) Received: from relay04.alfahosting-server.de (relay04.alfahosting-server.de [109.237.142.240]) by mx1.freebsd.org (Postfix) with ESMTP id C7C35A31 for ; Tue, 5 Feb 2013 21:51:03 +0000 (UTC) Received: by relay03.alfahosting-server.de (Postfix, from userid 1001) id 2A20232C0044; Tue, 5 Feb 2013 22:21:50 +0100 (CET) X-Spam-DCC: : X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=BAYES_50 autolearn=disabled version=3.2.5 Received: from alfa3018.alfahosting-server.de (alfa3018.alfahosting-server.de [109.237.140.30]) by relay03.alfahosting-server.de (Postfix) with ESMTP id AE60032C00FB for ; Tue, 5 Feb 2013 22:21:48 +0100 (CET) Received: from pc.martinlaabs.de (p54B3361D.dip.t-dialin.net [84.179.54.29]) by alfa3018.alfahosting-server.de (Postfix) with ESMTPSA id 834BA515C655 for ; Tue, 5 Feb 2013 22:21:48 +0100 (CET) Message-ID: <511177E8.8050009@martinlaabs.de> Date: Tue, 05 Feb 2013 22:21:44 +0100 From: Martin Laabs User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Get the USB descriptor string from uhid device Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/16632/Tue Feb 5 17:47:06 2013 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: Tue, 05 Feb 2013 21:51:04 -0000 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? Thank you, Martin Laabs