mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
sys_usbd: Don't detach kernel drivers from santroller devices
This commit is contained in:
parent
665bb83297
commit
a4a45f0338
1 changed files with 0 additions and 4 deletions
|
@ -386,10 +386,6 @@ void usb_handler_thread::perform_scan()
|
|||
libusb_device_handle* lusb_handle;
|
||||
if (libusb_open(dev, &lusb_handle) == LIBUSB_SUCCESS)
|
||||
{
|
||||
#ifdef __linux__
|
||||
libusb_set_auto_detach_kernel_driver(lusb_handle, true);
|
||||
libusb_claim_interface(lusb_handle, 2);
|
||||
#endif
|
||||
libusb_control_transfer(lusb_handle, +LIBUSB_ENDPOINT_IN | +LIBUSB_REQUEST_TYPE_CLASS | +LIBUSB_RECIPIENT_INTERFACE, 0x01, 0x03f2, 2, nullptr, 0, 5000);
|
||||
libusb_close(lusb_handle);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue