Hi Ian, On Tue, Sep 23, 2025 at 12:34:58PM -0500, Ian Forbes wrote: > On Tue, Sep 23, 2025 at 3:36 AM Marius Vlad <[email protected]> wrote: > > > > This patch introduces a new boolean variable used to track connector's > > connect/disconnect status and it is being used on both polling and > > the HPD (Hot Plug Detect) paths. > > > > A subsequent patch would make use of this connector status to propagate > > per-connector udev hot plug events. This allows user-space to receive > > the connector's ID, rather than having a generic hot-plug event for all > > connectors, or in the HPD path, just the first one found with a > > connection status change. > > > > Signed-off-by: Marius Vlad <[email protected]> > > --- > > How do you see this working with virtual connectors which can hotplug > without a connected -> disconnected -> connected cycle?
tbh I don't see how those hot plug events are generated on virtual connectors. Do you have a particular driver in mind, or how do you "simulate" that hotplug cycle? Pushed today a v4 of this patches series which adds polling in the vkms driver and with that in I'm able to use sysfs and simulate a hot plug event, like you'd have regular connectors. I've CC'ed on that v4 if you'd like to have another go.
