From owner-freebsd-usb@FreeBSD.ORG Sat Mar 26 07:31:49 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3A561065675; Sat, 26 Mar 2011 07:31:49 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 20CAE8FC16; Sat, 26 Mar 2011 07:31:48 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=6QwXiDozn7Gnsf2tGidwH+ndAwLlGixx7JAIKZICKmI= c=1 sm=1 a=IU0TiZmyZPMA:10 a=vaoYRtZtUZwA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=CBuuo2NdAAAA:8 a=KIZlHw5IP4nRE5TlpJkA:9 a=VwFNk96R9TvbyW0C83kDV2sCYK8A:4 a=CjuIK1q_8ugA:10 a=3iBgCAkc3Z8A:10 a=6Ek07VDobeQA:10 a=cl6vE36vmE82LIud_A8A:9 a=pXVIJmFc8MgE1mAyoFgA:7 a=czO4w7cUush8XfWky9fuHLSP9TsA:4 a=q46TbcNbH9xMnry7:21 a=ASkHR4SrgQBv6o15:21 a=gwhrR9qqVhEbic-xvb8A:9 a=m3NSrB7mXk9aNZKlKNUA:7 a=qsxv-8AErYM24G05EnU3bAtV-EsA:4 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 105524610; Sat, 26 Mar 2011 08:31:46 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 26 Mar 2011 08:30:59 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) 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: Multipart/Mixed; boundary="Boundary-00=_zYZjNFwuOq/KXXC" Message-Id: <201103260830.59672.hselasky@c2i.net> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, libusb-devel@lists.sourceforge.net Subject: Android fastboot support for FreeBSD 8/9 using LibUSB v1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 07:31:50 -0000 --Boundary-00=_zYZjNFwuOq/KXXC Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, The attached files adds USB support to Android's fastboot under FreeBSD 8/9, by using the LibUSB v1.0 interface. http://android-dls.com/wiki/index.php?title=Fastboot Lines for the Android.mk: ifeq ($(HOST_OS),FreeBSD) LOCAL_SRC_FILES += usb_freebsd.c util_freebsd.c LOCAL_LDLIBS += -lpthread -lusb endif Please feel free to forward my patches to the Android team handling the fastboot code. I was not sure where to post it. --HPS --Boundary-00=_zYZjNFwuOq/KXXC--