KurtE
Senior Member+
Observations, about differences between running MTP on Windows versus Ubuntu:
In this case running on T4.1 with MTP_Teensy -> Simple example, I have prop shield simple plugged in to it (sort of... 3 rails)
Note the 32gb SD Card I plugged in, has a copy of MTP_Teensy github on it... (that is I copied the github project to it) so I could try out some files on Ubuntu...
So, when I plugged this into Ubuntu (actually programmed it here), and the program launches I noticed the debug output showing a lot of stuff... If I do the '1' command you see:
So it looks like it totally scans the storage items up front. I have not even opened a window showing MTP yet...
Now if I run on Windows you see:
Note: this Teensy auto loads a window when plugged in:
So the index list starts off only with the list of storage objects:
Now if I click to open up the SD Card I see the list grows to only include the root:
Now will be interesting to see what happens with MSC drives
In this case running on T4.1 with MTP_Teensy -> Simple example, I have prop shield simple plugged in to it (sort of... 3 rails)
Note the 32gb SD Card I plugged in, has a copy of MTP_Teensy github on it... (that is I copied the github project to it) so I could try out some files on Ubuntu...
So, when I plugged this into Ubuntu (actually programmed it here), and the program launches I noticed the debug output showing a lot of stuff... If I do the '1' command you see:
Code:
Dump Storage list(4)
store:0 storage:10001 name:RAM fs:20005684
store:1 storage:20001 name:SD_Card fs:20004f24
store:2 storage:30001 name:Program fs:200055b8
store:3 storage:40001 name:SPI Flash fs:200054d4
Dump Index List
0: 0 1 1 -1 0 20 0 0 /
1: 1 1 1 -1 0 23 0 0 /
2: 2 1 1 -1 0 0 0 0 /
3: 3 1 1 -1 0 25 0 0 /
20: 0 0 0 0 0 0 1637390360 1637390360 mtpindex.dat
21: 1 0 0 1 0 22014452 1637313900 1637313906 LargeIndexedTestfile.txt
22: 1 1 1 1 21 35 1637302974 1637302976 System Volume Information
23: 1 1 1 1 22 33 1637303014 1632801936 MTP_Teensy
24: 3 0 0 3 0 115712 1546300932 1546300932 Screenshot from 2021-09-11 05-46-25.png
25: 3 0 0 3 24 113777 1546300939 1546300939 Screenshot from 2021-09-11 05-47-49.png
26: 1 0 0 23 0 66 1637303014 1632801578 .gitattributes
27: 1 0 0 23 26 47 1637303014 1632803648 .gitignore
28: 1 0 0 23 27 343 1637303014 1632802278 library.properties
29: 1 0 0 23 28 1113 1637303014 1632803784 LICENSE
30: 1 0 0 23 29 2498 1637303014 1632804752 README.md
31: 1 1 1 23 30 70 1637303014 1637231246 .git
32: 1 1 1 23 31 56 1637303044 1637210510 examples
33: 1 1 1 23 32 39 1637303046 1635684012 src
34: 1 0 0 22 0 12 1637302974 1637302976 WPSettings.dat
35: 1 0 0 22 34 76 1637302974 1637302976 IndexerVolumeGuid
36: 1 0 0 33 0 31374 1637303046 1636801596 MTP_Storage.cpp
37: 1 0 0 33 36 6570 1637303046 1634822652 MTP_Storage.h
38: 1 0 0 33 37 103975 1637303046 1637296668 MTP_Teensy.cpp
39: 1 0 0 33 38 7736 1637303046 1637054242 MTP_Teensy.h
40: 1 1 1 32 0 106 1637303044 1636440586 Bogus_MTP-logger
41: 1 1 1 32 40 103 1637303044 1634539842 format_timeout_test
42: 1 1 1 32 41 101 1637303044 1633671138 LFS_Program_MTP_Simple_Datalogger
43: 1 1 1 32 42 99 1637303044 1632804262 LFS_SPI_MTP_Simple_Datalogger
44: 1 1 1 32 43 97 1637303044 1632804262 LittleFS_Program_Simple_Datalogger-dates
45: 1 1 1 32 44 96 1637303044 1633670454 mtp-logger
46: 1 1 1 32 45 94 1637303044 1635593124 mtp-test
47: 1 1 1 32 46 90 1637303044 1632804262 SD_MTP-logger
48: 1 1 1 32 47 88 1637303044 1633672242 SD_Program_MTP-logger
49: 1 1 1 32 48 86 1637303044 1634552344 SD_Program_SPI_QSPI_MTP-logger
50: 1 1 1 32 49 83 1637303044 1635745786 SD_SPI_QSPI_MTP-logger
51: 1 1 1 32 50 81 1637303044 1633669952 simple
52: 1 1 1 32 51 79 1637303044 1634552344 simple_t41_qflash
53: 1 1 1 32 52 78 1637303044 1634279770 simple_t4_audio_sd
54: 1 1 1 32 53 76 1637303044 1635792194 USB_MTP-logger
55: 1 1 1 32 54 73 1637303046 1637210510 USB_MTP_IntegrityCheck
56: 1 1 1 32 55 72 1637303046 1632804262 USB_SPI_MTP-logger
57: 1 0 0 31 0 47 1637303014 1637231246 COMMIT_EDITMSG
58: 1 0 0 31 57 396 1637303014 1633667982 config
59: 1 0 0 31 58 36 1637303014 1632801578 description
60: 1 0 0 31 59 223 1637303014 1637233300 FETCH_HEAD
61: 1 0 0 31 60 21 1637303014 1633672244 HEAD
62: 1 0 0 31 61 3994 1637303014 1637231246 index
63: 1 0 0 31 62 41 1637303014 1637210510 ORIG_HEAD
64: 1 0 0 31 63 46 1637303014 1633623552 packed-refs
65: 1 0 0 31 64 41 1637303014 1633672242 REBASE_HEAD
66: 1 1 0 31 65 0 1637303014 1632801578 hooks
67: 1 1 0 31 66 0 1637303016 1632801578 info
68: 1 1 0 31 67 0 1637303016 1632801580 logs
69: 1 1 0 31 68 0 1637303016 1637233300 objects
70: 1 1 1 31 69 109 1637303042 1634552344 refs
71: 1 0 0 56 0 3870 1637303046 1631257372 Compile.cmd
72: 1 0 0 56 71 11472 1637303046 1633671222 USB_SPI_MTP-logger.ino
73: 1 0 0 55 0 18591 1637303046 1637210510 USB_MTP_IntegrityCheck.ino
74: 1 0 0 54 0 5377 1637303046 1636986844 BogusFS.h
75: 1 0 0 54 74 3404 1637303046 1636987038 Compile.cmd
76: 1 0 0 54 75 10342 1637303046 1636436736 USB_MTP-logger.ino
77: 1 0 0 53 0 3404 1637303044 1634537784 Compile.cmd
78: 1 0 0 53 77 8001 1637303044 1634279770 simple_t4_audio_sd.ino
79: 1 0 0 52 0 2222 1637303044 1634552344 simple_t41_qflash.ino
80: 1 0 0 51 0 3404 1637303044 1633670066 Compile.cmd
81: 1 0 0 51 80 7256 1637303044 1633669426 simple.ino
82: 1 0 0 50 0 3404 1637303044 1634364734 Compile.cmd
83: 1 0 0 50 82 12588 1637303044 1637041174 SD_SPI_QSPI_MTP-logger.ino
84: 1 0 0 49 0 3404 1637303044 1637041260 Compile.cmd
85: 1 0 0 49 84 3521 1637303044 1637218756 LittleFSCombine.h
86: 1 0 0 49 85 11264 1637303044 1637220392 SD_Program_SPI_QSPI_MTP-logger.ino
87: 1 0 0 48 0 3404 1637303044 1634282762 Compile.cmd
88: 1 0 0 48 87 9759 1637303044 1634283268 SD_Program_MTP-logger.ino
89: 1 0 0 47 0 3404 1637303044 1632556744 Compile.cmd
90: 1 0 0 47 89 7912 1637303044 1634278868 SD_MTP-logger.ino
91: 1 0 0 46 0 3404 1637303044 1634187894 Compile.cmd
92: 1 0 0 46 91 19690 1637303044 1635593124 mtp-test.ino
93: 1 0 0 46 92 789 1637303044 1636867226 mtp-test.sublime-project
94: 1 0 0 46 93 343272 1637303044 1635936528 mtp-test.sublime-workspace
95: 1 0 0 45 0 3404 1637303044 1633670454 Compile.cmd
96: 1 0 0 45 95 24412 1637303044 1633670616 mtp-logger.ino
97: 1 0 0 44 0 6721 1637303044 1632804262 LittleFS_Program_Simple_Datalogger-dates.ino
98: 1 0 0 43 0 3404 1637303044 1633671318 Compile.cmd
99: 1 0 0 43 98 5557 1637303044 1633671310 LFS_SPI_MTP_Simple_Datalogger.ino
100: 1 0 0 42 0 3404 1637303044 1633671140 Compile.cmd
101: 1 0 0 42 100 5802 1637303044 1633671220 LFS_Program_MTP_Simple_Datalogger.ino
102: 1 0 0 41 0 3404 1637303044 1634554384 Compile.cmd
103: 1 0 0 41 102 3126 1637303044 1634545026 format_timeout_test.ino
104: 1 0 0 40 0 5378 1637303044 1637256756 BogusFS.h
105: 1 0 0 40 104 7873 1637303044 1637257200 Bogus_MTP-logger.ino
106: 1 0 0 40 105 3404 1637303044 1637257042 Compile.cmd
107: 1 1 0 70 0 0 1637303042 1637231246 heads
108: 1 1 0 70 107 0 1637303044 1632804952 remotes
109: 1 1 0 70 108 0 1637303044 1632801578 tags
110: 1 1 0 69 0 0 1637303016 1634536266 01
111: 1 1 0 69 110 0 1637303016 1634653506 02
112: 1 1 0 69 111 0 1637303016 1635845614 03
113: 1 1 0 69 112 0 1637303016 1635593118 04
114: 1 1 0 69 113 0 1637303016 1637231246 06
115: 1 1 0 69 114 0 1637303016 1634279892 07
116: 1 1 0 69 115 0 1637303016 1636535882 08
117: 1 1 0 69 116 0 1637303016 1633671800 09
118: 1 1 0 69 117 0 1637303016 1637042864 0a
119: 1 1 0 69 118 0 1637303016 1632822408 0b
120: 1 1 0 69 119 0 1637303016 1633614742 0c
121: 1 1 0 69 120 0 1637303018 1634470136 0d
122: 1 1 0 69 121 0 1637303018 1637224260 0f
123: 1 1 0 69 122 0 1637303018 1636807764 11
124: 1 1 0 69 123 0 1637303018 1633672212 12
125: 1 1 0 69 124 0 1637303018 1637042862 14
126: 1 1 0 69 125 0 1637303018 1633001248 15
127: 1 1 0 69 126 0 1637303018 1636811178 16
128: 1 1 0 69 127 0 1637303018 1633692154 17
129: 1 1 0 69 128 0 1637303018 1634530154 18
130: 1 1 0 69 129 0 1637303018 1633534858 19
131: 1 1 0 69 130 0 1637303018 1632804938 1a
132: 1 1 0 69 131 0 1637303018 1636097836 1b
133: 1 1 0 69 132 0 1637303018 1634536266 1c
134: 1 1 0 69 133 0 1637303018 1633619560 1d
135: 1 1 0 69 134 0 1637303018 1635394146 1e
136: 1 1 0 69 135 0 1637303018 1634824754 1f
137: 1 1 0 69 136 0 1637303018 1634824798 20
138: 1 1 0 69 137 0 1637303018 1632812642 21
139: 1 1 0 69 138 0 1637303020 1634553506 22
140: 1 1 0 69 139 0 1637303020 1637224260 23
141: 1 1 0 69 140 0 1637303020 1635482694 24
142: 1 1 0 69 141 0 1637303020 1636807764 25
143: 1 1 0 69 142 0 1637303020 1636094740 27
144: 1 1 0 69 143 0 1637303020 1636535882 28
145: 1 1 0 69 144 0 1637303020 1637224260 29
146: 1 1 0 69 145 0 1637303020 1634358482 2a
147: 1 1 0 69 146 0 1637303020 1635593120 2b
148: 1 1 0 69 147 0 1637303020 1636535880 2d
149: 1 1 0 69 148 0 1637303020 1635239878 2e
150: 1 1 0 69 149 0 1637303020 1634145970 2f
151: 1 1 0 69 150 0 1637303020 1633672212 30
152: 1 1 0 69 151 0 1637303020 1633672244 31
153: 1 1 0 69 152 0 1637303020 1634552334 33
154: 1 1 0 69 153 0 1637303020 1633667914 34
155: 1 1 0 69 154 0 1637303020 1633672212 35
156: 1 1 0 69 155 0 1637303020 1637035710 38
157: 1 1 0 69 156 0 1637303020 1632816726 39
158: 1 1 0 69 157 0 1637303022 1636803640 3a
159: 1 1 0 69 158 0 1637303022 1634824754 3b
160: 1 1 0 69 159 0 1637303022 1633505448 3c
161: 1 1 0 69 160 0 1637303022 1634721018 3d
162: 1 1 0 69 161 0 1637303022 1632812418 3e
163: 1 1 0 69 162 0 1637303022 1637210508 3f
164: 1 1 0 69 163 0 1637303022 1633612632 40
165: 1 1 0 69 164 0 1637303022 1636094740 41
166: 1 1 0 69 165 0 1637303022 1633186126 42
167: 1 1 0 69 166 0 1637303022 1636811178 43
168: 1 1 0 69 167 0 1637303022 1634624850 44
169: 1 1 0 69 168 0 1637303022 1635746070 45
170: 1 1 0 69 169 0 1637303022 1637210506 46
171: 1 1 0 69 170 0 1637303022 1634824754 47
172: 1 1 0 69 171 0 1637303022 1637231246 48
173: 1 1 0 69 172 0 1637303022 1635845614 49
174: 1 1 0 69 173 0 1637303022 1634836256 4a
175: 1 1 0 69 174 0 1637303022 1633622566 4b
176: 1 1 0 69 175 0 1637303022 1634552336 4c
177: 1 1 0 69 176 0 1637303022 1634545164 4d
178: 1 1 0 69 177 0 1637303024 1633671800 4e
179: 1 1 0 69 178 0 1637303024 1637210508 50
180: 1 1 0 69 179 0 1637303024 1633534856 51
181: 1 1 0 69 180 0 1637303024 1635845614 52
182: 1 1 0 69 181 0 1637303024 1635593118 53
183: 1 1 0 69 182 0 1637303024 1634552322 54
184: 1 1 0 69 183 0 1637303024 1635845614 55
185: 1 1 0 69 184 0 1637303024 1634469778 56
186: 1 1 0 69 185 0 1637303024 1637036052 57
187: 1 1 0 69 186 0 1637303024 1634279892 58
188: 1 1 0 69 187 0 1637303024 1636803640 59
189: 1 1 0 69 188 0 1637303024 1637224260 5a
190: 1 1 0 69 189 0 1637303024 1634824798 5b
191: 1 1 0 69 190 0 1637303024 1637042862 5c
192: 1 1 0 69 191 0 1637303024 1633612632 5d
193: 1 1 0 69 192 0 1637303024 1634536266 5e
194: 1 1 0 69 193 0 1637303026 1633842402 5f
195: 1 1 0 69 194 0 1637303026 1634624850 60
196: 1 1 0 69 195 0 1637303026 1637042864 61
197: 1 1 0 69 196 0 1637303026 1633679746 62
198: 1 1 0 69 197 0 1637303026 1632804936 63
199: 1 1 0 69 198 0 1637303026 1634449658 64
200: 1 1 0 69 199 0 1637303026 1634279892 65
201: 1 1 0 69 200 0 1637303026 1635593118 66
202: 1 1 0 69 201 0 1637303026 1636803640 67
203: 1 1 0 69 202 0 1637303026 1636535882 68
204: 1 1 0 69 203 0 1637303026 1636535882 69
205: 1 1 0 69 204 0 1637303026 1636535882 6a
206: 1 1 0 69 205 0 1637303026 1636097836 6b
207: 1 1 0 69 206 0 1637303026 1636094740 6d
208: 1 1 0 69 207 0 1637303026 1637210506 6e
209: 1 1 0 69 208 0 1637303026 1632812646 6f
210: 1 1 0 69 209 0 1637303028 1637035710 70
211: 1 1 0 69 210 0 1637303028 1633671800 71
212: 1 1 0 69 211 0 1637303028 1633186168 72
213: 1 1 0 69 212 0 1637303028 1635409142 73
214: 1 1 0 69 213 0 1637303028 1634552322 74
215: 1 1 0 69 214 0 1637303028 1634552336 75
216: 1 1 0 69 215 0 1637303028 1634634324 76
217: 1 1 0 69 216 0 1637303028 1636094740 77
218: 1 1 0 69 217 0 1637303028 1633186168 78
219: 1 1 0 69 218 0 1637303028 1635409142 79
220: 1 1 0 69 219 0 1637303028 1634824798 7a
221: 1 1 0 69 220 0 1637303028 1634280140 7b
222: 1 1 0 69 221 0 1637303028 1636807764 7c
223: 1 1 0 69 222 0 1637303028 1636807764 7d
224: 1 1 0 69 223 0 1637303028 1636803640 7e
225: 1 1 0 69 224 0 1637303028 1633692162 7f
226: 1 1 0 69 225 0 1637303028 1634634324 80
227: 1 1 0 69 226 0 1637303028 1634530154 81
228: 1 1 0 69 227 0 1637303030 1635409142 82
229: 1 1 0 69 228 0 1637303030 1637224260 83
230: 1 1 0 69 229 0 1637303030 1634634324 84
231: 1 1 0 69 230 0 1637303030 1632816726 85
232: 1 1 0 69 231 0 1637303030 1635394148 86
233: 1 1 0 69 232 0 1637303030 1634131308 88
234: 1 1 0 69 233 0 1637303030 1633534858 89
235: 1 1 0 69 234 0 1637303030 1633612632 8a
236: 1 1 0 69 235 0 1637303030 1636807764 8b
237: 1 1 0 69 236 0 1637303030 1634824798 8c
238: 1 1 0 69 237 0 1637303030 1634552322 8f
239: 1 1 0 69 238 0 1637303030 1637042862 90
240: 1 1 0 69 239 0 1637303030 1636811178 91
241: 1 1 0 69 240 0 1637303030 1634653506 92
242: 1 1 0 69 241 0 1637303032 1636535882 93
243: 1 1 0 69 242 0 1637303032 1634634324 94
244: 1 1 0 69 243 0 1637303032 1637210506 95
245: 1 1 0 69 244 0 1637303032 1634390094 96
246: 1 1 0 69 244 0 1637303032 1634390094 96
247: 1 1 0 69 244 0 1637303032 1634390094 96
248: 1 1 0 69 244 0 1637303032 1634390094 96
249: 1 1 0 69 244 0 1637303032 1634390094 96
250: 1 1 0 69 244 0 1637303032 1634390094 96
251: 1 1 0 69 244 0 1637303032 1634390094 96
252: 1 1 0 69 244 0 1637303032 1634390094 96
253: 1 1 0 69 244 0 1637303032 1634390094 96
254: 1 1 0 69 244 0 1637303032 1634390094 96
255: 1 1 0 69 244 0 1637303032 1634390094 96
256: 1 1 0 69 244 0 1637303032 1634390094 96
257: 1 1 0 69 244 0 1637303032 1634390094 96
258: 1 1 0 69 244 0 1637303032 1634390094 96
259: 1 1 0 69 244 0 1637303032 1634390094 96
260: 1 1 0 69 244 0 1637303032 1634390094 96
261: 1 1 0 69 244 0 1637303032 1634390094 96
262: 1 1 0 69 244 0 1637303032 1634390094 96
263: 1 1 0 69 244 0 1637303032 1634390094 96
264: 1 1 0 69 244 0 1637303032 1634390094 96
265: 1 1 0 69 244 0 1637303032 1634390094 96
266: 1 1 0 69 244 0 1637303032 1634390094 96
267: 1 1 0 69 244 0 1637303032 1634390094 96
268: 1 1 0 69 244 0 1637303032 1634390094 96
269: 1 1 0 69 244 0 1637303032 1634390094 96
270: 1 1 0 69 244 0 1637303032 1634390094 96
271: 1 1 0 69 244 0 1637303032 1634390094 96
272: 1 1 0 69 244 0 1637303032 1634390094 96
273: 1 1 0 69 244 0 1637303032 1634390094 96
274: 1 1 0 69 244 0 1637303032 1634390094 96
275: 1 1 0 69 244 0 1637303032 1634390094 96
276: 1 1 0 69 244 0 1637303032 1634390094 96
277: 1 1 0 69 244 0 1637303032 1634390094 96
278: 1 1 0 69 244 0 1637303032 1634390094 96
279: 1 1 0 69 244 0 1637303032 1634390094 96
280: 1 1 0 69 244 0 1637303032 1634390094 96
281: 1 1 0 69 244 0 1637303032 1634390094 96
282: 1 1 0 69 244 0 1637303032 1634390094 96
283: 1 1 0 69 244 0 1637303032 1634390094 96
284: 1 1 0 69 244 0 1637303032 1634390094 96
285: 1 1 0 69 244 0 1637303032 1634390094 96
286: 1 1 0 69 244 0 1637303032 1634390094 96
287: 1 1 0 69 244 0 1637303032 1634390094 96
288: 1 1 0 69 244 0 1637303032 1634390094 96
289: 1 1 0 69 244 0 1637303032 1634390094 96
290: 1 1 0 69 244 0 1637303032 1634390094 96
291: 1 1 0 69 244 0 1637303032 1634390094 96
292: 1 1 0 69 244 0 1637303032 1634390094 96
293: 1 1 0 69 244 0 1637303032 1634390094 96
294: 1 1 0 69 244 0 1637303032 1634390094 96
295: 1 1 0 69 244 0 1637303032 1634390094 96
296: 1 1 0 69 244 0 1637303032 1634390094 96
297: 1 1 0 69 244 0 1637303032 1634390094 96
298: 1 1 0 69 244 0 1637303032 1634390094 96
299: 1 1 0 69 244 0 1637303032 1634390094 96
300: 1 1 0 69 244 0 1637303032 1634390094 96
301: 1 1 0 69 244 0 1637303032 1634390094 96
302: 1 1 0 69 244 0 1637303032 1634390094 96
303: 1 1 0 69 244 0 1637303032 1634390094 96
304: 1 1 0 69 244 0 1637303032 1634390094 96
305: 1 1 0 69 244 0 1637303032 1634390094 96
306: 1 1 0 69 244 0 1637303032 1634390094 96
307: 1 1 0 69 244 0 1637303032 1634390094 96
308: 1 1 0 69 244 0 1637303032 1634390094 96
309: 1 1 0 69 244 0 1637303032 1634390094 96
310: 1 1 0 69 244 0 1637303032 1634390094 96
311: 1 1 0 69 244 0 1637303032 1634390094 96
312: 1 1 0 69 244 0 1637303032 1634390094 96
313: 1 1 0 69 244 0 1637303032 1634390094 96
314: 1 1 0 69 244 0 1637303032 1634390094 96
315: 1 1 0 69 244 0 1637303032 1634390094 96
316: 1 1 0 69 244 0 1637303032 1634390094 96
317: 1 1 0 69 244 0 1637303032 1634390094 96
318: 1 1 0 69 244 0 1637303032 1634390094 96
319: 1 1 0 69 244 0 1637303032 1634390094 96
320: 1 1 0 69 244 0 1637303032 1634390094 96
321: 1 1 0 69 244 0 1637303032 1634390094 96
322: 1 1 0 69 244 0 1637303032 1634390094 96
323: 1 1 0 69 244 0 1637303032 1634390094 96
324: 1 1 0 69 244 0 1637303032 1634390094 96
325: 1 1 0 69 244 0 1637303032 1634390094 96
326: 1 1 0 69 244 0 1637303032 1634390094 96
327: 1 1 0 69 244 0 1637303032 1634390094 96
328: 1 1 0 69 244 0 1637303032 1634390094 96
329: 1 1 0 69 244 0 1637303032 1634390094 96
330: 1 1 0 69 244 0 1637303032 1634390094 96
331: 1 1 0 69 244 0 1637303032 1634390094 96
332: 1 1 0 69 244 0 1637303032 1634390094 96
333: 1 1 0 69 244 0 1637303032 1634390094 96
334: 1 1 0 69 244 0 1637303032 1634390094 96
335: 1 1 0 69 244 0 1637303032 1634390094 96
336: 1 1 0 69 244 0 1637303032 1634390094 96
337: 1 1 0 69 244 0 1637303032 1634390094 96
338: 1 1 0 69 244 0 1637303032 1634390094 96
339: 1 1 0 69 244 0 1637303032 1634390094 96
340: 1 1 0 69 244 0 1637303032 1634390094 96
341: 1 1 0 69 244 0 1637303032 1634390094 96
342: 1 1 0 69 244 0 1637303032 1634390094 96
343: 1 1 0 69 244 0 1637303032 1634390094 96
344: 1 1 0 69 244 0 1637303032 1634390094 96
345: 1 1 0 69 244 0 1637303032 1634390094 96
346: 1 1 0 69 244 0 1637303032 1634390094 96
347: 1 1 0 69 244 0 1637303032 1634390094 96
348: 1 1 0 69 244 0 1637303032 1634390094 96
349: 1 1 0 69 244 0 1637303032 1634390094 96
350: 1 1 0 69 244 0 1637303032 1634390094 96
351: 1 1 0 69 244 0 1637303032 1634390094 96
352: 1 1 0 69 244 0 1637303032 1634390094 96
353: 1 1 0 69 244 0 1637303032 1634390094 96
354: 1 1 0 69 244 0 1637303032 1634390094 96
355: 1 1 0 69 244 0 1637303032 1634390094 96
356: 1 1 0 69 244 0 1637303032 1634390094 96
357: 1 1 0 69 244 0 1637303032 1634390094 96
358: 1 1 0 69 244 0 1637303032 1634390094 96
359: 1 1 0 69 244 0 1637303032 1634390094 96
360: 1 1 0 69 244 0 1637303032 1634390094 96
So it looks like it totally scans the storage items up front. I have not even opened a window showing MTP yet...
Now if I run on Windows you see:
Note: this Teensy auto loads a window when plugged in:
Code:
Dump Storage list(4)
store:0 storage:10001 name:RAM fs:20005684
store:1 storage:20001 name:SD_Card fs:20004f24
store:2 storage:30001 name:Program fs:200055b8
store:3 storage:40001 name:SPI Flash fs:200054d4
Dump Index List
Now if I click to open up the SD Card I see the list grows to only include the root:
Code:
Dump Storage list(4)
store:0 storage:10001 name:RAM fs:20005684
store:1 storage:20001 name:SD_Card fs:20004f24
store:2 storage:30001 name:Program fs:200055b8
store:3 storage:40001 name:SPI Flash fs:200054d4
Dump Index List
0: 0 1 0 -1 0 0 0 0 /
1: 1 1 1 -1 0 22 0 0 /
2: 2 1 0 -1 0 0 0 0 /
3: 3 1 0 -1 0 0 0 0 /
20: 1 0 0 1 0 22014452 1637313900 1637313906 LargeIndexedTestfile.txt
21: 1 1 0 1 20 0 1637302974 1637302976 System Volume Information
22: 1 1 0 1 21 0 1637303014 1632801936 MTP_Teensy
Now will be interesting to see what happens with MSC drives