From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 8 16:57:33 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83305106566B for ; Tue, 8 Nov 2011 16:57:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 164508FC17 for ; Tue, 8 Nov 2011 16:57:32 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 26228362; Tue, 08 Nov 2011 17:47:29 +0100 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Tue, 8 Nov 2011 17:44:37 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201111081744.37213.hselasky@c2i.net> Cc: Daniel Grech Subject: Re: USB FS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 16:57:33 -0000 On Tuesday 08 November 2011 17:24:33 Daniel Grech wrote: > Hi, > > I am trying to write a program that makes use of the USB_FS ioctl calls to > achieve it's functionality. Unfortunately I am encountering some > difficulties with these ioctl calls and am not exactly sure which call is > supposed to do what. Does anyone know of some resource which could help me > understand these calls better ? > Hi, You can look at the VirtualBox and libusb sources for examples. I recommend to use libusb and not the USB_FS inteface directly. --HPS