Changeset 87627 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Feb 5, 2021 4:49:57 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/USB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/USBProxyDevice.cpp
r86515 r87627 99 99 if (RT_FAILURE(rc)) 100 100 { 101 Log(("GetStdDescSync: pfnUrb Reapfailed, rc=%d\n", rc));101 Log(("GetStdDescSync: pfnUrbQueue failed, rc=%d\n", rc)); 102 102 goto err; 103 103 } … … 110 110 if (!pUrbReaped) 111 111 { 112 Log(("GetStdDescSync: pfnUrbReap returned NULL, cancel and re-reap\n")); 112 113 rc = pProxyDev->pOps->pfnUrbCancel(pProxyDev, &Urb); 113 114 AssertRC(rc); -
trunk/src/VBox/Devices/USB/VUSBUrbTrace.cpp
r82968 r87627 220 220 pSetup = pPipe->pCtrl->pMsg; 221 221 if (pSetup->bRequest == VUSB_REQ_GET_DESCRIPTOR) 222 fDescriptors = true; 222 /* HID report (0x22) and physical (0x23) descriptors do not use standard format 223 * with descriptor length/type at the front. Don't try to dump them, we'll only 224 * misinterpret them. 225 */ 226 if ( ((pSetup->bmRequestType >> 5) & 0x3) == 1 /* class */ 227 && (RT_HIBYTE(pSetup->wValue) == 0x22) || (RT_HIBYTE(pSetup->wValue) == 0x23)) 228 { 229 fDescriptors = false; 230 } 231 else 232 fDescriptors = true; 223 233 } 224 234 … … 376 386 s_cchMaxMsg, pszMsg, pb - pbData, cb - 2, cb / 2 - 1, pb + 2)); 377 387 else 378 Log(("URB: %*s: %04x: Length=0 !\n", s_cchMaxMsg, pszMsg, pb - pbData));388 Log(("URB: %*s: %04x: Length=0\n", s_cchMaxMsg, pszMsg, pb - pbData)); 379 389 } 380 390 break;
Note:
See TracChangeset
for help on using the changeset viewer.