From owner-freebsd-usb@FreeBSD.ORG Tue Apr 17 10:02:00 2012 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 436FA106564A for ; Tue, 17 Apr 2012 10:02:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C71B98FC14 for ; Tue, 17 Apr 2012 10:01:59 +0000 (UTC) Received: from [82.113.98.105] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SK5EO-0005Dm-3Q; Tue, 17 Apr 2012 12:01:52 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q3HA1n4v002608; Tue, 17 Apr 2012 12:01:50 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q3HA1nSY002607; Tue, 17 Apr 2012 12:01:49 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 17 Apr 2012 12:01:48 +0200 From: Matthias Apitz To: freebsd-usb@freebsd.org, Bruce Cran Message-ID: <20120417100147.GA2557@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.98.105 Cc: Subject: dfu-util 0.5 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 10:02:00 -0000 Hello, > > > > 'dfu-util' from FreeBSD: > > > > > > > > $ dfu-util -V > > > > dfu-util - (C) 2007-2008 by OpenMoko Inc. > > > > This program is Free Software and has ABSOLUTELY NO WARRANTY > > > > dfu-util version 0.1+svnUnversioned directory > > > > > > Latest version is 0.5 see > > > http://dfu-util.gnumonks.org/ > > > > this is not ported to FreeBSD; I will try to get it updated or port it > > by my onw; > I have compiled dfu-util 0.5 directly from the sources because the port is version 0.1 from 2009; this went streight forward with: $ USB_CFLAGS=" " USB_LIBS="-lusb" ./configure $ make but the resulting dfu-util somehow does not work (while the 0.1 version works fine on the same FreeBSD host and the same Freerunner): # ~/dfu-util-0.5/src/dfu-util -d 0x1d50:0x5119 -a rootfs -R -D shr-image-om-gta02-20120413222611.rootfs.jffs2 dfu-util 0.5 (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. (C) 2010-2011 Tormod Volden (DfuSe support) This program is Free Software and has ABSOLUTELY NO WARRANTY dfu-util does currently only support DFU version 1.0 Filter on vendor = 0x1d50 product = 0x5119 Opening DFU USB device... ID 1d50:5119 Run-time device DFU version 0100 Claiming USB DFU Runtime Interface... Determining device status: state = appIDLE, status = 0 Device really in Runtime Mode, send DFU detach request... Resetting USB... Opening USB Device... No such Alternate Setting: "rootfs" # as well using "6" for "rootfs" does not work... Any comments or hints what the problem of 0.5 with FreeBSD libusb could be? Thanks matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5