You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HardwareWorker.inc::queueHardwarereturns immediately if an update is initiated while the state isinitializedorbusy`. Once an endpoint has been initialized—or if its underlying physical connection, EDID, I2C interface, or the parameter range object we’ve published is replaced—subsequent native parameter updates cannot trigger a re-initialization. An existing endpoint cannot be safely carried over to a new object.
Within a successful native doUpdate callback, compare resource identities: endpoints that remain unchanged are preserved; those that have become invalid are marked as retired. For the latter, initiate an asynchronous cancellation, wait for the legacy worker to finish, release references, and then re-admit the resource for read-only GetVCP access. Maintain distinct range references to prevent the reuse of object identities. Upon restoration, do not replay legacy targets or issue SetVCP commands; subsequent requests from actual users will still require a valid, current-session GetVCP authorization, and any write operations must be followed by a precise read-back verification. If another native brightness provider is already active, this endpoint will cease operation. Requests involving ambiguous interfaces or invalid responses will continue to be rejected for write operations. Failures during the initialization of a given resource will not grant a fresh 60-second probing window during subsequent doUpdate cycles. All three entry-point interfaces explicitly exclude those marked as "inactive"—a behavior validated through a test suite covering 100 consecutive update cycles. The cancel_wait process does not hold locks on the framebuffer, queue, or bus; tasks awaiting admission are only awakened once the retirement process is complete, avoiding any polling-based wait for cancellation.