VirtualBox

Changeset 59325 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Jan 13, 2016 6:42:16 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104995
Message:

VBoxUSB/darwin: Fix issues grabbing certain interfaces after the guest issued a SET_CONFIGURATION request to a grabbed device on El Capitan.

The SET_CONFIGURATION request causes a probing of all interfaces for matching drivers. Because IOUSBUserClientInit::probe() returns NULL
on El Capitan (10.11) VBox fails to hijack the interface and other drivers might get a shot blocking access to the interface and breaking USB
passthrough.
This is an amendment of r102968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSB.cpp

    r58277 r59325  
    16851685
    16861686    IOService *pRet = IOUSBUserClientInit::probe(pProvider, pi32Score);
     1687    pRet = this;
    16871688    *pi32Score = _1G;
    16881689    Log(("VBoxUSBInterface::probe: returns %p and *pi32Score=%d - hijack it.\n", pRet, *pi32Score));
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