<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-remsim/+/18477">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Enable async use of libosmo-simtrace2<br><br>libosmo-simtrace2 traditionally had only supported blocking, synchronous<br>I/O, while remsim-client used asynchronous USB I/O.  Using async USB I/O<br>for IRQ + IN transfers while using blocking I/O for OUT transfers<br>doesn't seem to work reliably, so we have to switch OUT also to async.<br><br>Depends: simtrace2.git Ib8939bdb7f533cd20a34a30a97f12b782b9816c2<br>Change-Id: I18bf166a95bd4318d700b3e93401b2db5188acfc<br>---<br>M src/client/user_simtrace2.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/77/18477/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/client/user_simtrace2.c b/src/client/user_simtrace2.c</span><br><span>index c66f71e..5ce034d 100644</span><br><span>--- a/src/client/user_simtrace2.c</span><br><span>+++ b/src/client/user_simtrace2.c</span><br><span>@@ -412,6 +412,7 @@</span><br><span>     if (cfg->usb.path)</span><br><span>                osmo_strlcpy(ifm->path, cfg->usb.path, sizeof(ifm->path));</span><br><span>  transp->udp_fd = -1;</span><br><span style="color: hsl(120, 100%, 40%);">+       transp->usb_async = true;</span><br><span>         transp->usb_devh = osmo_libusb_open_claim_interface(NULL, NULL, ifm);</span><br><span>     if (!transp->usb_devh) {</span><br><span>          fprintf(stderr, "can't open USB device\n");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-remsim/+/18477">change 18477</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-remsim/+/18477"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-remsim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I18bf166a95bd4318d700b3e93401b2db5188acfc </div>
<div style="display:none"> Gerrit-Change-Number: 18477 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>