The Bluez 5.64 on Fedora 36 appears to be compiled without MIDI support. I’ve changed the following lines on the Bluez SPEC file, and it seems to work fine - at least with my M-Wave Wireless MIDI adapter):
[hgamal@ygamal bluez]$ diff -u ~/BUILD/SPECS/bluez.spec bluez.spec
--- /home/hgamal/BUILD/SPECS/bluez.spec 2022-03-21 18:42:56.000000000 -0300
+++ bluez.spec 2022-07-10 11:49:35.108703908 -0300
@@ -6,7 +6,7 @@
Name: bluez
Version: 5.64
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Bluetooth utilities
License: GPLv2+
URL: http://www.bluez.org/
@@ -145,6 +145,7 @@
%if %{with deprecated}
--enable-deprecated \
%endif
+ --enable-midi \
--enable-sixaxis --enable-cups --enable-nfc --enable-mesh \
--enable-hid2hci --enable-testing \
--with-systemdsystemunitdir=%{_unitdir} \
The changes were done over the original bluez-5.64-1.fc36.src.rpm file.