Romain Vimont

Results 2055 comments of Romain Vimont

> Press any key to continue . . . adb server version (40) doesn't match this client (41); killing... https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions

Oh, I mistakenly wrote the patch on `dev` branch, which is incompatible with the 1.24 client. I edited the server binary in the comment: https://github.com/Genymobile/scrcpy/issues/3497#issuecomment-1359094255 - [`scrcpy-server`](https://tmp.rom1v.com/scrcpy/3497/5/scrcpy-server) `SHA-256: f5e633584164bbd1105e58dedfd7bb1262e6a8a75553ec674737b8e7315dd2b2` Please...

Thank you for your report. This is a duplicate of #3497. Specifically, please test: https://github.com/Genymobile/scrcpy/issues/3497#issuecomment-1359094255

> On Windows, it is not possible to open a USB device already open by another process (like adb). > ERROR: Therefore, -K/--hid-keyboard and -M/--hid-mouse may only work in OTG...

- `--stay-awake`, yes: `stay_awake=true` ([source](https://github.com/Genymobile/scrcpy/blob/c00a9ead5e383b00d6b36464c2b234909720f095/server/src/main/java/com/genymobile/scrcpy/Server.java#L222)) - `--turn-screen-off`, possible but not straightforward: a control event is sent from the client on the control socket ([source](https://github.com/Genymobile/scrcpy/blob/c00a9ead5e383b00d6b36464c2b234909720f095/app/src/scrcpy.c#L563-L571))

> Someone correct me if I'm wrong but it doesn't seem like I can use a USB Type-C hub at the same time as a wired ADB connection. Why not?...

So you plug a USB switch (is it really a hub?) on your laptop, and plug the device on it: ``` |--- USB hard drive laptop --- USB switch |---...

> I thought adb might be insecure to use over a public wifi network The adb connection is authenticated, so no one should be able to get an adb access...