(solved?)bluetooth speakers connecting but not working

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

(solved?)bluetooth speakers connecting but not working

Post by getaway »

Hello

Until recently, I was happy with a JBL speaker connected to my linux 18.3 through bluetooth.
I tried (for video editing) to ugrade from sylvia 18.3 to Tara 19.
At first, everything worked fine.
At some time, all the sound system stopped working. Neither the external JBL speakers nor the internal ones produced any sound.
After a long walk through the forums, I succeeded to get the internal speaker working by updating etc/modprod/alsa base.conf, appending a line "options snd-hda-intel model=asus ".
But the Bluetooth device (although connected) still doesn't appear in the output tab of the "sound parameters windows". The bluetooth device is understood as an audio one because its "bluetooth connection windows" propose to go to the "sound parameters windows"
To make it clear, I attach a screeshot of these windows

Could anybody tell me what to try before I should make a new clean install of 18.3 again?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: bluetooth speakers connecting but not working

Post by MrEen »

Bonjour getaway,

I saw your post in the other thread and almost mentioned that you got lucky with that model=asus. As long as it works, it's fine. But there may have been a better (or more correct) option to try.

Regarding bluetooth. I have zero experience with it. Having said that, I'd suggest seeing if PulseAudio Volume Control can help you get it working. You can install it via the Software Manager or in the terminal with apt install pavucontrol.

Run the software either from the menu or in the terminal with pavucontrol and check both the Configuration tab and the Output Devices tab for settings that that will probably say JBL ....

There is a possibility it won't help at all, but it's worth a shot, and I believe it should be installed by default.

If all this doesn't help, paste back the results of pacmd list-sinks while something with sound is playing and the speaker is "connected" and we'll go from there.
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

Re: bluetooth speakers connecting but not working

Post by getaway »

Bonjour MrEen

Merci de votre attention.

Yes, I have been writing on another thread, where I was believing to have fixed the internal speaker part of my probleme, thanks to your suggestion about modprod.
Yes it worked and may be I have been lucky because the option line I appended in alsa-base.conf hasn't been permanent: it has now disappeared and the speakers are still working fine? :(

For the BlueTooth speaker problem, which is still pending, I've already tried the pavucontrol pannel.
My speaker doesn't appear there neither.
What I don't understand is when you speak of configuration tab... There is no such a tab in my pavucontrol panel..
Capture du 2018-07-16 10-02-29.jpg
For the pacmd list-sinks, here is the result during Vivaldi is playing on my internal speakers:

Code: Select all

gerard@gerard-UX430UNR ~ $ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1f.3.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: 9959
	volume: front-left: 14873 /  23% / -38,64 dB,   front-right: 15075 /  23% / -38,29 dB
	        balance 0,01
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 39,56 ms
	max request: 6 KiB
	max rewind: 64 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stéréo
	used by: 1
	linked by: 1
	configured latency: 40,00 ms; range is 0,50 .. 371,52 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC294 Analog"
		alsa.id = "ALC294 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 0xef228000 irq 281"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Stéréo analogique"
		device.description = "Audio interne Stéréo analogique"
		alsa.mixer_name = "Realtek ALC294"
		alsa.components = "HDA:10ec0294,10431c20,00100004 HDA:8086280b,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casques analogiques (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
gerard@gerard-UX430UNR ~ $ 
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: bluetooth speakers connecting but not working

Post by MrEen »

The Configuration tab is to the right of Périphériques d'entrée. Either click twice on > or use your right arrow key.
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: bluetooth speakers connecting but not working

Post by JeremyB »

Try

Code: Select all

sudo apt-get install pulseaudio-module-bluetooth
pactl load-module module-bluetooth-discover
Then connect to the BT headset and see if it shows in sound settings
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

Re: bluetooth speakers connecting but not working

Post by getaway »

To MrEen:
Shame on me not to have discovered that on my own :oops:
But I have no trace of my JBL Extrem speakers in the conf tab proposal. There is only a "Digital HDMI" options list.

To JeremyB:
I had already pulseaudio-module-bluetooth installed

Code: Select all

