On Thu Nov 28 21:46:18 2024 +0000, Paul Gofman wrote:
To avoid any confusion, could you please attach exactly the test which works differently for you? Then, if I understand correctly, the behaviour you describe only happens with ever-chaning vid / pid? If that is the case, it is not the most interesting case in practice probably, users don't have the unlimited amount of different controllers, they probably unplug / replug the ones with the same vid / pid.
That looks like exactly what I tried to describe as what I think is essential Windows behaviour: yes, on first device plug ever it may take any unused index, but then the id sticks to the index stored somewhere for this device.