Change in osmo-ccid-firmware[master]: fix power descriptor value

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/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Tue Nov 26 18:39:13 UTC 2019


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16245 )


Change subject: fix power descriptor value
......................................................................

fix power descriptor value

The previous value would allow using the device
without external power, i.e. on a hub, which leads
to silent failures trying to power up the slots
(nothing happens, no atr will be received)

Change-Id: Id7231c2315b141d2f6e88a0ddd4eca3b9384ecc8
---
M sysmoOCTSIM/usb_descriptors.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/45/16245/1

diff --git a/sysmoOCTSIM/usb_descriptors.c b/sysmoOCTSIM/usb_descriptors.c
index 5ea11ec..06308f2 100644
--- a/sysmoOCTSIM/usb_descriptors.c
+++ b/sysmoOCTSIM/usb_descriptors.c
@@ -34,7 +34,7 @@
 		.bConfigurationValue = CONF_USB_CDCD_ACM_BCONFIGVAL,
 		.iConfiguration = STR_DESC_CONFIG,
 		.bmAttributes = CONF_USB_CDCD_ACM_BMATTRI,
-		.bMaxPower = CONF_USB_CDCD_ACM_BMAXPOWER,
+		.bMaxPower = 250, /* request 500mA */
 	},
 	.cdc = {
 		.comm = {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16245
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Id7231c2315b141d2f6e88a0ddd4eca3b9384ecc8
Gerrit-Change-Number: 16245
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191126/f7eaa3a6/attachment.htm>


More information about the gerrit-log mailing list