-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] MIDI Service does not enumerate MIDI 1.0 devices when plugged in or changed driver after service startup. #483
Comments
I'm wondering if this is related to the Windows bug with the old MIDI 1 driver, where it doesn't release property. The way to test it would be:
|
The issue was reproducible not only with UM-ONE TAB mode (w/vendor driver) but also any USB MIDI 1.0 devices working with the USBAUDIO.sys. Steps to reproduce
No endpoints found.
Endpoint for UM-ONE found. Installer Name or Version
Desktop OS: Windows 11 24H2 build 26120.2705 (Insider Dev channel) |
Thanks. I will look into this. |
Further data Just plugged in a MIDI 1.0 device (Korg nanoKONTROL 2 using our in-box driver) after the service had started, and it would not enumerate. There's a regression here I need to fix that seems broader than just when devices change drivers.
|
This should be fixed for the next DP9 NAMM preview, likely to be released tonight. |
Please re-test with DP9-NAMM-3 |
I tested with DP9-NAMM-3 and the result did not improve.
Desktop MIDI device: Roland UM-ONE mk2 (TAB mode, working with the USBAUDIO.sys) |
Sorry, I had not updated |
@Psychlist1972 |
This bug is still present in Customer Preview 1 (Canary). Looking into it. |
Quick update on that one: The Korg devices like that one end up enumerating under the new MIDI 2 class driver. |
After the latest set of fixes I put in over the weekend to handle function blocks and some device naming stuff, I can no longer reproduce this behavior with any of the MIDI 1.0 devices (including UM-ONE) that I have been testing with, when connecting and disconnecting. I was able to still repro it when moving a device from the MIDI 1 driver to the MIDI 2 driver, so testing that now. |
From testing, I see why this is happening when you change the assigned driver. It comes through as a Device Information Update, rather than as an add/remove. I'll need to experiment a bit more to see exactly which properties end up updated. Edit: Well, except any further changes, which come through as add/update. It may be that we have to tell the customer to unplug/replug the device after they change which driver it is assigned to. I'm debugging further and looking into options. |
Describe the bug
If I attach the Roland UM-ONE which is set to the vendor mode, MidiSrv does not enumerate it.
To enumerate, restarting MidiSrv is necessary.
To Reproduce
UM-ONE does not show up.
Expected behavior
It shows up.
Installer Name or Version
Desktop (please complete the following information):
Device information, if this is with an external MIDI device:
Additional context
If UM-ONE is running with the in-box USB MIDI 1.0 driver (USBAUDIO.sys), the MidiSrv enumerates it.The text was updated successfully, but these errors were encountered: