Change in osmo-ccid-firmware[master]: fix usb descriptors for CDC_ACM

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

laforge gerrit-no-reply at lists.osmocom.org
Tue Nov 12 11:39:54 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16028 )

Change subject: fix usb descriptors for CDC_ACM
......................................................................

fix usb descriptors for CDC_ACM

This should resolve the following error reported on the Linux host:

[1929282.072955] cdc_acm 1-4.1.1:1.1: Control and data interfaces are not separated!

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

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/sysmoOCTSIM/usb_descriptors.c b/sysmoOCTSIM/usb_descriptors.c
index ddb925b..944e43b 100644
--- a/sysmoOCTSIM/usb_descriptors.c
+++ b/sysmoOCTSIM/usb_descriptors.c
@@ -113,7 +113,7 @@
 				.bDescriptorType = CDC_CS_INTERFACE,
 				.bDescriptorSubtype = CDC_SCS_UNION,
 				.bMasterInterface = CONF_USB_CDCD_ACM_COMM_BIFCNUM,
-				.bSlaveInterface0 = 0x01,
+				.bSlaveInterface0 = CONF_USB_CDCD_ACM_DATA_BIFCNUM,
 			},
 			.ep = {
 				{

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16028
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: Iabd53b4146ffd3b4a4667beba47f15cccd08aa55
Gerrit-Change-Number: 16028
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191112/a207ec25/attachment.htm>


More information about the gerrit-log mailing list