Hi there, I'm setting up a new openSUSE Leap system for music production. It also has PulseAudio bridged to Jack so that "normal" multimedia applications work smoothly without special configuration. It all works quite well when configured with Cadence. But the exception is that there appears to be no Bluetooth device support (for occasional use with "normal" multimedia applications through PulseAudio). I can connect Bluetooth devices, but PulseAudio no longer sees them. Pavucontrol only sees the PulseAudio JACK sink. The weird thing is that I had this working on a previous openSUSE Leap system, but I can't make it work again, and I've been trying for weeks. Here's my configuration. Any tips? Thanks a lot!
PulseAudio bridge to Jack with Cadence and Bluetooth support?
Moderators: MattKingUSA, khz
- nikgnomicradio
- Established Member
- Posts: 109
- Joined: Wed Feb 07, 2018 9:31 pm
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: PulseAudio bridge to Jack with Cadence and Bluetooth support?
suggest check bluetooth modules in pulseaudio
and
Code: Select all
pactl list short modules
Code: Select all
pactl list sinks
Re: PulseAudio bridge to Jack with Cadence and Bluetooth support?
Hmm, it looks like the Bluetooth modules for PulseAudio aren't getting loaded, although they are available:
Code: Select all
pulseaudio-module-bluetooth - Bluetooth support for the PulseAudio sound server
/usr/lib64/pulse-11.1
/usr/lib64/pulse-11.1/modules
/usr/lib64/pulse-11.1/modules/libbluez5-util.so
/usr/lib64/pulse-11.1/modules/module-bluetooth-discover.so
/usr/lib64/pulse-11.1/modules/module-bluetooth-policy.so
/usr/lib64/pulse-11.1/modules/module-bluez5-device.so
/usr/lib64/pulse-11.1/modules/module-bluez5-discover.so
myself@T570:~> pactl list short modules
0 module-device-restore
1 module-stream-restore
2 module-card-restore
3 module-jack-source
4 module-jack-sink
5 module-native-protocol-unix
6 module-default-device-restore
7 module-rescue-streams
8 module-always-sink
myself@T570:~> pactl list sinks
Sink #0
State: IDLE
Name: jack_out
Description: Jack sink (PulseAudio JACK Sink)
Driver: module-jack-sink.c
Sample Specification: float32le 4ch 48000Hz
Channel Map: front-left,front-right,rear-left,rear-right
Owner Module: 4
Mute: no
Volume: front-left: 58984 / 90% / -2.74 dB, front-right: 58984 / 90% / -2.74 dB, rear-left: 58984 / 90% / -2.74 dB, rear-right: 58984 / 90% / -2.74 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: jack_out.monitor
Latency: 25958 usec, configured 21333 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.api = "jack"
device.description = "Jack sink (PulseAudio JACK Sink)"
jack.client_name = "PulseAudio JACK Sink"
device.icon_name = "audio-card"
Formats:
pcm
myself@T570:~> cat /etc/pulse/default.pa | grep bluetooth
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
- nikgnomicradio
- Established Member
- Posts: 109
- Joined: Wed Feb 07, 2018 9:31 pm
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: PulseAudio bridge to Jack with Cadence and Bluetooth support?
only 8 modules listed in pulseaudio is much lower than i would expect
and except for JACK sink and source, no ALSA or Bluetooth devices shown for input or output
listing for Bluetooth modules in /etc/pulse/default.pa is as expected for default
but as Bluetooth modules not loaded,
system may be using custom configuration file in home folder instead of default
and except for JACK sink and source, no ALSA or Bluetooth devices shown for input or output
listing for Bluetooth modules in /etc/pulse/default.pa is as expected for default
but as Bluetooth modules not loaded,
system may be using custom configuration file in home folder instead of default
Code: Select all
cat ~/.config/pulse/default.pa
Re: PulseAudio bridge to Jack with Cadence and Bluetooth support?
Ah, OK, thanks for pointing me in the right direction. There's no local default.pa configuration. But I manually loaded it:
Now my Bluetooth headphones play audio from that machine. Thanks!
Now, I wonder if I could get something slightly more complex working? I want to send audio from another Linux machine (T530) over Bluetooth to the receiving machine (T570) that we've been working on in this this thread, since it is connected to much better wired speakers. So I pair the two machines over Bluetooth, and in Pavucontrol on the sending machine (T530) I set the profile of T570 as "A2DP sink". On the T570 in Pavucontrol I set the T530 as an A2DP Source. They appear to be sending audio to each other, but nothing comes out of the speakers on the T570 (or the headphone jack). Any tips?
Sending machine:
Receiving machine:
Code: Select all
pactl load-module module-bluetooth-discover
Now, I wonder if I could get something slightly more complex working? I want to send audio from another Linux machine (T530) over Bluetooth to the receiving machine (T570) that we've been working on in this this thread, since it is connected to much better wired speakers. So I pair the two machines over Bluetooth, and in Pavucontrol on the sending machine (T530) I set the profile of T570 as "A2DP sink". On the T570 in Pavucontrol I set the T530 as an A2DP Source. They appear to be sending audio to each other, but nothing comes out of the speakers on the T570 (or the headphone jack). Any tips?
Sending machine:
Receiving machine: