You are not logged in.

#1 2017-11-23 16:15:08

MartiniMoe
Member
Registered: 2015-06-02
Posts: 10

No bluetooth-output in pulseaudio when connecting to bluetooth-speaker

Hi there,

I tried pairing and connecting to my bluetooth-speaker via bluetoothctl and blueberry but I'm not getting a bluetooth-sound-output in pavucontrol.
I have pulseaudio-bluetooth and sbc installed and checked the profiles in pavucontrols configuration tab but it only shows "Built-in Audio" with its stereo and hdmi in- and outputs sad

Any ideas? Thanks!

Last edited by MartiniMoe (2017-11-23 16:15:54)

Offline

#2 2017-11-23 16:21:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: No bluetooth-output in pulseaudio when connecting to bluetooth-speaker

Post

pacmd list-cards
pacmd list-sinks
systemctl status bluetoothd.service
dmesg

As well as the contents of your /etc/pulse/default.pa (or if applicable, of your ~/.config/pulse/default.pa) if bluetoothctl gives you any relevant terminal output that might be interesting as well. Which bluetooth speaker are we talking?

Offline

#3 2017-11-24 10:11:11

MartiniMoe
Member
Registered: 2015-06-02
Posts: 10

Re: No bluetooth-output in pulseaudio when connecting to bluetooth-speaker

Thanks for your reply! smile

~ bluetoothctl
[NEW] Controller 68:94:23:EE:0C:15 Mo X230 [default]
Agent registered
[bluetooth]# power on
Changing power on succeeded
[CHG] Controller 68:94:23:EE:0C:15 Discovering: no
[bluetooth]# devices
[bluetooth]# scan on
Discovery started
[CHG] Controller 68:94:23:EE:0C:15 Discovering: yes
[NEW] Device C0:28:8D:0E:F1:9C WONDERBOOM
[bluetooth]# agent on
Agent is already registered
[bluetooth]# pair C0:28:8D:0E:F1:9C
Attempting to pair with C0:28:8D:0E:F1:9C
[CHG] Device C0:28:8D:0E:F1:9C Connected: yes
[CHG] Device C0:28:8D:0E:F1:9C Modalias: bluetooth:v0094p0123d1001
[CHG] Device C0:28:8D:0E:F1:9C UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device C0:28:8D:0E:F1:9C UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device C0:28:8D:0E:F1:9C UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device C0:28:8D:0E:F1:9C UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device C0:28:8D:0E:F1:9C ServicesResolved: yes
[CHG] Device C0:28:8D:0E:F1:9C Paired: yes
Pairing successful
[CHG] Device C0:28:8D:0E:F1:9C ServicesResolved: no
[CHG] Device C0:28:8D:0E:F1:9C Connected: no
[bluetooth]# trust C0:28:8D:0E:F1:9C
[CHG] Device C0:28:8D:0E:F1:9C Trusted: yes
Changing C0:28:8D:0E:F1:9C trust succeeded
[bluetooth]# connect C0:28:8D:0E:F1:9C
Attempting to connect to C0:28:8D:0E:F1:9C
[CHG] Device C0:28:8D:0E:F1:9C Connected: yes
Connection successful
[CHG] Device C0:28:8D:0E:F1:9C ServicesResolved: yes
[WONDERBOOM]# exit
Agent unregistered
[DEL] Controller 68:94:23:EE:0C:15 Mo X230 [default]
~ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf2530000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-dock-mic: Dock Microphone (priority 7800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
~ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9039
	volume: front-left: 39315 /  60% / -13.32 dB,   front-right: 39315 /  60% / -13.32 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 822.28 ms
	max request: 168 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 980.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VC Analog"
		alsa.id = "ALC269VC Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf2530000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC269VC"
		alsa.components = "HDA:10ec0269,17aa21fa,00100203 HDA:80862806,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>
~ systemctl status bluetooth.service 
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-11-24 10:58:46 CET; 10min ago
     Docs: man:bluetoothd(8)
 Main PID: 650 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─650 /usr/lib/bluetooth/bluetoothd

Nov 24 10:58:46 galactica systemd[1]: Started Bluetooth service.
Nov 24 10:58:46 galactica bluetoothd[650]: Starting SDP server
Nov 24 10:58:46 galactica bluetoothd[650]: Bluetooth management interface 1.14 initialized
Nov 24 10:58:48 galactica bluetoothd[650]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSource
Nov 24 10:58:48 galactica bluetoothd[650]: Endpoint registered: sender=:1.40 path=/MediaEndpoint/A2DPSink
Nov 24 11:00:02 galactica bluetoothd[650]: Endpoint registered: sender=:1.68 path=/MediaEndpoint/A2DPSource
Nov 24 11:00:02 galactica bluetoothd[650]: Endpoint registered: sender=:1.68 path=/MediaEndpoint/A2DPSink
Nov 24 11:00:02 galactica bluetoothd[650]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Nov 24 11:00:02 galactica bluetoothd[650]: RFCOMM server failed for :1.68/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98)
Nov 24 11:07:56 galactica bluetoothd[650]: /org/bluez/hci0/dev_C0_28_8D_0E_F1_9C/fd0: fd(24) ready

Relevant dmesg-output (at least I think thats the relevant part big_smile):

