Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 13:24:29 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444115 - in head/devel/android-tools-fastboot-devel: . files
Message-ID:  <201706221324.v5MDOTqh038391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Jun 22 13:24:29 2017
New Revision: 444115
URL: https://svnweb.freebsd.org/changeset/ports/444115

Log:
  devel/android-tools-fastboot-devel: use upstream notation for device paths
  
  $ adb devices -l
  List of devices attached
  ABCDE1234             device usb:0:2 product:FOO model:BAR device:qux
  
  $ fastboot devices -l
  ABCDE1234             fastboot usb:0:2

Modified:
  head/devel/android-tools-fastboot-devel/Makefile   (contents, props changed)
  head/devel/android-tools-fastboot-devel/files/usb_freebsd.cpp

Modified: head/devel/android-tools-fastboot-devel/Makefile
==============================================================================
--- head/devel/android-tools-fastboot-devel/Makefile	Thu Jun 22 13:14:37 2017	(r444114)
+++ head/devel/android-tools-fastboot-devel/Makefile	Thu Jun 22 13:24:29 2017	(r444115)
@@ -3,7 +3,7 @@
 # Hint: git describe --abbrev=12 --match android-o-preview-2
 DISTVERSION=	o-preview-2-332
 DISTVERSIONSUFFIX=	-gd1e9e7bc06f0
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-devel
 
 GH_MYTAG=	${DISTVERSIONPREFIX}${DISTVERSION:C/-[0-9]*$//}

Modified: head/devel/android-tools-fastboot-devel/files/usb_freebsd.cpp
==============================================================================
--- head/devel/android-tools-fastboot-devel/files/usb_freebsd.cpp	Thu Jun 22 13:14:37 2017	(r444114)
+++ head/devel/android-tools-fastboot-devel/files/usb_freebsd.cpp	Thu Jun 22 13:24:29 2017	(r444115)
@@ -82,7 +82,7 @@ probe(std::unique_ptr<usb_handle> &h, ifc_match_func c
 	info.dev_protocol = ddesc.bDeviceProtocol;
 	info.writable = 1;
 
-	snprintf(info.device_path, sizeof(info.device_path), "ugen%d.%d",
+	snprintf(info.device_path, sizeof(info.device_path), "usb:%d:%d",
 		 libusb_get_bus_number(h->dev), libusb_get_device_address(h->dev));
 
 	if (ddesc.iSerialNumber != 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706221324.v5MDOTqh038391>