#Bluetooth Discovery Issues

59 messages · Page 1 of 1 (latest)

wheat sable
#

Hello! My Bluetooth setup appears to be correct but I cant get it to discover any devices at all, whether through blueman, bluetuith, or the terminal itself with bluetoothctrl. I am fairly new to Linux, but I followed the wiki and multiple Reddit and YouTube post for the past couple days and I feel like I have wasted so much time on something so simple. for context I am trying to Bluetooth audio devices. Thank you to anyone in advance for trying to help!

Hardware: I have WiFi and Bluetooth built in to my computer. but I am using Ethernet. I have not setup WiFi.
Software: for what it is worth I am using Hyprland, that shouldn't have anything to do with it, but just in the past few days of being a Linux user it has affected more then I would think.

Here is what I have done:
Installed: Bluez, Bluez-utils, Bluez-deprecated-tools, Bluetuith, Bluedevil, and previously blueman.

Commands I have executed and their respective outputs:

  • I: bluetoothctl power on

  • O: hci0 new_settings: powered bondable ssp br/edr le secure-conn cis-central cis-peripheral iso-broadcaster sync-receiver

  • I: bluetoothctl

  • O: Agent registered
    [CHG] Controller MAC ADDRESS Pairable: yes

  • I: agent on

  • O: Agent is already registered

  • I: scan on

  • O: SetDiscoveryFilter success
    Discovery Started
    [CHG] Controller MAC ADDRESS Discovering: yes

Then I believe it should show devices, but it shows none, I have tested it with multiple devices, and I see them on my phone.

Other things I have tried are:

  • systemctl status bluetooth.service
    Which shows me that it is enabled, the preset is disabled, and that it is active (running).
  • typing devices after discovering, which shows nothing.
  • sudo btmgm le on which didn't seem to work.
  • sudo rfkill which doesn't change anything, and it wasn't locked in the first place.
  • sudo systemctl restart bluetooth I tried a couple times, but didn't seem to make an impact.

Thank you again in advance.

lean raptor
#

when running sudo dmesg , do you see text like the following?

[    2.812670] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[    2.812677] Bluetooth: hci0: Boot Address: 0x24800
[    2.812678] Bluetooth: hci0: Firmware Version: 132-3.24
[    2.812680] Bluetooth: hci0: Firmware already loaded
[    2.819835] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
wheat sable
#

Sorry for the delayed response I was betting on discord notifications.
No I do not see it in there. although the logs are really long so maybe I overlooked it.

wheat sable
lean raptor
#

Without more information, seems like the driver isn't loading. Do you know the vendor for the bluetooth device?

wheat sable
#

The motherboard is AMD.

lean raptor
#

can you paste the output of lspci

wheat sable
#

That command was not found for me.

#

Sorry. I was putting an I.

#

00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
00:14.0 USB controller: Intel Corporation Raptor Lake USB 3.2 Gen 2x2 (20 Gb/s) XHCI Host Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Raptor Lake-S PCH Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Raptor Lake Serial IO I2C Host Controller #0 (rev 11)
00:15.1 Serial bus controller: Intel Corporation Raptor Lake Serial IO I2C Host Controller #1 (rev 11)
00:15.2 Serial bus controller: Intel Corporation Raptor Lake Serial IO I2C Host Controller #2 (rev 11)
00:16.0 Communication controller: Intel Corporation Raptor Lake CSME HECI #1 (rev 11)
00:17.0 SATA controller: Intel Corporation Raptor Lake SATA AHCI Controller (rev 11)
00:1a.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #25 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #17 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #1 (rev 11)
00:1c.2 PCI bridge: Intel Corporation Raptor Point-S PCH - PCI Express Root Port 3 (rev 11)
00:1c.3 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #4 (rev 11)
00:1d.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #9 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Raptor Lake LPC/eSPI Controller (rev 11)
00:1f.3 Audio device: Intel Corporation Raptor Lake High Definition Audio Controller (rev 11)

lean raptor
#

what is the output of lsmod | grep bt

wheat sable
#

00:1f.4 SMBus: Intel Corporation Raptor Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Raptor Lake SPI (flash) Controller (rev 11)
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 12)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 12)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600] (rev cf)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio
04:00.0 Non-Volatile memory controller: Sandisk Corp SanDisk Extreme NVMe SSD (DRAM-less) (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
09:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b851

wheat sable
# lean raptor what is the output of `lsmod | grep bt`

btusb 77824 0
btrtl 32768 1 btusb
btintel 69632 1 btusb
btbcm 24576 1 btusb
btmtk 32768 1 btusb
bluetooth 1097728 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
btrfs 2170880 1
libcrc32c 12288 1 btrfs
xor 20480 1 btrfs
raid6_pq 122880 1 btrfs

wheat sable
lean raptor
#

after running bluetoothctl, enter show and paste the output here please

#

for reference:

wheat sable
#

Controller MAC ADDRESS (public)
Manufacturer: 0x005d (93)
Version: 0x0c (12)
Name: arch
Alias: arch
Class: 0x007c0104 (8126724)
Powered: yes
PowerState: on
Discoverable: no
DiscoverableTimeout: 0x00000000 (0)
Pairable: yes
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d054F
Discovering: no
Roles: central
Roles: peripheral
Advertising Features:
ActiveInstances: 0x00 (0)
SupportedInstances: 0x05 (5)
SupportedIncludes: tx-power
SupportedIncludes: appearance
SupportedIncludes: local-name
SupportedSecondaryChannels:

#

1M
SupportedSecondaryChannels: 2M
SupportedSecondaryChannels: Coded
SupportedCapabilities.MinTxPower: 0xffffffa6 (-90)
SupportedCapabilities.MaxTxPower: 0x0000 (0)
SupportedCapabilities.MaxAdvLen: 0xfb (251)
SupportedCapabilities.MaxScnRspLen: 0xfb (251)
SupportedFeatures: CanSetTxPower
SupportedFeatures: HardwareOffload

lean raptor
#

do you get any results when running sudo dmesg | grep -i bluetooth ?

wheat sable
#

Yes. (Bluetooth is Red each time its mentioned.)

1.860872] usb 1-14: Product: Bluetooth Radio
[ 3.822463] Bluetooth: Core ver 2.22
[ 3.822472] NET: Registered PF_BLUETOOTH protocol family
[ 3.822472] Bluetooth: HCI device and connection manager initialized
[ 3.822475] Bluetooth: HCI socket layer initialized
[ 3.822476] Bluetooth: L2CAP socket layer initialized
[ 3.822478] Bluetooth: SCO socket layer initialized
[ 5.205540] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.205542] Bluetooth: BNEP filters: protocol multicast
[ 5.205545] Bluetooth: BNEP socket layer initialized
[ 5.205881] Bluetooth: MGMT ver 1.23
[ 43.925115] Bluetooth: RFCOMM TTY layer initialized
[ 43.925119] Bluetooth: RFCOMM socket layer initialized
[ 43.925121] Bluetooth: RFCOMM ver 1.11
[ 2046.244807] Bluetooth: MGMT ver 1.23

lean raptor
#

do you have a package manager for AUR?

wheat sable
#

Yes, although I am unfamilliar with the name. I got it on accident. it is yay. I know how to use it though. I have frequently.

lean raptor
wheat sable
#

would the command be yay -S realtek-firmware ?

lean raptor
#

yes

wheat sable
#

It doesn't appear to have fixed the issue. while downloading the package, I go multiple errors about firmware, could that be related or no?

==> WARNING: Possibly missing firmware for module: 'amdgpu'
==> WARNING: Possibly missing firmware for module: 'ast'
==> WARNING: Possibly missing firmware for module: 'i915'
==> WARNING: Possibly missing firmware for module: 'nouveau'
==> WARNING: Possibly missing firmware for module: 'radeon'
==> WARNING: Possibly missing firmware for module: 'xe'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'advansys'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'cxgb4'
==> WARNING: Possibly missing firmware for module: 'csiostor'
==> WARNING: Possibly missing firmware for module: 'cxgb3'
==> WARNING: Possibly missing firmware for module: 'isci'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'ums_eneub6250'

#

.

Thank you for helping by the way.

lean raptor
#

There is a notice somewhere, I don't have the link on hand, about the warnings. Some of those are safe to ignore. The rest are missing drivers

wheat sable
#

Alright. is there anything else that could be causing it? or anything else I could try?

lean raptor
#

You can try loading the driver, modprobe rtk_btusb or try restarting so that the driver loads during startup

wheat sable
#

Maybe you are on to something, it resulted in this:

modprobe: FATAL: Module rtk_btusb not found in directory /lib/modules/6.12.8-arch1-1

lean raptor
#

Lets see if we can find the specific model for your bluetooth, try sudo dmesg | grep -i 'rtl'

wheat sable
#

(RTL is bolded red)

[ 3.834881] r8169 0000:08:00.0 eth0: RTL8168h/8111h, 60:cf:84:c8:de:a6, XID 541, IRQ 184

lean raptor
wheat sable
west nacelleBOT
#

mysticalone received a thank you cookie!

lean raptor
#

Yeah, let me see what I can find

#

It's definitely a Realtek bluetooth device. Can't find specifics. Do you know if the wifi works?

wheat sable
#

I have yet to even try the wifi, I probably should. Although I know nothing about it. Can I easily switch back to ethernet?

lean raptor
#

I'm not certain. I'm using gnome control panel, and I'm able to turn on/off the wifi from t here

#

it doesn't affect my current connection when I turn it on

wheat sable
#

I just found this website while figuring out how to work wifi. Could the wifi and bluetooth use the same drivers?

lean raptor
#

Sorry, I don't know enough to say for certain.

wheat sable
#

I mean I probably need them anyway for wifi. Do you know which one I need by chance?

#

I just Ctrl + f for "real"

lean raptor
#

I didn't see the model in the lspci output

wheat sable
#

would it be PCI?

lean raptor
#

it could show up under lsusb

#

this is my output of lspci

05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
wheat sable
#

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 005: ID 046d:c542 Logitech, Inc. M185 compact wireless mouse Bus 001 Device 006: ID 0489:e112 Foxconn / Hon Hai Bluetooth Radio Bus 001 Device 007: ID 4c4a:4155 Jieli Technology UACDemoV1.0 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

lean raptor
#

oh, maybe that's it

#

Foxconn / Hon Hai Bluetooth

wheat sable
#

when I look it up it looks like a lot of people have issues with it and linux

#

having the exact problem I am.

lean raptor
#

Installing linux-lts might get the bluetooth working as a last resort, I believe it installs a different kernel. It may conflict with how you have installed Arch. I know it's possible to have multiple kernels installed and referenced in the bootloader but I don't have experience with that setup. Maybe someone else could assist with that if you decide to try linux-lts. Again, not a sure bet it would get the bluetooth working.

wheat sable
#

Alright, I am fairly new to linux, would all of my stuff still be here? or would I need to transfer it?

#

If I switched kernels*

wheat sable