Romain Vimont
Romain Vimont
https://github.com/Genymobile/scrcpy/pull/2052#issuecomment-765562412
> java.lang.SecurityException: Injecting input events requires the caller (or the source of the instrumentation, if any) to have the INJECT_EVENTS permission That's not the same problem. Please read https://github.com/Genymobile/scrcpy#prerequisites
The build is not what's complicated here, it's the fact that SDL (the multi-platform lightweight window/UI framework) does not provide widgets.
> which configure parameters to use for ffmpeg You can use the same as the ones used for the Windows release: https://github.com/rom1v/scrcpy-deps/
> are those parameters minimal required to scrcpy functional It is the very minimal FFmpeg configuration with only the features used by scrcpy. The total size of the resulting dlls...
Without it, it fails at runtime with missing dll `libgcc_s_dw2-1.dll`. https://github.com/rom1v/scrcpy-deps/blob/85d93b375a594574241a05a061d4fba9f522fa57/build_ffmpeg_windows.sh#L13
> Oddly enough the device is dropping on the USB side This is expected, enabling audio accessory changes the USB _product id_, so the USB connection is reset. What is...
> Bus 001 Device 009: ID 18d1:2d05 Google Inc. In your `/etc/udev/rules.d/51-android.rules` (or similar), add a rule: ``` SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ENV{adb_user}="yes" ```
_Just for info, once you edited your _udev rules_, you need to reload:_ sudo udevadm control --reload-rules For the error `cannot get freq at ep 0x82`, I don't know. What...
> Bus 001 Device 019: ID 18d1:2d05 Google Inc. > Couldn't open device, some information will be missing It seems there is a permission problem to open your USB device...