View Issue Details

IDProjectCategoryView StatusLast Update
0008274Kali LinuxKali Package Bugpublic2023-04-28 07:06
ReporterFredJ Assigned Toarnaudr  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version2023.2 
Summary0008274: impossible to connect (bluetooth or USB) audio out device
Description

Good morning,

Please, excuse my english, I'm French....

I made an update today (2023/04/23).
Before, I could connect a bluetooth speaker or an external sound card (microphone+headphones) in USB.
Since the update, I can't do it anymore.
In bluetooth :
$ sudo bluetoothctl scan on
Discovery started
[CHG] Controller C4:85:08:B2:B3:BB Discovering: yes
[CHG] Device F8:5C:7D:FA:76:4B RSSI: -60
[CHG] Device F8:5C:7D:FA:76:4B TxPower: 0

$ sudo bluetoothctl connect F8:5C:7D:FA:76:4B
Attempting to connect to F8:5C:7D:FA:76:4B
Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable

In USB :
When I plug in my external card, the microphone is recognized, but not the audio output.

Any idea what has changed with this update?

Many thanks,

Activities

FredJ

FredJ

2023-04-23 18:37

reporter   ~0017818

Linux endor 6.1.0-kali7-amd64 0000001 SMP PREEMPT_DYNAMIC
Debian 6.1.20-2kali1 (2023-04-18) x86_64 GNU/Linux

FredJ

FredJ

2023-04-23 18:38

reporter   ~0017819

OS: Kali GNU/Linux Rolling x86_64

arnaudr

arnaudr

2023-04-24 01:05

manager   ~0017820

Hello, can you please run the following commands in a terminal (no need to be root), and paste the output here.

  1. dpkg -l | grep -E 'blue[tz]|pipewire|wireplumber|pulse'
  2. ps -fp $(pgrep 'blue|wire|pipe|pulse')

Thanks

FredJ

FredJ

2023-04-24 15:33

reporter   ~0017825

┌──(fredj㉿endor)-[~]
└─$ dpkg -l | grep -E 'blue[tz]|pipewire|wireplumber|pulse'
ii blueman 2.3.5-2+b1 amd64 Graphical bluetooth manager
ii bluez 5.66-1+kali1 amd64 Bluetooth tools and daemons
ii bluez-firmware 1.2-9 all Firmware for Bluetooth devices
ii bluez-hcidump 5.66-1+kali1 amd64 Analyses Bluetooth HCI packets
ii bluez-obexd 5.66-1+kali1 amd64 bluez obex daemon
ii kismet-capture-linux-bluetooth 2022.08.R1-0kali2 amd64 Kismet Linux Bluetooth capture helper
ii libbluetooth3:amd64 5.66-1+kali1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libpipewire-0.3-0:amd64 0.3.65-3 amd64 libraries for the PipeWire multimedia server
ii libpipewire-0.3-common 0.3.65-3 all libraries for the PipeWire multimedia server - common files
ii libpipewire-0.3-modules:amd64 0.3.65-3 amd64 libraries for the PipeWire multimedia server - modules
ii libpulse-mainloop-glib0:amd64 16.1+dfsg1-2+b1 amd64 PulseAudio client libraries (glib support)
ii libpulse0:amd64 16.1+dfsg1-2+b1 amd64 PulseAudio client libraries
ii libpulse0:i386 16.1+dfsg1-2+b1 i386 PulseAudio client libraries
ii libpulsedsp:amd64 16.1+dfsg1-2+b1 amd64 PulseAudio OSS pre-load library
ii libwireplumber-0.4-0:amd64 0.4.13-1 amd64 Shared libraries for WirePlumber
ii pipewire:amd64 0.3.65-3 amd64 audio and video processing engine multimedia server
ii pipewire-bin 0.3.65-3 amd64 PipeWire multimedia server - programs
rc pipewire-media-session 0.4.2-3 amd64 example session manager for PipeWire
ii pipewire-pulse 0.3.65-3 amd64 PipeWire PulseAudio daemon
ii pulseaudio 16.1+dfsg1-2+b1 amd64 PulseAudio sound server
ii pulseaudio-module-bluetooth 16.1+dfsg1-2+b1 amd64 Bluetooth module for PulseAudio sound server
ii pulseaudio-utils 16.1+dfsg1-2+b1 amd64 Command line tools for the PulseAudio sound server
ii wireplumber 0.4.13-1 amd64 modular session / policy manager for PipeWire
ii xfce4-pulseaudio-plugin:amd64 0.4.5-1 amd64 Xfce4 panel plugin to control pulseaudio

