<p>Hoernchen has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16283">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix power descriptor value<br><br>The previous value would allow using the device<br>without external power, i.e. on a hub, which leads<br>to silent failures trying to power up the slots<br>(nothing happens, no atr will be received)<br><br>Change-Id: I40c48ea56151d13de362b8f73cae5b21aba0ebfa<br>FIXME: The device should offer at least one 100mA configuration.<br>---<br>M sysmoOCTSIM/usb_descriptors.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/83/16283/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/sysmoOCTSIM/usb_descriptors.c b/sysmoOCTSIM/usb_descriptors.c</span><br><span>index 63ace0c..beb1633 100644</span><br><span>--- a/sysmoOCTSIM/usb_descriptors.c</span><br><span>+++ b/sysmoOCTSIM/usb_descriptors.c</span><br><span>@@ -52,7 +52,8 @@</span><br><span>                 .bConfigurationValue = CONF_USB_CDCD_ACM_BCONFIGVAL,</span><br><span>                 .iConfiguration = STR_DESC_CONFIG,</span><br><span>           .bmAttributes = CONF_USB_CDCD_ACM_BMATTRI,</span><br><span style="color: hsl(0, 100%, 40%);">-              .bMaxPower = CONF_USB_CDCD_ACM_BMAXPOWER,</span><br><span style="color: hsl(120, 100%, 40%);">+             /* FIXME: The device should offer at least one 100mA configuration. */</span><br><span style="color: hsl(120, 100%, 40%);">+                .bMaxPower = 250, /* request 500mA */</span><br><span>        },</span><br><span>   .cdc = {</span><br><span>             .comm = {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16283">change 16283</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-ccid-firmware/+/16283"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ccid-firmware </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I40c48ea56151d13de362b8f73cae5b21aba0ebfa </div>
<div style="display:none"> Gerrit-Change-Number: 16283 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>