[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
- Re: Mac OS real USB device support issue, (continued)
- Re: Mac OS real USB device support issue, Howard Spoelstra, 2021/04/07
- Re: Mac OS real USB device support issue, Howard Spoelstra, 2021/04/07
- Re: Mac OS real USB device support issue, BALATON Zoltan, 2021/04/07
- Re: Mac OS real USB device support issue, Programmingkid, 2021/04/09
- Re: Mac OS real USB device support issue, Howard Spoelstra, 2021/04/10
- Re: Mac OS real USB device support issue, BALATON Zoltan, 2021/04/10
- Re: Mac OS real USB device support issue, Gerd Hoffmann, 2021/04/08
- Re: Mac OS real USB device support issue, Howard Spoelstra, 2021/04/08
- Re: Mac OS real USB device support issue, Programmingkid, 2021/04/08
- Re: Mac OS real USB device support issue, Programmingkid, 2021/04/08
- Re: Mac OS real USB device support issue,
Gerd Hoffmann <=
- Re: Mac OS real USB device support issue, Programmingkid, 2021/04/14