From d8b193aac5994b0119394d5f7b02eeb28b78e8d1 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 18 Nov 2019 19:37:27 +0100 Subject: macOS: Fix "Couldn't create a device interface (80000004)" error --- src/libirecovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libirecovery.c b/src/libirecovery.c index b0cb0d4..7b50ff2 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -1961,7 +1961,7 @@ static void iokit_device_added(void *refcon, io_iterator_t iterator) kr = IOObjectRelease(device); continue; } - result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID *)&dev); + result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID320), (LPVOID *)&dev); (*plugInInterface)->Release(plugInInterface); if (result || !dev) { -- cgit v1.1-32-gdbae