gerard@gerard-UX430UNR ~ $ sudo apt-get install pulseaudio-module-bluetooth
[sudo] Mot de passe de gerard : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
pulseaudio-module-bluetooth est déjà la version la plus récente (1:8.0-0ubuntu3.10).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  ant ant-optional antlr3 aspectj bnd default-jdk default-jdk-headless
  devscripts equivs git git-man java-wrappers javahelp2 junit junit-doc junit4
  junit4-doc libantlr3-runtime-java libasm3-java libasm4-java libaspectj-java
  libatinject-jsr330-api-java libbeansbinding-java libbindex-java libbsh-java
  libbytelist-java libcdi-api-java libcglib3-java libcommons-codec-java
  libcommons-io-java libcommons-lang-java libcommons-net-java
  libeclipselink-java libequinox-osgi-java liberror-perl
  libfelix-framework-java libfelix-main-java libfelix-osgi-obr-java
  libfreemarker-java libgeronimo-interceptor-3.0-spec-java
  libgeronimo-j2ee-connector-1.5-spec-java libgeronimo-jms-1.1-spec-java
  libgeronimo-jpa-2.0-spec-java libgeronimo-jta-1.1-spec-java
  libgeronimo-osgi-support-java libgeronimo-validation-1.0-spec-java
  libhamcrest-java libhtml5parser-java libhttpclient-java libhttpcore-java
  libicu4j-4.4-java libini4j-java libjavaewah-java libjcodings-java
  libjcommander-java libjemmy2-java libjgit-java libjna-java libjna-jni
  libjna-platform-java libjnlp-servlet-java libjoda-time-java
  libjpa-2.1-spec-java libjsch-agent-proxy-java libjsch-java
  libjson-simple-java libjsr311-api-java libjvyamlb-java libjzlib-java
  libkxml2-java liblucene3-java libmail-java libnb-absolutelayout-java
  libnb-apisupport3-java libnb-ide14-java libnb-java5-java
  libnb-javaparser-java libnb-org-openide-modules-java
  libnb-org-openide-util-java libnb-org-openide-util-lookup-java
  libnb-platform-devel-java libnb-platform18-java libosgi-annotation-java
  libosgi-compendium-java libosgi-core-java libosgi-foundation-ee-java
  libsequence-library-java libserf-1-1 libservlet2.5-java
  libsimple-validation-java libsqljet-java libstringtemplate4-java libsvn-java
  libsvn1 libsvnclientadapter-java libsvnkit-java libswing-layout-java
  libswingx-java libtrilead-ssh2-java libws-commons-util-java libxerces2-java
  libxml-commons-external-java libxml-commons-resolver1.1-java openjdk-8-jdk
  openjdk-8-jdk-headless python3-polib testng
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 125 non mis à jour.
gerard@gerard-UX430UNR ~ $ 
And the pulseaudio module-bluetooth-discover looks to have problem to be loaded

Code: Select all

gerard@gerard-UX430UNR ~ $ pactl load-module module-bluetooth-discover
Échec : Échec lors de l'initialisation du module
gerard@gerard-UX430UNR ~ $ 

Is it a clue???

may be this could help:

Code: Select all

gerard@gerard-UX430UNR ~ $ bluetoothctl
[NEW] Controller 34:41:5D:3A:B8:ED gerard-UX430UNR [default]
[NEW] Device F8:DF:15:A6:79:3C JBL Xtreme
[CHG] Controller 34:41:5D:3A:B8:ED Discovering: no
[bluetooth]# 

Code: Select all

gerard@gerard-UX430UNR ~ $ pactl list 
Module #0
	Nom : module-device-restore
	Paramètre : 
	Nombre d'utilisations : n/d
	Propriétés : 
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "8.0"
		.
		.
		.
		.
		.


Module #8
	Nom : module-bluetooth-discover
	Paramètre : 
	Nombre d'utilisations : n/d
	Propriétés : 
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
		module.version = "8.0"

Module #9
	Nom : module-bluez5-discover
	Paramètre : 
	Nombre d'utilisations : n/d
	Propriétés : 
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
		module.version = "8.0"
		.
		.
		.
		.
		..
		Module #26
	Nom : module-null-sink
	Paramètre : sink_name=auto_null sink_properties='device.description="Sortie fictive"'
	Nombre d'utilisations : 0
	Propriétés : 
		module.author = "Lennart Poettering"
		module.description = "Horloge de destination vide"
		module.version = "8.0"

Destination #5
	État : SUSPENDED
	Nom : auto_null
	Description : Sortie fictive
	Pilote : module-null-sink.c
	Spécification de l'échantillon : s16le 2ch 44100Hz
	Plan des canaux : front-left,front-right
	Module du propriétaire : 26
	Sourdine : non
	Volume : front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	Volume de base : 65536 / 100% / 0,00 dB
	Source du moniteur : auto_null.monitor
	Latence : 0 usec, configuré 0 usec
	Marqueurs : DECIBEL_VOLUME LATENCY 
	Propriétés :
		device.description = "Sortie fictive"
		device.class = "abstract"
		device.icon_name = "audio-card"
	Formats :
		pcm

Source #7
	État : SUSPENDED
	Nom : auto_null.monitor
	Description : Monitor of Sortie fictive
	Pilote : module-null-sink.c
	Spécification de l'échantillon : s16le 2ch 44100Hz
	Plan des canaux : front-left,front-right
	Module du propriétaire : 26
	Sourdine : non
	Volume : front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	Volume de base : 65536 / 100% / 0,00 dB
	Moniteur de la destination : auto_null
	Latence : 0 usec, configuré 0 usec
	Marqueurs : DECIBEL_VOLUME LATENCY 
	Propriétés :
		device.description = "Monitor of Sortie fictive"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
	Formats :
		pcm

Client #0
	Pilote : module-systemd-login.c
	Module propriétaire : 16
	Propriétés :
		application.name = "Login Session c2"
		systemd-login.session = "c2"

Client #2
	Pilote : protocol-native.c
	Module propriétaire : 10
	Propriétés :
		application.name = "Cinnamon Volume Control Media Keys"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.6.2"
		application.process.id = "1842"
		application.process.user = "gerard"
		application.process.host = "gerard-UX430UNR"
		application.process.binary = "csd-media-keys"
		application.language = "fr_FR.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "bbada5cfcc9a4a80ac8dc5ce6d9f53aa"
		application.process.session_id = "c2"

Client #6
	Pilote : module-x11-xsmp.c
	Module propriétaire : 23
	Propriétés :
		application.name = "XSMP Session on cinnamon-session as 10e1b9615abf7a5bd215317518062592800000017070050"
		xsmp.vendor = "cinnamon-session"
		xsmp.client.id = "10e1b9615abf7a5bd215317518062592800000017070050"

Client #7
	Pilote : protocol-native.c
	Module propriétaire : 10
	Propriétés :
		application.name = "Cinnamon Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.6.2"
		application.process.id = "2035"
		application.process.user = "gerard"
		application.process.host = "gerard-UX430UNR"
		application.process.binary = "cinnamon"
		application.language = "fr_FR.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "bbada5cfcc9a4a80ac8dc5ce6d9f53aa"
		application.process.session_id = "c2"

Client #15
	Pilote : protocol-native.c
	Module propriétaire : 10
	Propriétés :
		application.name = "pactl"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.process.id = "7105"
		application.process.user = "gerard"
		application.process.host = "gerard-UX430UNR"
		application.process.binary = "pactl"
		application.language = "fr_FR.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "bbada5cfcc9a4a80ac8dc5ce6d9f53aa"
		application.process.session_id = "c2"

Carte #0
	Nom : alsa_card.pci-0000_00_1f.3
	Pilote : module-alsa-card.c
	Module propriétaire : 6
	Propriétés :
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xef228000 irq 281"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profils :
		input:analog-stereo: Entrée Stéréo analogique (sinks: 0, sources: 1, priority: 60, available: oui)
		output:analog-stereo: Sortie Stéréo analogique (sinks: 1, sources: 0, priority: 6000, available: oui)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (sinks: 1, sources: 1, priority: 6060, available: oui)
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (sinks: 1, sources: 0, priority: 5400, available: oui)
		output:hdmi-stereo+input:analog-stereo: Sortie Digital Stereo (HDMI) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 5460, available: oui)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (sinks: 1, sources: 0, priority: 300, available: oui)
		output:hdmi-surround+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 360, available: oui)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (sinks: 1, sources: 0, priority: 300, available: oui)
		output:hdmi-surround71+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 360, available: oui)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (sinks: 1, sources: 0, priority: 5200, available: oui)
		output:hdmi-stereo-extra1+input:analog-stereo: Sortie Digital Stereo (HDMI 2) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 5260, available: oui)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (sinks: 1, sources: 0, priority: 100, available: oui)
		output:hdmi-surround-extra1+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 2) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 160, available: oui)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (sinks: 1, sources: 0, priority: 100, available: oui)
		output:hdmi-surround71-extra1+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 2) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 160, available: oui)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (sinks: 1, sources: 0, priority: 5200, available: oui)
		output:hdmi-stereo-extra2+input:analog-stereo: Sortie Digital Stereo (HDMI 3) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 5260, available: oui)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (sinks: 1, sources: 0, priority: 100, available: oui)
		output:hdmi-surround-extra2+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 3) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 160, available: oui)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (sinks: 1, sources: 0, priority: 100, available: oui)
		output:hdmi-surround71-extra2+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 3) + Entrée Stéréo analogique (sinks: 1, sources: 1, priority: 160, available: oui)
		off: Éteint (sinks: 0, sources: 0, priority: 0, available: oui)
	Profil actif : off
	Ports :
		analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec)
			Propriétés :
				device.icon_name = "audio-input-microphone"
			Partie du(des) profil(s) : input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
		analog-output-speaker: Haut-parleurs (priority: 10000, latency offset: 0 usec)
			Propriétés :
				device.icon_name = "audio-speakers"
			Partie du(des) profil(s) : output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Casques analogiques (priority: 9000, latency offset: 0 usec, not available)
			Propriétés :
				device.icon_name = "audio-headphones"
			Partie du(des) profil(s) : output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
			Propriétés :
				device.icon_name = "video-display"
			Partie du(des) profil(s) : output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
			Propriétés :
				device.icon_name = "video-display"
			Partie du(des) profil(s) : output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available)
			Propriétés :
				device.icon_name = "video-display"
			Partie du(des) profil(s) : output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo

		
		
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: bluetooth speakers connecting but not working

