I'm trying to make sound from my phone show up as a pulseaudio input so that I can play music through my computer's speakers using bluetooth A2DP. I'm using arch linux with bluez 5.45.
There are tons of guides about this on the web, but they all seem out of date. In particular, with bluez 5.45 (and bluez-utils 5.45 and bluez-tools 0.2) there is no file
sdptool do not exist any more. There is no longer an
org.bluez.AudioSource interface I can call on hci devices over dbus. Some web pages suggest things should "just work" now, but I certainly don't see any sources or sinks after pairing my phone (a Pixel) with my computer.
What does work: I am able to pair my phone from
bluetoothctl and ping it with
l2ping. I placed my user in the
lp group and edited
/etc/dbus-1/system.d/bluetooth.conf so I have all possible bluetooth permissions.
pacmd list-modules shows that I have loaded
module-bluez5-discover. On my phone's bluetooth menu, my computer shows up as used for "Media audio" (don't know if that's right or not).
pacmd list-sources doesn't list anything about bluetooth, and there's not a hint of bluetooth anything under