Bluetooth device not showing as audio i/o device

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
LinuxLearning
Level 1
Level 1
Posts: 3
Joined: Mon Mar 18, 2024 8:03 am

Bluetooth device not showing as audio i/o device

Post by LinuxLearning »

Hello dear forum users.
I have the following bluetooth adapter:
UGREEN CM591 Bluetooth Adapter 5.3 using Actions Semi ATS2851 chipset.
By default, the system used the 5.15.0-100-generic kernel and the Bluetooth manager did not run on it.
I updated the kernel to version 6.5.0-25-generic and after that the bluetooth manager started working.
Having launched the SVEN AP-B900MV headphones in detection mode, I found them and connected them, but the problem is that the sound still does not come through them - all sounds are played through the monitor speakers by default. Headphones are also not visible in the audio devices menu.

In general, this UGREEN adapter works very strangely. The headphones may connect and then disconnect after a few seconds. They can work for a few minutes and then switch off. I searched the Internet for information on this adapter and realized that in general, many people have problems with it in different Linux distributions.

I also have a NuPhy Air75 keyboard, but I couldn’t connect it with this adapter - for now I’m using it via wire. But this is a topic for another discussion.

Also, for your information, I have Windows 11 and Linux Mint installed in dual boot. Secure boot is disabled.

After studying the forum a little, I tried to run the following commands, but there was no result:

Code: Select all

sudo apt install git dkms
 git clone https://github.com/jeremyb31/bluetooth-6.5.git
 sudo dkms add ./bluetooth-6.5
 sudo dkms install btusb/4.1

Code: Select all

dkms status

Code: Select all

btusb/4.1, 6.5.0-25-generic, x86_64: installed
nvidia/545.29.06, 5.15.0-100-generic, x86_64: installed
nvidia/545.29.06, 6.5.0-25-generic, x86_64: installed

Code: Select all

inxi -Fxxxrz ; rfkill list ; iwconfig ; mokutil --sb-state

Code: Select all

System:
  Kernel: 6.5.0-25-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin dm: LightDM 1.30.0
    Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: Gigabyte product: Z370M D3H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: Z370M D3H-CF serial: <superuser required>
    UEFI: American Megatrends v: F14 date: 11/13/2021
CPU:
  Info: 6-core model: Intel Core i7-8700 bits: 64 type: MT MCP smt: enabled
    arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 800 min/max: 800/4600 cores: 1: 800 2: 800 3: 800
    4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    bogomips: 76799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 545.29.06
    pcie: speed: 8 GT/s lanes: 16 ports: active: none off: DP-1,DVI-D-1
    empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 7936x2400 s-dpi: 108 s-size: 1866x564mm (73.5x22.2")
    s-diag: 1949mm (76.7")
  Monitor-1: DP-0 pos: primary,right res: 4096x2304 hz: 60 dpi: 188
    size: 553x311mm (21.8x12.2") diag: 634mm (25")
  Monitor-2: DVI-D-0 pos: primary,left res: 3840x2400 hz: 60 dpi: 188
    size: 518x324mm (20.4x12.8") diag: 611mm (24.1")
  OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    v: 4.6.0 NVIDIA 545.29.06 direct render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fb9
    class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-25-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
[b]Bluetooth:
  Device-1: Actions general adapter type: USB driver: btusb v: 0.91
    bus-ID: 1-1:2 chip-ID: 10d7:b012 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>[/b]
Drives:
  Local Storage: total: 816.03 GiB used: 19.57 GiB (2.4%)
  ID-1: /dev/nvme0n1 vendor: A-Data model: SX6000LNP size: 238.47 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: S0725B0
    temp: 40.9 C scheme: GPT
  ID-2: /dev/sda vendor: Western Digital model: WD5000AAKX-221CA1
    size: 465.76 GiB speed: 6.0 Gb/s type: N/A serial: <filter> rev: 1H17
    scheme: MBR
  ID-3: /dev/sdb vendor: Kingston model: SH103S3120G size: 111.79 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: BBF0 scheme: MBR
Partition:
  ID-1: / size: 57.22 GiB used: 17.58 GiB (30.7%) fs: btrfs dev: /dev/sdb7
  ID-2: /boot size: 942.3 MiB used: 721 MiB (76.5%) fs: ext4 dev: /dev/sdb5
  ID-3: /boot/efi size: 96 MiB used: 32.3 MiB (33.7%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 37.88 GiB used: 1.25 GiB (3.3%) fs: btrfs
    dev: /dev/sdb8
Swap:
  ID-1: swap-1 type: partition size: 15.26 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb6
Sensors:
  System Temperatures: cpu: 41.0 C mobo: 36.0 C gpu: nvidia temp: 36 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Repos:
  Packages: apt: 2274
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://mirror.yandex.ru/linuxmint-packages virginia main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 381 Uptime: 2h 40m wakeups: 0 Memory: 31.26 GiB
  used: 4.7 GiB (15.0%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13

Code: Select all

lspci -nnk|grep -iA3 net; lsusb; uname -r; mokutil --sb; dmesg|egrep -i 'blue|firm'

Code: Select all

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
	DeviceName: Onboard - Ethernet
	Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection (2) I219-V [1458:e000]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046d:c548 Logitech, Inc. USB Receiver
Bus 001 Device 006: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 10d7:b012 Actions general adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
6.5.0-25-generic
SecureBoot disabled
Platform is in Setup Mode
[   10.397726] Bluetooth: Core ver 2.22
[   10.397737] NET: Registered PF_BLUETOOTH protocol family
[   10.397738] Bluetooth: HCI device and connection manager initialized
[   10.397756] Bluetooth: HCI socket layer initialized
[   10.397757] Bluetooth: L2CAP socket layer initialized
[   10.397762] Bluetooth: SCO socket layer initialized
[   10.406156] Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
[   10.406159] Bluetooth: hci0: HCI Read Transmit Power Level command is advertised, but not supported.
[   10.406161] Bluetooth: hci0: HCI LE Set Random Private Address Timeout command is advertised, but not supported.
[   12.710418] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.710421] Bluetooth: BNEP filters: protocol multicast
[   12.710423] Bluetooth: BNEP socket layer initialized
[   12.711514] Bluetooth: MGMT ver 1.22
[   15.310961] Bluetooth: RFCOMM TTY layer initialized
[   15.310969] Bluetooth: RFCOMM socket layer initialized
[   15.310975] Bluetooth: RFCOMM ver 1.11

Code: Select all

bluetoothctl info

Code: Select all

Device 00:02:5B:20:7D:A3 (public)
	Name: SVEN AP-B900MV
	Alias: SVEN AP-B900MV
	Class: 0x00240404
	Icon: audio-headset
	Paired: yes
	Trusted: yes
	Blocked: no
	Connected: yes
	LegacyPairing: no
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	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: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)

Code: Select all

bluetoothctl paired-devices

Code: Select all

Device 00:02:5B:20:7D:A3 SVEN AP-B900MV
Here I found references for the ATS2851, but I don’t know how to apply these patches and whether they will help:
https://marc.info/?l=linux-bluetooth&w= ... ts2851&q=b
https://marc.info/?l=linux-bluetooth&m= ... 617845&w=2

I will be glad to any advice. If the input data is not enough, I am ready to provide additional information.
Last edited by karlchen on Mon Mar 18, 2024 10:12 am, edited 1 time in total.
Reason: replaced [quote] [/quote] tags by [code] [/code] tags. You quote another person's words. Terminal output goes between [code] [/code] tags
LinuxLearning
Level 1
Level 1
Posts: 3
Joined: Mon Mar 18, 2024 8:03 am

Re: Bluetooth device not showing as audio i/o device

Post by LinuxLearning »

Hi.
I solved this problem by purchasing a new Bluetooth 5.3 adapter on the rtl8761bw chip.

Code: Select all

lspci -nnk|grep -iA3 net; lsusb; uname -r; mokutil --sb; dmesg|egrep -i 'blue|firm'

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
	DeviceName: Onboard - Ethernet
	Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection (2) I219-V [1458:e000]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046d:c548 Logitech, Inc. USB Receiver
Bus 001 Device 004: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 0bda:a729 Realtek Semiconductor Corp. Bluetooth 5.3 Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
6.5.0-26-generic
SecureBoot disabled
Platform is in Setup Mode
[    4.105863] usb 1-1: Product: Bluetooth 5.3 Radio
[   10.393334] Bluetooth: Core ver 2.22
[   10.393345] NET: Registered PF_BLUETOOTH protocol family
[   10.393347] Bluetooth: HCI device and connection manager initialized
[   10.393349] Bluetooth: HCI socket layer initialized
[   10.393350] Bluetooth: L2CAP socket layer initialized
[   10.393353] Bluetooth: SCO socket layer initialized
[   10.403063] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[   10.404052] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   10.404054] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[   10.406333] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[   10.406366] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[   10.555157] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[   12.654466] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.654468] Bluetooth: BNEP filters: protocol multicast
[   12.654471] Bluetooth: BNEP socket layer initialized
[   12.655498] Bluetooth: MGMT ver 1.22
[   15.373575] Bluetooth: RFCOMM TTY layer initialized
[   15.373581] Bluetooth: RFCOMM socket layer initialized
[   15.373584] Bluetooth: RFCOMM ver 1.11
[   25.316365] Bluetooth: hci0: command 0x0c24 tx timeout
[   25.316365] Bluetooth: hci0: Opcode 0x0c24 failed: -110
[   27.332412] Bluetooth: hci0: command 0x0c24 tx timeout
[   27.332414] Bluetooth: hci0: Opcode 0x0c24 failed: -110
[   29.348397] Bluetooth: hci0: command 0x0c24 tx timeout
[   29.348398] Bluetooth: hci0: Opcode 0x0c24 failed: -110
[  167.017358] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[  167.017364] Bluetooth: HIDP socket layer initialized

Code: Select all

inxi -Fxxxrz ; rfkill list ; iwconfig ; mokutil --sb-state

Bluetooth:
  Device-1: Realtek Bluetooth 5.3 Radio type: USB driver: btusb v: 0.91
    bus-ID: 1-1:6 chip-ID: 0bda:a729 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
Post Reply

Return to “Sound”