Deadlock between device_detach() and usbd_do_request_flags()

Hans Petter Selasky hps at selasky.org
Mon Sep 5 08:41:33 UTC 2016


On 09/05/16 09:53, Hans Petter Selasky wrote:
>
> Hi,
>
> I think the right solution is to let usbd_do_request_flags() use its own
> SX lock for synchronization, instead of re-using the enumeration SX
> lock. What do you think about that?
>
> --HPS
>

Hi,

Another approach which will work is to setup your own USB control 
endpoint xfer, and use that. I'll have a look and see what can be done.

--HPS



More information about the freebsd-usb mailing list