Changeset 85172 in vbox for trunk/src/VBox/HostDrivers/Support/darwin
- Timestamp:
- Jul 10, 2020 12:10:01 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139136
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r85124 r85172 67 67 #include <IOKit/pwr_mgt/RootDomain.h> 68 68 #include <IOKit/IODeviceTreeSupport.h> 69 #include <IOKit/usb/IOUSBHIDDriver.h> 69 #if MAC_OS_X_VERSION_MIN_REQUIRED < 101100 70 # include <IOKit/usb/IOUSBHIDDriver.h> 71 #endif 70 72 #include <IOKit/bluetooth/IOBluetoothHIDDriver.h> 71 73 #include <IOKit/bluetooth/IOBluetoothHIDDriverTypes.h> … … 1293 1295 RT_NOREF(pvUser); //PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 1294 1296 # ifdef DEBUG_bird 1295 printf("supdrvDarwinLdrOpenVerifyCertificatCallback: pCert=%p hCertPaths=%p\n", pCert,hCertPaths);1297 printf("supdrvDarwinLdrOpenVerifyCertificatCallback: pCert=%p hCertPaths=%p\n", (void *)pCert, (void *)hCertPaths); 1296 1298 # endif 1297 1299 … … 1899 1901 static void supdrvDarwinResumeBuiltinKbd(void) 1900 1902 { 1903 /** @todo macbook pro 16 w/ 10.15.5 as the "Apple Internal Keyboard / 1904 * Trackpad" hooked up to "HID Relay" / "AppleUserUSBHostHIDDevice" 1905 * and "AppleUserUSBHostHIDDevice" among other things, but not 1906 * "AppleUSBTCKeyboard". This change is probably older than 10.15, 1907 * given that IOUSBHIDDriver not is present in the 10.11 SDK. */ 1908 #if MAC_OS_X_VERSION_MIN_REQUIRED < 101100 1901 1909 /* 1902 1910 * AppleUSBTCKeyboard KEXT is responsible for built-in keyboard management. 1903 * We resume keyboard by accessing to its IOService. */ 1911 * We resume keyboard by accessing to its IOService. 1912 */ 1904 1913 OSDictionary *pDictionary = IOService::serviceMatching("AppleUSBTCKeyboard"); 1905 1914 if (pDictionary) … … 1919 1928 pDictionary->release(); 1920 1929 } 1930 #endif 1921 1931 } 1922 1932
Note:
See TracChangeset
for help on using the changeset viewer.