Closed m-komo closed 1 month ago
Thank you @m-komo
@AmeNote-Michael this may be related to the other translation bugs you were seeing in the driver.
The issue persists on the DP5.
This issue is caused by all of the following undefined system common/realtime messages (not only by 0xF4 and 0xF5).
This could be a logic error in handling undefined messages. Shall investigate for next attestation signed driver. Thank you for input.
Should just pass the message along as a system common / realtime and not drop message.
This issue is resolved in latest USB MIDI 2.0 driver which now properly handles System Common and Real Time messages which in some cases would get caught in an endless loop.
@sat-okada discovered that case 0xfd still not being handled in latest test signed driver.
I verified this is the case, logic missing to handle 0xfd. To be corrected.
This issue is resolved and can be closed with driver release.
We tested with new driver(10.0.1.5). However, this issue is still existing when we send 0xFD (0x10FD0000). In that case, we need to force reboot OS for recovering.
Installer Name or Version
Desktop (please complete the following information):
Device information, if this is with an external MIDI device:
Application Information
@Sho-KDM thank you for the update - can you please create a new issue specific to the case for 0xfd. Looking into code, somehow update for the writing to USB missed this case. As this is a closed issue, would like to have a new issue opened to resolve. I am currently checking the fix.
@AmeNote-Michael I cretaed new issue #397. Could you check that?
@m-komo If there is something missing thing, could you add that as comment?
Describe the bug If I send an undefined system common message, such as 0xF4 or 0xF5, MIDI Service seems to get stuck. If this happens, MidiSrv cannot be stop/restart and restarting OS is required.
This issue only occurs if the USB MIDI 1.0 device is running with the USB MIDI 2.0 driver (USBMidi2.sys).
If the USB MIDI 1.0 device is running with the USB MIDI 1.0 driver (USBAUDIO.sys) or if the USB MIDI 2.0 device is running with the USB MIDI 2.0 driver (USBMidi2.sys), this issue never happens.
To Reproduce
Monitoring cannot be terminated. If I run another send-message command, it seems to be stuck. And finally, it is necessary to restart OS to recover.
Expected behavior MIDI Service and midi console continue to work.
Installer Name or Version Windows.MIDI.Services.Developer.Preview.4.x64.1.0.24022.2031.exe
Desktop (please complete the following information):
Device information, if this is with an external MIDI device:
Application Information