Bug 2211730

Summary: Add support for MIDI over bluetooth
Product: [Fedora] Fedora Reporter: ycollet <ycollette.nospam>
Component: bluezAssignee: Gopal krishna tiwari <gopalkrishna.tiwari>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: bnocera, dwmw2, gopalkrishna.tiwari, pasik, pbrobinson, spacewar
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-02 08:12:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ycollet 2023-06-01 17:34:59 UTC
By default, bluez is deactivating MIDI over bluetooth.
Can it be possible to update the bluez package to add the "--enable-midi" during configuration of the package ?

Reproducible: Always

Comment 1 ycollet 2023-06-01 18:23:44 UTC
I rebuilt a bluez package locally.

I had a problem to selinux and bluetooth accessing the /usr/share/alsa/alsa.conf file.

type=AVC msg=audit(1685643280.987:325): avc:  denied  { getattr } for  pid=4568 comm="bluetoothd" path="/usr/share/alsa/alsa.conf" dev="sda6" ino=2623903 scontext=system_u:system_r:bluetooth_t:s0 tcontext=system_u:object_r:alsa_etc_rw_t:s0 tclass=file permissive=0
----

For the test, I switch locally to Permissive mode: setenforce Permissive

And then, I was able to connect a "Carry On" Blackstar recorder via bluetooth to a setBFree organ synth in Carla and it worked.

Comment 2 Peter Robinson 2023-06-02 08:12:19 UTC
From the previous bug:

I started to have a look at this. At first I thought it would just be an addon binary we could put in a sub package like the BT headset audio or cups but it appears not and it links directly into the core daemon which means we pull in the audio deps too. Will need some thought.

*** This bug has been marked as a duplicate of bug 2082559 ***