• Bluetooth speaker connected but there is no sound


    Hi,
    I have been googling this issue a lot and also was looking in the forum and I didn’t find a solution. I have 2 bluetooth speakers, one works perfectly (Philips BT100), but the other (JBL Playlist) no. It connects, I can see it in the pavucontrol but I have no way to reproduce any sound on it. I’m running kernel 5.1.4, using lightdm and xfce (this seems to be important because GDM is sometimes producing some issues with BT speakers). My configuration is:

    • pulseaudio 12.2-2
    • pulseaudio-alsa 2-4
    • bluez 5.50-6
    • alsa-plugins 1.1.9-2
    • alsa-firmware 1.0.29-2

    I tried already installing:

    • pulseaudio-modules-bt-git - no result
    • bluez-alsa-git - even the old working speaker stopped working and blueberry was not responsive

    My laptop is an old Asus with BT adapter Bus 001 Device 004: ID 0b05:1788 ASUSTek Computer, Inc. BT-270 Bluetooth Adapter.

    After connecting the speaker it appears in bluetoothctl with the following info:

    Device 30:58:90:20:06:3B (public)
    	Name: Salon
    	Alias: Salon
    	Class: 0x00260414
    	Icon: audio-card
    	Paired: yes
    	Trusted: yes
    	Blocked: no
    	Connected: yes
    	LegacyPairing: no
    	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    	Modalias: bluetooth:v000Fp1200d1436
    

    Output of pacmd list-cards contains the speaker:

    index: 3
    	name: <bluez_card.30_58_90_20_06_3B>
    	driver: <module-bluez5-device.c>
    	owner module: 29
    	properties:
    		device.description = "Salon"
    		device.string = "30:58:90:20:06:3B"
    		device.api = "bluez"
    		device.class = "sound"
    		device.bus = "bluetooth"
    		device.form_factor = "speaker"
    		bluez.path = "/org/bluez/hci0/dev_30_58_90_20_06_3B"
    		bluez.class = "0x260414"
    		bluez.alias = "Salon"
    		device.icon_name = "audio-speakers-bluetooth"
    	profiles:
    		a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: unknown)
    		off: Off (priority 0, available: yes)
    	active profile: <a2dp_sink>
    	sinks:
    		bluez_sink.30_58_90_20_06_3B.a2dp_sink/#2: Salon
    	sources:
    		bluez_sink.30_58_90_20_06_3B.a2dp_sink.monitor/#3: Monitor of Salon
    	ports:
    		speaker-output: Speaker (priority 0, latency offset 0 usec, available: unknown)
    			properties:
    				
    		speaker-input: Bluetooth Input (priority 0, latency offset 0 usec, available: no)
    			properties:
    
    

    As well as the list of sinks:

     * index: 2
    	name: <bluez_sink.30_58_90_20_06_3B.a2dp_sink>
    	driver: <module-bluez5-device.c>
    	flags: HARDWARE DECIBEL_VOLUME LATENCY 
    	state: SUSPENDED
    	suspend cause: IDLE
    	priority: 9550
    	volume: front-left: 60083 /  92% / -2.26 dB,   front-right: 60083 /  92% / -2.26 dB
    	        balance 0.00
    	base volume: 65536 / 100% / 0.00 dB
    	volume steps: 65537
    	muted: no
    	current latency: 0.00 ms
    	max request: 4 KiB
    	max rewind: 0 KiB
    	monitor source: 3
    	sample spec: s16le 2ch 44100Hz
    	channel map: front-left,front-right
    	             Stereo
    	used by: 0
    	linked by: 0
    	fixed latency: 48.22 ms
    	card: 3 <bluez_card.30_58_90_20_06_3B>
    	module: 29
    	properties:
    		bluetooth.protocol = "a2dp_sink"
    		device.description = "Salon"
    		device.string = "30:58:90:20:06:3B"
    		device.api = "bluez"
    		device.class = "sound"
    		device.bus = "bluetooth"
    		device.form_factor = "speaker"
    		bluez.path = "/org/bluez/hci0/dev_30_58_90_20_06_3B"
    		bluez.class = "0x260414"
    		bluez.alias = "Salon"
    		device.icon_name = "audio-speakers-bluetooth"
    	ports:
    		speaker-output: Speaker (priority 0, latency offset 0 usec, available: unknown)
    			properties:
    				
    	active port: <speaker-output>
    
    

    It is not appearing in the alsamixer devices though:
    a0ed686a-cf33-4c59-9858-ea32c06b0d19-image.png

    The two cards that are apearing is the analog output and the HDMI output if I understand correctly.
    I maxed all the controls in alsamixer just in case.

    aplay -L output:

    null
        Discard all samples (playback) or generate zero samples (capture)
    jack
        JACK Audio Connection Kit
    pulse
        PulseAudio Sound Server
    default
        Default ALSA Output (currently PulseAudio Sound Server)
    sysdefault:CARD=MID
        HDA Intel MID, ALC269VB Analog
        Default Audio Device
    front:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        Front speakers
    surround21:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        4.0 Surround output to Front and Rear speakers
    surround41:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=MID,DEV=0
        HDA Intel MID, ALC269VB Analog
        7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    usbstream:CARD=MID
        HDA Intel MID
        USB Stream Output
    hdmi:CARD=NVidia,DEV=0
        HDA NVidia, HDMI 0
        HDMI Audio Output
    hdmi:CARD=NVidia,DEV=1
        HDA NVidia, HDMI 0
        HDMI Audio Output
    hdmi:CARD=NVidia,DEV=2
        HDA NVidia, HDMI 0
        HDMI Audio Output
    hdmi:CARD=NVidia,DEV=3
        HDA NVidia, HDMI 0
        HDMI Audio Output
    usbstream:CARD=NVidia
        HDA NVidia
        USB Stream Output
    

    As you can see it doesn’t appear here.

    I was testing the speaker using aplay -D bluealsa:HCI=hci0,DEV=30:58:90:20:06:3B,PROFILE=a2dp ./testsound.wav. It gives the following output:

    ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM bluealsa:HCI=hci1,DEV=30:58:90:20:06:3B,PROFILE=a2dp
    aplay: main:828: audio open error: No such file or directory
    

    Of course the testsound.wav exists.

    I was already trying pacmd set-card-profile 3 a2dp_sink which also gave no result.

    I was trying to add manually the speaker in ~/.asoundrc but to be honest I don’t know if I did it correctly, I also don’t have the specific configuration I tried as I already deleted it.

    I run out of ideas. Can anyone think what else I should check or install or configure?

    Thank you in advance!

    FYI: This speaker is not broken, it works with other devices (Android and Windows)

    EDIT:
    I’m not sure if it’s relevant, but in pavucontrol you can see that the sound is “being sent” to the speaker:
    78a20b0c-6a5e-4415-b015-28e878ea38a6-image.png

  • @renegat59 said in Bluetooth speaker connected but there is no sound:

    pavucontrol

    do you try disable all other devices in the configuration tab and only enable the JBL?

  • @joekamprad thanks for your reply. I just tried it now and still nothing.

  • try paprefs and enable “simultanious output”

  • @joekamprad
    I didn’t know that tool. I selected that option and still not working:(

  • @renegat59 Try installing and using bluedevil. I have found that in some cases where a device would not connect via other programs, bluedevil works. (After you install it, you will find it [BlueDevil Wizard] in the menu under Internet.) have also found that some bluetooth devices (such as speakers or headphones) just will not work at all with certain other devices (such as a particular computer); there seems to be no rhyme nor reason for that. I hope that bluedevil helps solve your problem.

    (I assume that when hearing sound from your computer’s internal speakers that you are going into the pulseaudio mixer and selecting the bluetooth speaker to play; also that you have enabled, in the mixer’s configuration tab, the ability to play audio via bluetooth and that you have connected your speaker via audio sink.)

  • There is also a cli tool called bluetoothctl

    https://wiki.archlinux.org/index.php/Bluetooth_headset

  • Sorry for a late reply. @joekamprad I tried to use bluetoothctl, it connects to the speaker, it making the “conntected” sound, but I’m not able to reproduce any music on it after.
    @lhb1142 it’s a bit pity that I had to install all the KDE stack for it, but I tried it. It doesn’t find the speaker.

    I think it’s the case you mentioned, that some devices just don’t work with each other. I will have to live with it. For now I think will leave it as it is, if I find a solution I will post it here.
    Thanks for all help!

sound62 bluetooth55 connected11 speaker3 Posts 8Views 107
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.