Change in osmo-ccid-firmware[master]: dfu: proper product name for dfu runtime descriptor

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
Wed Jan 29 12:38:36 UTC 2020


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


Change subject: dfu: proper product name for dfu runtime descriptor
......................................................................

dfu: proper product name for dfu runtime descriptor

dfu-util -l says
Found Runtime: [1d50:60e3] ver=0002, devnum=72, cfg=1, intf=1,
path="1-2", alt=0, name="UNKNOWN", serial="12345"
Found Runtime: [1d50:6141] ver=0000, devnum=71, cfg=1, intf=3,
path="1-3", alt=0, name="DFU (Runtime)", serial="6789"

One is a simtrace2, one is the octsim - let's make flashing less
exciting by at least telling the user which one is the octsim...

Change-Id: Ifa37c63c97824ce42b3476f53626323cb40b879e
---
M sysmoOCTSIM/usb_descriptors.c
M sysmoOCTSIM/usb_descriptors.h
2 files changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/sysmoOCTSIM/usb_descriptors.c b/sysmoOCTSIM/usb_descriptors.c
index 00d2007..7652bf6 100644
--- a/sysmoOCTSIM/usb_descriptors.c
+++ b/sysmoOCTSIM/usb_descriptors.c
@@ -221,7 +221,7 @@
 		22,  3, 'd',0, 'e',0, 'b',0, 'u',0, 'g',0, ' ',0, 'U',0, 'A',0, 'R',0, 'T',0,
 		10,  3, 'C',0, 'C',0, 'I',0, 'D',0,
 		12,  3, 'F',0, 'I',0, 'X',0, 'M',0, 'E',0,
-		28,  3, 'D',0, 'F',0, 'U',0, ' ',0, '(',0, 'R',0, 'u',0, 'n',0, 't',0, 'i',0, 'm',0, 'e',0 ,')',0,
+		52,  3, 's',0, 'y',0, 's',0, 'm',0, 'o',0, 'O',0, 'C',0, 'T',0, 'S',0, 'I',0, 'M',0, ' ',0, 'D',0, 'F',0, 'U',0, ' ',0, '(',0, 'R',0, 'u',0, 'n',0, 't',0, 'i',0, 'm',0, 'e',0 ,')',0,
 #endif
 	}
 };
diff --git a/sysmoOCTSIM/usb_descriptors.h b/sysmoOCTSIM/usb_descriptors.h
index ea47d07..ba879f7 100644
--- a/sysmoOCTSIM/usb_descriptors.h
+++ b/sysmoOCTSIM/usb_descriptors.h
@@ -66,7 +66,7 @@
 		struct usb_ep_desc ep[3];
 	} ccid;
 	DFURT_IF_DESCRIPTOR_STRUCT
-	uint8_t str[176];
+	uint8_t str[200];
 } __attribute__((packed));
 
 #endif /* USB_DESCRIPTORS_H_ */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17056
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: Ifa37c63c97824ce42b3476f53626323cb40b879e
Gerrit-Change-Number: 17056
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/20200129/9b4870b9/attachment.htm>


More information about the gerrit-log mailing list