On Tuesday 17 April 2012 16:07:39 Matthias Apitz wrote: > El día Tuesday, April 17, 2012 a las 03:40:24PM +0200, Hans Petter Selasky escribió: > > > > > > 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 > > > > Could you provide a source-code diff? > > attached; thanks >
Hi, After: < ret = libusb_reset_device(dif->dev_handle); Try to add: libusb_set_configuration(dif->dev_handle, 1); --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