Post by MrEen »

I think after loading the module, you need to killall pulseaudio so it will restart and find the bluetooth stuff. If it doesn't restart by itself, pulseaudio -D will do it.
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

Re: bluetooth speakers connecting but not working

Post by getaway »

Hi MrEen

I've tried to killall and restart pulseaudio.

I've tried to unload module-bluetooth-discover then to reload it. It worked but changed nothing to my problem: JBL speakers appears in Bluetooth devices list but not on the audio system. :( :( :(
I don't know where to look deeper.
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: bluetooth speakers connecting but not working

Post by MrEen »

According to this site, after the killall pulseaudio, they say to deactivate bluetooth then activate it again and all should be good.

I hope that helps.
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: bluetooth speakers connecting but not working

Post by JeremyB »

I would install blueman apt install blueman
Once the headset connects, right click on the headset in blueman and go to audio profile, if it is set to off, go to disconnect. Then right click on the headset and choose any option to reconnect and see if the audio profile has changed to A2DP
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

Re: bluetooth speakers connecting but not working

Post by getaway »

I've tried the procedure suggested by MrEen. Nothing changed.

I installed Blueman.
The JBL speakers appears in the blueman window.
Nothing happens when clicking to audio profile.
Disconnecting .
When trying to reconnect: connexion failed.
Capture du 2018-07-17 00-23-06.jpg
Keep going on investigation to morrow. For tonight, I go to bed
Thanks a lot for your help :D :D :D
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

Re: bluetooth speakers connecting but not working

Post by getaway »

Hello

This should be my last post for this thread.
I feel that nothing has been neither fixed nor understood, but my JBL speakers work tonight. :roll: :roll:
I can identify nothing out of everything I could have done which could have been determinant to fix the problem.
I'm not even sure the problem is fixed :(
May be things happened to change a bit when I connected a bluetooth headset, which appeared in the linuxmint audio system management window (I don't know its name) and worked fine. May be too, using blueman as management tool helped, but I'm not sure it is significant. At least not at once. But when the bluetooth headset worked, JBL began to appear fleetingly in the audio management window as well as in pavucontrol window. But at first it wasn't possible to check them with A2DP; only with "unité centrale du casque hfp/hsp"????
And then, in the evening it remainded stable, with A2DP checked. (I have the feeling of being describing a disease evolution...)
I have no clue of what has been effective to fix it.
I have some feeling that using blueman was better than "mint bluetooth manager" but I'm sure of nothing :oops: :cry: :evil:

My feeling is that the linuxmint bluetooth subsystem is neither very stable nor ruggedised. And that things are worse when we link it with audio subsystem... But I'm not an expert, more of a newbie, and I don't manage the combination or environments of ALSA, Pulseaudio and bluetooth architecture and tools...

But should we be expert, just to simply listen to some music on our computer :roll: :roll: :roll:
If yes, it's a kind of a problem :oops: :oops: :oops:
Tell me if I miss something :wink: :wink:
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: bluetooth speakers connecting but not working

Post by MrEen »

Hi getaway. I'm happy to hear your sound is working again. It is not uncommon to rather mysteriously solve itself, unfortunately.

Hopefully, this won't happen again.

Bonne chance!
grimripper

Re: (solved?)bluetooth speakers connecting but not working

Post by grimripper »

Hi

This was the first result when googling a problem I had with a Bluetooth device, and it isn't terribly old so I'll post my situation too.

I tried to connect a Bluetooth audio sink using the Bluetooth manager that came with a fresh install of Linux Mint 19 with Cinnamon. The device would show up and connect, but disconnect in a moment, and it didn't show up in audio settings. Having read the thread and already having pavucontrol installed, I installed pulseaudio-module-bluetooth and blueman, and then restarted the laptop.

After restarting, the device connected and was shown in audio devices without issues, with both Bluetooth manager and Blueman. I tried uninstalling pulseaudio-module-bluetooth and then restarting, and the device wouldn't even connect anymore. After reinstalling pulseaudio-module-bluetooth, everything worked again. Seems like that was the solution, for me at least.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: (solved?)bluetooth speakers connecting but not working

Post by MrEen »

Hi grimripper, and welcome to the forum.

Thanks for adding your fix to this thread. I am certain it will help others in the future.
chilskater

Re: (solved?)bluetooth speakers connecting but not working

Post by chilskater »

i am having problem with Ausdom M06 bluetooth headphone, when i open blueman no bluetooth adapter detected or o bluetooth daemon
chilskater

Re: (solved?)bluetooth speakers connecting but not working

Post by chilskater »

caioformiga

Re: (solved?)bluetooth speakers connecting but not working

Post by caioformiga »

Today i faced problems with bluetooth paring at LM 19.
After reserach a bit, I figured out a way to use heaset but i dont't really know if its solved (:shock: see at end my question)
So, i decied to post here...

***
A bref history of my trials...

I'm using mouse M557 bluetooth normally since LM 18 and with LM 19 it worked fine! I bought a wireless headset (Edifier W800BT) and after charge during 2 hours, i turned on...it try to connect without success, actually it connect for a few seconds then disconnect immediatly.

I was using bluberry as bluetooth manager and it didn't show any error message. After read a few topics regarding bluetooth managers i've intalled blueman from this link:(https://community.linuxmint.com/software/view/blueman)

And tryed to connect again, and now i got this error message:
blueman.bluez.errors.DBusFailedError

After read a bit more i found some tips (lost track), one told me to run command "sudo apt install bluetooth"... but it didn't solve!

Then, I did more research, and found two usefull posts at LM Forums viewtopic.php?t=271537 and this one.

After install pulse audio module, using sudo apt-get install pulseaudio-module-bluetooth, i loaded module bluetooth, using pactl load-module module-bluetooth-discover, it returns 26.

Then after open blueman e try to connect it worked - now i'm listening music and recording audio using audacity - goals achived!!!

***
However i dont really know if there is some mistakes or step ahead...

I run Pulse Audio list-sinks and got:

Code: Select all

formiga@A515-51G ~ $ pacmd list-sinks
2 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9039
	volume: front-left: 43801 /  67% / -10,50 dB,   front-right: 43801 /  67% / -10,50 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Estéreo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC255 Analog"
		alsa.id = "ALC255 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 0xb4320000 irq 132"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Estéreo analógico"
		device.description = "Áudio interno Estéreo analógico"
		alsa.mixer_name = "Realtek ALC255"
		alsa.components = "HDA:10ec0255,10251193,00100002 HDA:8086280b,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Alto-falantes (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Fones de ouvidos (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
  * index: 6
	name: <bluez_sink.04_FE_A1_5C_6B_69.a2dp_sink>
	driver: <module-bluez5-device.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: 
	priority: 9050
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 53,66 ms
	max request: 3 KiB
	max rewind: 0 KiB
	monitor source: 9
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Estéreo
	used by: 1
	linked by: 1
	fixed latency: 45,32 ms
	card: 2 <bluez_card.04_FE_A1_5C_6B_69>
	module: 26
	properties:
		bluetooth.protocol = "a2dp_sink"
		device.description = "EDIFIER W800BT"
		device.string = "04:FE:A1:5C:6B:69"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_04_FE_A1_5C_6B_69"
		bluez.class = "0x240404"
		bluez.alias = "EDIFIER W800BT"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
	ports:
		headset-output: Headset (priority 0, latency offset 0 usec, available: yes)
			properties:
				
	active port: <headset-output>
After all this steps I got confused... I don't really know wich module I'm using .... it seams it's <module-bluez5-device>

The command pactl list modules | grep blue shows a few module:

Code: Select all

	Nome: module-bluetooth-discover
	Nome: module-bluez5-discover
	Nome: module-bluez5-device
	Argumento: path=/org/bluez/hci0/dev_04_FE_A1_5C_6B_69 autodetect_mtu=0
But when i use any of this commands pactl load-module module-bluetooth-discover,pactl load-module module-bluez5-discover or pactl load-module module-bluez5-device returns Failure: Module initialization failed.

Is there anyone willing to explain to me which module I'm using?
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: (solved?)bluetooth speakers connecting but not working

Post by MrEen »

Hi caioformiga.

The simple answer is: All of them.

The reason for the error is you are instructing them to load when they are already loaded. The error message could be more helpful, I admit.
Locked

Return to “Sound”