tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

tuh_umount_cb/tuh_midi_umount_cb not called when device is unmounted

Open DrZlo13 opened this issue 9 months ago • 1 comments

Operating System

MacOS

Board

STM32F411 Blackpill

Firmware

examples/host/midi_rx

What happened ?

I can't seem to get tuh_umount_cb/tuh_midi_umount_cb to be called when the device is unplugged, even if I use the stock example.

How to reproduce ?

Just build any example, I use examples/host/midi_rx, and upload it to blackpill. Plug in and unplug device.

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

debug.txt

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • [x] I confirm I have checked existing issues, dicussion and documentation.

DrZlo13 avatar Mar 16 '25 20:03 DrZlo13

try again with master, it may be fixed now.

hathach avatar May 06 '25 14:05 hathach