Skip to content
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 gets stuck when receiving 0xFD(0x10FD0000). #397

Closed
Sho-KDM opened this issue Sep 17, 2024 · 2 comments
Closed

[BUG]MIDI Service gets stuck when receiving 0xFD(0x10FD0000). #397

Sho-KDM opened this issue Sep 17, 2024 · 2 comments
Assignees
Labels
area-usb-driver 💻 Related to the USB MIDI 2.0 driver bug 🐞 Something isn't working

Comments

@Sho-KDM
Copy link

Sho-KDM commented Sep 17, 2024

Describe the bug
If I send an undefined system common message as 0xFD, MIDI Service seems to get stuck.
If this happens, MidiSrv cannot be stop/restart, and we need to force reboot OS for recovering.

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

  1. Set the Roland UM-ONE mk2 to class-compliant mode and short INPUPT and OUTPUT to loop back messages.
  2. Attach the UM-ONE to PC.
  3. Open the Device Manager and load the USB MIDI 2.0 driver (USBMidi2.sys) manually against the attached UM-ONE.
  4. Open midi.exe in two windows.
  5. From one, monitor UM-ONE.
  6. From the other, run following command:
    'midi endpoint send-message 0x10FD0000'
  7. On the monitor window, press escape to stop monitoring.

Monitoring cannot be terminated.
If I run another send-message command, it seems to be stuck.
For recovery this situation, it needs to force restart OS.

Expected behavior
MIDI Service and midi console continue to work.

Installer Name or Version

  • Windows.MIDI.Services.In-Box.Service.-.Developer.Preview.6.1.0.24194.2233-x64.exe

Desktop (please complete the following information):

  • OS: Windows 11 24H2 build 26100.1586

Device information, if this is with an external MIDI device:

  • Roland UM-ONE mk2
  • Driver: driver-august-2024-fixed(USBMIDI2_10.0.1.5_x64.zip)

Application Information

  • midi.exe console app.

Additional context
This issue is forked from #245. As I commented in #245, that issue is still existing if I send specific command(0xFD(0x10FD0000)). But assignee requested to create the new issue. Thus I created this.

@Sho-KDM Sho-KDM added the bug 🐞 Something isn't working label Sep 17, 2024
@Psychlist1972
Copy link
Contributor

Mostly Duplicate of #361

@AmeNote-Michael did you ever merge to main the 0xFD code you said wasn't in the current driver source?

@Psychlist1972 Psychlist1972 added the area-usb-driver 💻 Related to the USB MIDI 2.0 driver label Sep 26, 2024
AmeNote-Michael added a commit that referenced this issue Oct 7, 2024
Message not being handled in USB out code and thus hanging.
@AmeNote-Michael
Copy link
Collaborator

Resolved with pull request #407

Psychlist1972 added a commit that referenced this issue Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-usb-driver 💻 Related to the USB MIDI 2.0 driver bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants