Bluetooth not working

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
vishneo
Level 1
Level 1
Posts: 6
Joined: Tue Mar 26, 2024 11:39 pm

Bluetooth not working

Post by vishneo »

Sine I have installed LInux mint on my ROG Strix, the blujetooth didnt work out of the box. I have followed the thread viewtopic.php?t=388568&sid=c7a2c3f17b0b ... 71b064d76a

And when I installed the driver last time after reboot bluetooth worked but then suddenly stopped working after another reboot.

inxi -Fxxxrz
System:
Kernel: 5.15.0-101-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
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: Laptop System: ASUSTeK product: ROG Strix G513RC_G513RC v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: G513RC v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: G513RC.327 date: 02/16/2023
Battery:
ID-1: BAT0 charge: 49.0 Wh (100.0%) condition: 49.0/56.0 Wh (87.5%)
volts: 17.5 min: 15.9 model: AS3GWZC3KC G513-36 type: Unknown
serial: <filter> status: Full
CPU:
Info: 8-core model: AMD Ryzen 7 6800H with Radeon Graphics bits: 64
type: MT MCP smt: enabled arch: Zen 3 rev: 1 cache: L1: 512 KiB L2: 4 MiB
L3: 16 MiB
Speed (MHz): avg: 1382 high: 1477 min/max: 1600/4784 boost: enabled
cores: 1: 1477 2: 1316 3: 1386 4: 1385 5: 1390 6: 1391 7: 1417 8: 1404
9: 1309 10: 1364 11: 1354 12: 1369 13: 1384 14: 1395 15: 1393 16: 1382
bogomips: 102208
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: ASUSTeK
driver: N/A pcie: speed: 16 GT/s lanes: 8 bus-ID: 01:00.0
chip-ID: 10de:25a2 class-ID: 0300
Device-2: AMD Rembrandt vendor: ASUSTeK driver: amdgpu v: kernel pcie:
speed: 16 GT/s lanes: 16 ports: active: eDP-1
empty: DP-1, DP-2, DP-3, DP-4, DP-5 bus-ID: 05:00.0 chip-ID: 1002:1681
class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 144 dpi: 142
size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
OpenGL:
renderer: REMBRANDT (rembrandt LLVM 15.0.7 DRM 3.42 5.15.0-101-generic)
v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
speed: Unknown lanes: 63 bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: ASUSTeK driver: snd_pci_acp6x v: kernel pcie: speed: 16 GT/s
lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-101-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: MEDIATEK vendor: Foxconn driver: mt7921e v: kernel pcie:
speed: 5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0 chip-ID: 14c3:0616
class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp3s0 state: down mac: <filter>
IF-ID-1: nordlynx state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
Device-1: Foxconn / Hon Hai Wireless_Device type: USB driver: btusb v: 0.8
bus-ID: 1-4:3 chip-ID: 0489:e0e2 class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: no
address: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 217.54 GiB (45.6%)
ID-1: /dev/nvme0n1 vendor: Micron model: 2450 MTFDKBA512TFK
size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: V5MA010 temp: 30.9 C scheme: GPT
Partition:
ID-1: / size: 467.89 GiB used: 217.53 GiB (46.5%) fs: ext4
dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Sensors:
System Temperatures: cpu: 46.0 C mobo: N/A gpu: amdgpu temp: 45.0 C
Fan Speeds (RPM): cpu: 2200
Repos:
Packages: 2510 apt: 2493 flatpak: 17
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/azure-cli.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ jammy main
Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
1: deb https://repo.nordvpn.com//deb/nordvpn/debian stable main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com 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
Active apt repos in: /etc/apt/sources.list.d/saiarcot895-flightgear-jammy.list
1: deb [signed-by=/etc/apt/keyrings/saiarcot895-flightgear-jammy.gpg] https://ppa.launchpadcontent.net/saiarc ... ear/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https://repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Info:
Processes: 409 Uptime: 5m wakeups: 4 Memory: 14.88 GiB
used: 3.14 GiB (21.1%) 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

When I try to install firmware as mentioned in aother thread I get below

sudo apt install broadcom-sta-common
[sudo] password for w0lf:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
broadcom-sta-common
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 8,868 B of archives.
After this operation, 33.8 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 broadcom-sta-common all 6.30.223.271-23~22.04.1 [8,868 B]
Fetched 8,868 B in 2s (3,570 B/s)
Selecting previously unselected package broadcom-sta-common.
(Reading database ... 668985 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-common_6.30.223.271-23~22.04.1_all.deb ...
Unpacking broadcom-sta-common (6.30.223.271-23~22.04.1) ...
Setting up broadcom-sta-common (6.30.223.271-23~22.04.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-101-generic
W: Possible missing firmware /lib/firmware/amdgpu/yellow_carp_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/cyan_skillfish_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu

Please help
vishneo
Level 1
Level 1
Posts: 6
Joined: Tue Mar 26, 2024 11:39 pm

Re: Bluetooth not working

Post by vishneo »

another information is

sudo blueman-manager
Failed to enable bluetooth
blueman-manager 09.16.13 ERROR Manager:147 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 09.16.13 ERROR Manager:151 on_dbus_name_appeared: No adapter(s) found, exiting
greentea
Level 3
Level 3
Posts: 103
Joined: Sat Dec 14, 2019 10:14 pm
Location: USA - central piedmont

Re: Bluetooth not working

Post by greentea »

vishneo wrote: Tue Mar 26, 2024 11:46 pm another information is

sudo blueman-manager
Failed to enable bluetooth
blueman-manager 09.16.13 ERROR Manager:147 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 09.16.13 ERROR Manager:151 on_dbus_name_appeared: No adapter(s) found, exiting
I was getting the same error.
You can try the fix that worked for me, which is in my last post here:
viewtopic.php?p=2443926#p2443926
Mint 21.3 Cinnamon primary; 21.3 xfce & LMDE 6 installed; home built Core i5-9600K with Asus TUF Z390-Plus Gaming Wi-Fi; RAM 16 GB; Intel UHD Graphics 630; system on: Samsung 970 EVO Plus NVMe 500GB; storage & backup on: WD Black 1TB
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

With Secure Boot disabled, see in terminal mokutil --sb
Then run

Code: Select all

sudo apt install git dkms
git clone https://github.com/jeremyb31/bluetooth-5.15.git
sudo dkms add ./bluetooth-5.15
sudo dkms install btusb/4.1
Reboot
vishneo
Level 1
Level 1
Posts: 6
Joined: Tue Mar 26, 2024 11:39 pm

Re: Bluetooth not working

Post by vishneo »

amazing !

This worked. Can you please explain what we have done in here and why ?
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working

Post by JeremyB »

Basically cloned my modified kernel source code for Bluetooth that I patch to support newer devices and compiled it into a driver
greentea
Level 3
Level 3
Posts: 103
Joined: Sat Dec 14, 2019 10:14 pm
Location: USA - central piedmont

Re: Bluetooth not working

Post by greentea »

JeremyB wrote: Wed Mar 27, 2024 5:20 pm Basically cloned my modified kernel source code for Bluetooth that I patch to support newer devices and compiled it into a driver
Wow! That is amazing.
Mint 21.3 Cinnamon primary; 21.3 xfce & LMDE 6 installed; home built Core i5-9600K with Asus TUF Z390-Plus Gaming Wi-Fi; RAM 16 GB; Intel UHD Graphics 630; system on: Samsung 970 EVO Plus NVMe 500GB; storage & backup on: WD Black 1TB
vishneo
Level 1
Level 1
Posts: 6
Joined: Tue Mar 26, 2024 11:39 pm

Re: Bluetooth not working

Post by vishneo »

thats so cool, thank you very much
Post Reply

Return to “Networking”