qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS real USB device support issue


From: Gerd Hoffmann
Subject: Re: Mac OS real USB device support issue
Date: Fri, 9 Apr 2021 10:08:04 +0200

  Hi,

> The questions that come to mind are:
> - Does libusb_detach_kernel_driver() work on Mac OS?
> - Is libusb_detach_kernel_driver() called on Mac OS in QEMU?
> 
> The only mention of this function in QEMU comes from host-libusb.c. 
> 
> After some tests I found out the function
> host-libusb.c:usb_host_detach_kernel() is being called on Mac OS 11.1.
> It never reaches the libusb_detach_kernel_driver() function. It stops
> at the continue statement.

Yep.  Most likely libusb_kernel_driver_active() returns 0 because the
kernel driver management functions are not implemented for macos.

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]