#StackBounty: #windows-10 #audio #remote-desktop #bluetooth #system-sounds Bluetooth sound interruptions during RDP session

Bounty: 150

I frequently connect from one laptop to another via RDP and experience problems with sound output. I play music via Bluetooth speaker and every time I do any thing on client/server that possibly causes system sounds, the main (music) audio stream to Bluetooth is interrupted, the song in browser shows playing and no sound is heard at all, only refresh page solves the problem. The interruption sounds include not only system sounds but apps sounds as well (Skype, MS Teams, Zoom, etc.)

The problem exists on both configurations:

  1. Music is played on RDP client PC while connected to RDP server
  2. Music is played on RDP-server with enabled Play on remote computer / audiomode:i:1

Things I’ve tried and none of them helped

  1. Mute the sound on host/client
  2. Enable Focus Assists, i.e. disable all notifications

Disabling one and every sound in the system including all the 3rd party apps seems inefficient for me and overkill.

Is there any way to achieve smooth sound experience without disabling sounds?

Both systems are Windows 10 Pro.


Get this bounty!!!

#StackBounty: #android #button #bluetooth #overriding #headset Custom actions on bluetooth headset buttons

Bounty: 150

I want to add custom actions when a Bluetooth headset / earpiece buttons are pressed.

Apparently for this I need to listen to Media Events using mediaSession.setCallback(callback)function. But for that I need to also play some Media as well, right? I dont want to play any sound. Can I ask MediaSession to play nothing and just receive the media events?

My goal is to override the default Bluetooth headset actions. How can I achieve that? Or any listener that can listen to all Bluetooth buttons.


Get this bounty!!!

#StackBounty: #bluetooth #pulseaudio #microphone #iwlwifi #20.10 no audio from headset after switching from a2dp to hsp/hfp 20.10 intel…

Bounty: 50

I use (k)ubuntu to work, and now that I have to use video call applications daily, I’ve noticed the subpar quality of my integrated mic. I know my bluetooth headset works as a headset because I’ve used it on my phone as a bluetooth headset, and it even shows up in the volume mixer as a headset. When I connect the headset to my pc, I can use a2dp(stereo playback), but cannot use my microphone. When I try to switch to hsp/hfp in pulseaudiovolumecontrol, I can hear my own voice echoing in my headset, but can no longer hear anything from my pc. However, I can see in my volume manager that the microphone is now available(although it doesn’t work). here are some details on my hardware:

my wifi/bt card according to lspci:

3b:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

PACMD output:

    index: 2
        name: <bluez_card.FC_58_FA_C4_9D_17>
        driver: <module-bluez5-device.c>
        owner module: 28
        properties:
                device.description = "JLab BT"
                device.string = "FC:58:FA:C4:9D:17"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_FC_58_FA_C4_9D_17"
                bluez.class = "0x260404"
                bluez.alias = "JLab BT"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        profiles:
                headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
                a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
                off: Off (priority 0, available: yes)
        active profile: <a2dp_sink>
        sinks:
                bluez_sink.FC_58_FA_C4_9D_17.a2dp_sink/#8: JLab BT
        sources:
                bluez_sink.FC_58_FA_C4_9D_17.a2dp_sink.monitor/#12: Monitor of JLab BT
        ports:
                headset-output: Headset (priority 0, latency offset 0 usec, available: yes)
                        properties:

                headset-input: Headset (priority 0, latency offset 0 usec, available: unknown)
                        properties:

Also now looking at my journal for bluetooth-related errors I see some lines that raise questions:

Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Failed to release transport 

/org/bluez/hci0/dev_FC_58_FA_C4_9D_17/sep1/fd7: Method "Release" with signature "" on interface "org.bluez.MediaTransport1" doesn't exist

Bluetooth: hci0: Failed to send Intel_Write_DDC (-22)

Update: I tried to update to groovy gorilla, as I thought that it may remedy my issue as stated in https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1871794
but it didn’t work out, so I’ve updated the title to 20.10


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!

#StackBounty: #keyboard #20.04 #bluetooth #logitech 20.04 – Logitech MX Keys won't pair with Bluetooth

Bounty: 150

I am using Ubuntu 20.04.1 and I am trying to pair my MX Keys keyboard via Bluetooth.

I start the process with the Bluetooth control panel, and I get stuck in this window.

enter image description here

Even though I type the right PIN and press ENTER, still the process does not complete. In fact, it gets stuck in that mode, with the PIN window unable to be closed.

I have also tried using "Blueman" with a similar result. I start the "Setup" process, and this is what I get in the end.

enter image description here

I have also tried with bluetoothctl

➜ bluetoothctl connect CB:DD:B4:5C:4E:E3
Attempting to connect to CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
Connection successful

~ took 8s 
➜ bluetoothctl trust CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Trusted: yes
Changing CB:DD:B4:5C:4E:E3 trust succeeded

~ 
➜ bluetoothctl pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: yes
[CHG] Device CB:DD:B4:5C:4E:E3 ServicesResolved: no
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

~ took 30s 

What could be done about it, to get it to work?

UPDATE

I have managed to get a PIN with bluetoothctl if I reset Bluetooth in my PC, but even if I type the PIN, the authentication fails. It is as if it was ignoring what I type…

[bluetooth]# pair CB:DD:B4:5C:4E:E3
Attempting to pair with CB:DD:B4:5C:4E:E3
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: yes
[agent] Passkey: 610148
[CHG] Device CB:DD:B4:5C:4E:E3 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled


Get this bounty!!!