Determine if device is in use / connected
When using evdi_check_device(), a status of AVAILABLE is returned but that device may be in use already. I'm working on updating evdi-vnc to use more than one virtual display. The code under findAvailableEvdiNode() in that repository should explain my issue. I'd like to get some response different to AVAILABLE when the device is already in use, say INUSE?
Hi @mcassaniti. Unfortunately this is a flow in the API (see e.g. #93) and we are aware of it. For now there wasn't any other clients (or simply I don't know about them) than DisplayLinkManager so I guess it wasn't high on a list of priorities.
Currently the only way to operate is to call evdi_add_device and use the
latest device with hope it will be the one.