Change in simtrace2[master]: owhw: set the right simtrace USB ID in usb2udp

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Sat Sep 8 06:23:33 UTC 2018


Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/10844


Change subject: owhw: set the right simtrace USB ID in usb2udp
......................................................................

owhw: set the right simtrace USB ID in usb2udp

Change-Id: I0b54c2eb98b3fad1e2afaf9b81fbe4518b01fbda
---
M host/usb2udp.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/44/10844/1

diff --git a/host/usb2udp.c b/host/usb2udp.c
index c25920f..97ffad0 100644
--- a/host/usb2udp.c
+++ b/host/usb2udp.c
@@ -35,7 +35,7 @@
 
 #include <libusb.h>
 
-#include "simtrace.h"
+#include "simtrace_usb.h"
 #include "simtrace_prot.h"
 #include "apdu_dispatch.h"
 #include "simtrace2-discovery.h"
@@ -243,7 +243,7 @@
 
 	libusb_set_pollfd_notifiers(NULL, &libusb_fd_added_cb, &libusb_fd_removed_cb, NULL);
 
-	g_devh = libusb_open_device_with_vid_pid(NULL, SIMTRACE_USB_VENDOR, SIMTRACE_USB_PRODUCT);
+	g_devh = libusb_open_device_with_vid_pid(NULL, USB_VENDOR_OPENMOKO, USB_PRODUCT_OWHW_SAM3);
 	if (!g_devh) {
 		fprintf(stderr, "can't open USB device\n");
 		goto close_exit;

-- 
To view, visit https://gerrit.osmocom.org/10844
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b54c2eb98b3fad1e2afaf9b81fbe4518b01fbda
Gerrit-Change-Number: 10844
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180908/694aab92/attachment.htm>


More information about the gerrit-log mailing list