VirtualBox

Changeset 59122 in vbox


Ignore:
Timestamp:
Dec 14, 2015 2:50:28 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104693
Message:

Main/USB: More fixes

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/RemoteUSBDeviceImpl.cpp

    r59117 r59122  
    7676    RTStrPrintf(id, sizeof(id), REMOTE_USB_BACKEND_PREFIX_S "0x%08X&0x%08X", pDevDesc->id, u32ClientId);
    7777    unconst(mData.address)      = id;
    78     RTStrPrintf(id, sizeof(id), "vrdp");
    79     unconst(mData.backend)      = id;
     78    unconst(mData.backend)      = "vrdp";
    8079
    8180    unconst(mData.port)         = pDevDesc->idPort;
  • trunk/src/VBox/Main/src-server/darwin/iokit.cpp

    r57358 r59122  
    10041004                    pCur->pszProduct = RTStrDup("Bluetooth");
    10051005                darwinDictDupString(PropsRef, CFSTR("USB Serial Number"),   (char **)&pCur->pszSerialNumber);
     1006
     1007                pCur->pszBackend = RTStrDup("host");
     1008                AssertBreak(pCur->pszBackend);
    10061009
    10071010#if 0           /* leave the remainder as zero for now. */
  • trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp

    r59120 r59122  
    334334
    335335            pDevice->pszAddress = RTStrDup(pszDevicePath);
     336            pDevice->pszBackend = RTStrDup("host");
    336337            pDevice->enmState   = USBDEVICESTATE_USED_BY_HOST_CAPTURABLE;
    337338
  • trunk/src/VBox/Main/src-server/solaris/USBProxyBackendSolaris.cpp

    r59120 r59122  
    263263            RTStrPrintf(szBuf, sizeof(szBuf), "%#x:%#x:%d:%s", pCur->idVendor, pCur->idProduct, pCur->bcdDevice, pszDevicePath);
    264264            pCur->pszAddress = RTStrDup(szBuf);
     265            AssertBreak(pCur->pszAddress);
    265266
    266267            pCur->pszDevicePath = RTStrDup(pszDevicePath);
    267268            AssertBreak(pCur->pszDevicePath);
     269
     270            pCur->pszBackend = RTStrDup("host");
     271            AssertBreak(pCur->pszBackend);
    268272
    269273            /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette