Open QkiZMR opened 2 years ago
Couldn't open device, some information will be missing
Probably a permission issue. Check your "android udev rules".
If you enable USB debugging, is your device detected by adb?
Also:
scrcpy --otg -Vdebug
I'm having the same problem and this is the result after running "scrcpy --otg -Vdebug"
D:\SCRCPY\ADB\VBS>scrcpy --otg -Vdebug scrcpy 1.23 https://github.com/Genymobile/scrcpy INFO: Killing adb daemon (if any)... DEBUG: Open USB device 04e8:6860: libusb error: Operation not supported or unimp lemented on this platform ERROR: Could not find any USB device
Do you have any program using USB (like adb daemon, but this one is killed, so there might be another one)?
You mean programs using the phone? Nothing. I also unplug the phone, just to make sure, before running scrcpy again.
You mean programs using the phone?
Not necessarily the phone, but something which opens USB devices (see https://github.com/Genymobile/scrcpy/issues/2773#issuecomment-1032283712, but in fact this is not the exact same error).
I don't know, USB on Windows is very weird.
So after some reading and tinkering I somehow manage to make it work.
I just install some "libusbK" driver then the error "DEBUG: Open USB device 04e8:6860: libusb error: Operation not supported or unimplemented on this platform" is gone. After that, I turned the USB Debugging on and off to reset it then it works.
Here's the log:
D:\SCRCPY\ADB\VBS>scrcpy --otg -Vdebug scrcpy 1.23 https://github.com/Genymobile/scrcpy INFO: Killing adb daemon (if any)... DEBUG: USB device found: DEBUG: --> RRRRRRRRRRR (04e8:6860) SAMSUNG SAMSUNG_Android INFO: USB device: RRRRRRRRRRR (04e8:6860) SAMSUNG SAMSUNG_Android WARN: On this platform, libusb does not have hotplug capability; device disconnection will not be detected properly DEBUG: Starting AOA thread DEBUG: Using icon (portable): D:\SCRCPY\ADB\icon.png
So apparently, installing the "libusbK" driver though make the OTG feature work it will, on the other hand, prevent scrcpy from launching the default mirror mode. So after too many trial and error on installing the drivers I finally make it work that it could finally launch interchangeably in OTG and Mirror mode while maintaining the MTP access.
So apparently, installing the "libusbK" driver though make the OTG feature work it will, on the other hand, prevent scrcpy from launching the default mirror mode. So after too many trial and error on installing the drivers I finally make it work that it could finally launch interchangeably in OTG and Mirror mode while maintaining the MTP access.
how did you manage to do that, I still can't make them work interchangeably, the libusbK driver systematically disables MTP access and Mirror mode
So apparently, installing the "libusbK" driver though make the OTG feature work it will, on the other hand, prevent scrcpy from launching the default mirror mode. So after too many trial and error on installing the drivers I finally make it work that it could finally launch interchangeably in OTG and Mirror mode while maintaining the MTP access.
how do you update the driver ?
So after some reading and tinkering I somehow manage to make it work.
I just install some "libusbK" driver then the error "DEBUG: Open USB device 04e8:6860: libusb error: Operation not supported or unimplemented on this platform" is gone. After that, I turned the USB Debugging on and off to reset it then it works.
Here's the log:
D:\SCRCPY\ADB\VBS>scrcpy --otg -Vdebug scrcpy 1.23 https://github.com/Genymobile/scrcpy INFO: Killing adb daemon (if any)... DEBUG: USB device found: DEBUG: --> RRRRRRRRRRR (04e8:6860) SAMSUNG SAMSUNG_Android INFO: USB device: RRRRRRRRRRR (04e8:6860) SAMSUNG SAMSUNG_Android WARN: On this platform, libusb does not have hotplug capability; device disconnection will not be detected properly DEBUG: Starting AOA thread DEBUG: Using icon (portable): D:\SCRCPY\ADB\icon.png
where can we download these drivers
hello?? have u fixed yet
I got a fix for this u have uninstall the adb device driver and install the google drive for android from google's official page and install it. It worked for me.
Environment
Describe the bug I'm trying to run program with
--otg
option and gets:I have mouse and keyboard connected via USB.
lsusb -v
output