[  220.073322] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[  220.073325] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[  220.073327] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=2 (0x15/0x1b/0x0/0x0/0x0)
[  220.073328] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[  220.073347] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[  220.073348] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[  220.073349] snd_hda_codec_realtek hdaudioC0D0:      Dock Mic=0x19
[  220.073350] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[  220.089296] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[  220.090010] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[  220.090061] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[  220.090115] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[  220.090165] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[  220.090212] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[  220.090259] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[  220.090302] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[  220.097902] thinkpad_ec: thinkpad_ec_request_row: arg0 rejected: (0x01:0x00)->0x00
[  220.097904] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffffb
[  220.097915] thinkpad_ec: initial ec test failed
[  220.191281] fbcon: inteldrmfb (fb0) is primary device
[  220.546883] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[  220.561206] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input7
[  220.562518] mousedev: PS/2 mouse device common for all mice
[  220.806272] input: USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:04D9:0167.0001/input/input17
[  220.860188] hid-generic 0003:04D9:0167.0001: input,hidraw0: USB HID v1.11 Keyboard [USB-HID Keyboard] on usb-0000:00:14.0-1/input0
[  220.860329] hid-generic 0003:04D9:0167.0002: hiddev0,hidraw1: USB HID v1.11 Device [USB-HID Keyboard] on usb-0000:00:14.0-1/input1
[  220.860461] input: USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:04D9:0167.0003/input/input18
[  220.916768] hid-generic 0003:04D9:0167.0003: input,hidraw2: USB HID v1.11 Keyboard [USB-HID Keyboard] on usb-0000:00:14.0-1/input2
[  220.916849] input: Kingsis Peripherals ZOWIE Gaming mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:1AF3:0001.0004/input/input19
[  220.916916] hid-generic 0003:1AF3:0001.0004: input,hidraw3: USB HID v1.11 Mouse [Kingsis Peripherals ZOWIE Gaming mouse] on usb-0000:00:14.0-2/input0
[  220.998468] Console: switching to colour frame buffer device 170x48
[  221.017548] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[  221.206647] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[  221.375978] Bluetooth: Core ver 2.22
[  221.375993] NET: Registered protocol family 31
[  221.375994] Bluetooth: HCI device and connection manager initialized
[  221.375997] Bluetooth: HCI socket layer initialized
[  221.375998] Bluetooth: L2CAP socket layer initialized
[  221.376002] Bluetooth: SCO socket layer initialized
[  221.379403] usbcore: registered new interface driver btusb
[  221.412937] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  221.412939] Bluetooth: BNEP filters: protocol multicast
[  221.412942] Bluetooth: BNEP socket layer initialized
[  221.450230] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[  221.453503] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  221.466722] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[  221.488546] Bluetooth: hci0: BCM: chip id 63
[  221.489509] Bluetooth: hci0: BCM: features 0x07
[  221.505483] Bluetooth: hci0: BCM20702A
[  221.506604] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[  221.506769] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2
[  221.506770] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found
[  221.762374] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[  221.843182] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  221.869115] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[  222.173758] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[  222.253954] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  222.351929] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  223.953447] Bluetooth: RFCOMM TTY layer initialized
[  223.953453] Bluetooth: RFCOMM socket layer initialized
[  223.953457] Bluetooth: RFCOMM ver 1.11
[  296.233143] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[  296.530064] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[  296.612156] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[  297.442998] fuse init (API version 7.26)
[  299.655813] wlp3s0: authenticate with ac:22:05:ce:28:3e
[  299.658637] wlp3s0: send auth to ac:22:05:ce:28:3e (try 1/3)
[  299.683777] wlp3s0: authenticated
[  299.686663] wlp3s0: associate with ac:22:05:ce:28:3e (try 1/3)
[  299.719846] wlp3s0: RX AssocResp from ac:22:05:ce:28:3e (capab=0x511 status=0 aid=1)
[  299.737497] wlp3s0: associated
[  299.737542] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[  322.224171] usb 3-1: USB disconnect, device number 2
[  324.926742] usb 3-1: new full-speed USB device number 4 using xhci_hcd
[  325.059003] input: USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:04D9:0167.0005/input/input20
[  325.113895] hid-generic 0003:04D9:0167.0005: input,hidraw0: USB HID v1.11 Keyboard [USB-HID Keyboard] on usb-0000:00:14.0-1/input0
[  325.114772] hid-generic 0003:04D9:0167.0006: hiddev0,hidraw1: USB HID v1.11 Device [USB-HID Keyboard] on usb-0000:00:14.0-1/input1
[  325.115969] input: USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:04D9:0167.0007/input/input21
[  325.170337] hid-generic 0003:04D9:0167.0007: input,hidraw2: USB HID v1.11 Keyboard [USB-HID Keyboard] on usb-0000:00:14.0-1/input2
[  771.493150] input: C0:28:8D:0E:F1:9C as /devices/virtual/input/input22

I don't have a user config for pulse.

~ cat /etc/pulse/default.pa 
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input

I'm using a Thinkpad X230 and the speaker is an Ultimate Ears Wonderboom. Hope all this info helps smile

Last edited by MartiniMoe (2017-11-24 10:11:43)

Offline

#4 2017-12-26 19:33:35

aartau
Member
Registered: 2017-12-26
Posts: 4

Re: No bluetooth-output in pulseaudio when connecting to bluetooth-speaker

Had same issue.  If the Bluetooth speaker is properly paired and shows under Bluetooth Devices but it
does not show as an available output source for audio, then the
problem may be that the pulseaudio bluetooth module is being loaded before X11,

The solution posted in this external forum solved the problem for me:

nano /etc/pulse/default.pa

Comment out the following lines:

#.ifexists module-bluetooth-discover.so
#load-module module-bluetooth-discover
#.endif

then,

nano /usr/bin/start-pulseaudio-x11

Find the following lines:

if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY 
session_manager=$SESSION_MANAGER” > /dev/null
fi

Add the following lines after the lines above:

/usr/bin/pactl load-module module-bluetooth-discover
/usr/bin/pactl load-module module-switch-on-connect

This way Pulse audio’s Bluetooth modules will not be downloaded at
boot time but after x11 is started.

Last edited by aartau (2018-01-24 20:15:28)

Offline

Board footer

Powered by FluxBB