From owner-freebsd-hackers@FreeBSD.ORG Mon May 25 11:40:47 2009 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 7538D10656F1 for ; Mon, 25 May 2009 11:40:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 08DEE8FC16 for ; Mon, 25 May 2009 11:40:46 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=BwWTiKGVVWln0oj1wRgA:9 a=6Sr2RZelOs0eywLZLu4A:7 a=2SvVlP7qaeryf-qMfv4BE5MCk-MA:4 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 504236252; Mon, 25 May 2009 13:40:44 +0200 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Mon, 25 May 2009 13:44:45 +0200 User-Agent: KMail/1.9.7 References: <20090525083845.GA95406@hodja.bebik.net> In-Reply-To: <20090525083845.GA95406@hodja.bebik.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905251344.46530.hselasky@c2i.net> Cc: "Rodrigo OSORIO \(ros\)" Subject: Re: improve my USB knowledge 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: Mon, 25 May 2009 11:40:48 -0000 On Monday 25 May 2009, Rodrigo OSORIO (ros) wrote: > Hi fellow hackers, > > This weekend I try to increase my knowledge about USB devices - I start > from 0 - playing with one of this funny low cost USB gadgets. > I read few articles about writing USB drivers, specially the Linux USB > development guide, and I want to know if there is others (BSD related) > articles or documents I can/must read. FYI, I work with the new USB stack > in 8-CURRENT. > Hi, Maybe a good starting point would be usbconfig utility and the do_request command, which allows you to control your gadget through the control endpoint. Else there is the manpages: man libusb man usb --HPS