VirtualBox

Changeset 87376 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
Jan 22, 2021 7:22:03 PM (4 years ago)
Author:
vboxsync
Message:

USB/Darwin: Capture USB devices directly through IOUSBLib, no longer use VBoxUSB.kext (see bugref:9808).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp

    r85077 r87376  
    10881088/* -=-=-=-=-=- The exported methods -=-=-=-=-=- */
    10891089
    1090 
    10911090/**
    10921091 * Opens the USB Device.
     
    12341233             * convince them to let go of it...
    12351234             */
     1235            irc = (*ppDevI)->USBDeviceReEnumerate(ppDevI, kUSBReEnumerateCaptureDeviceMask);
     1236            Log(("USBDeviceReEnumerate (capture) returned irc=%#x\n", irc));
     1237
    12361238            irc = (*ppDevI)->USBDeviceOpenSeize(ppDevI);
    12371239            if (irc == kIOReturnExclusiveAccess)
     
    14031405    }
    14041406
     1407    irc = (*pDevOsX->ppDevI)->USBDeviceReEnumerate(pDevOsX->ppDevI, kUSBReEnumerateReleaseDeviceMask);
     1408    Log(("USBDeviceReEnumerate (release) returned irc=%#x\n", irc));
     1409
    14051410    (*pDevOsX->ppDevI)->Release(pDevOsX->ppDevI);
    14061411    pDevOsX->ppDevI = NULL;
Note: See TracChangeset for help on using the changeset viewer.

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