┌──(fredj㉿endor)-[~]
└─$ ps -fp $(pgrep 'blue|wire|pipe|pulse')
UID PID PPID C STIME TTY STAT TIME CMD
root 614 2 0 avril23 ? I< 0:00 [asus_wireless_w]
root 901 1 0 avril23 ? Ss 0:00 /usr/libexec/bluetooth/bluetoothd
fredj 1802 1777 0 avril23 ? S<sl 1:41 /usr/bin/pipewire
fredj 1803 1777 0 avril23 ? S<sl 0:01 /usr/bin/wireplumber
fredj 1804 1777 0 avril23 ? S<sl 2:20 /usr/bin/pipewire-pulse
fredj 2286 2227 0 avril23 ? Sl 0:32 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 16 27262994 pulse
fredj 2726 1815 0 avril23 ? Sl 0:05 /usr/bin/python3 /usr/bin/blueman-applet
fredj 2962 1 0 avril23 ? Sl 0:25 /usr/bin/python3 /usr/bin/blueman-tray

arnaudr

arnaudr

2023-04-25 04:33

manager   ~0017827

Can you try to install this package please?

<pre>
sudo apt install libspa-0.2-bluetooth
</pre>

Then you probably want to log out and log back in, just to be sure it takes effect. Please tell me if if fixes the issue. Thanks!

FredJ

FredJ

2023-04-25 06:11

reporter   ~0017831

Many thanks Arnaudr!
It works!
What was the problem?

FredJ

FredJ

2023-04-25 07:13

reporter   ~0017833

I mean, why this lib has been uninstalled?
Many thanks.

arnaudr

arnaudr

2023-04-25 09:02

manager   ~0017834

In short, in the XFCE Kali desktop, we're transitioning to pipewire. Pulseaudio is still installed, but it's unused, instead it's now pipewire that is in charge of the audio.

The issue is that I forgot to list the package libspa-0.2-bluetooth among the dependencies of kali-desktop-xfce. So when you upgraded your system, this package was not installed. So it's not that this package was uninstalled, it's just that it was never installed.

Fixed with commit: https://gitlab.com/kalilinux/packages/kali-meta/-/commit/4e09eb450001ab6116025c3fece78d0ab47a91a0

Thanks a lot for reporting the issue !

Issue History

Date Modified Username Field Change
2023-04-23 18:27 FredJ New Issue
2023-04-23 18:37 FredJ Note Added: 0017818
2023-04-23 18:38 FredJ Note Added: 0017819
2023-04-24 01:05 arnaudr Note Added: 0017820
2023-04-24 15:33 FredJ Note Added: 0017825
2023-04-25 04:33 arnaudr Note Added: 0017827
2023-04-25 06:11 FredJ Note Added: 0017831
2023-04-25 07:13 FredJ Note Added: 0017833
2023-04-25 09:02 arnaudr Note Added: 0017834
2023-04-25 09:03 arnaudr Assigned To => arnaudr
2023-04-25 09:03 arnaudr Status new => assigned
2023-04-25 09:03 arnaudr Status assigned => resolved
2023-04-25 09:03 arnaudr Resolution open => fixed
2023-04-25 09:03 arnaudr Fixed in Version => 2023.2