Bluetooth not working, not scanning any devices (Rpi4)

July 30, 2024, 16:46

captan220708

I have bought a raspberry pi 4 from a store, its been 1.5 years by now i usually dont use rpi much but when i need it like for some projects and research related things... toady i wanted to use my Bluetooth of my rpi for many reasons like sharing some python files from my PC to rpi and basically connecting my headphones... i tried many times like changing the OSs and connecting external USB blutooth BUT IT JUST DONT SHOW ANYTHING! whenever i click on Add devices then a windows popups showing that it is scanning the nearby devices... like literally i have many Bluetooth devices near me and it is all showing in my phone and the PC but the that "Scanning Devices" window is blanck! Please help!

oops.se

Please post text as text as the pictures text is microscopic

captan220708

pi@raspberrypi:~ $ rfkill list all 
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: hci1: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

captan220708

pi@raspberrypi:~ $ hciconfig -a
hci1:    Type: Primary  Bus: USB
    BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
    DOWN 
    RX bytes:14 acl:0 sco:0 events:1 errors:0
    TX bytes:3 acl:0 sco:0 commands:2 errors:1
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    Packet type: DM1 DH1 HV1 
    Link policy: 
    Link mode: PERIPHERAL ACCEPT 

hci0:    Type: Primary  Bus: UART
    BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
    DOWN 
    RX bytes:0 acl:0 sco:0 events:0 errors:0
    TX bytes:14 acl:0 sco:0 commands:2 errors:0
    Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    Packet type: DM1 DH1 HV1 
    Link policy: 
    Link mode: PERIPHERAL ACCEPT 

captan220708

pi@raspberrypi:~ $ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-07-30 21:34:03 IST; 57min ago
       Docs: man:bluetoothd(8)
   Main PID: 742 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 3910)
        CPU: 219ms
     CGroup: /system.slice/bluetooth.service
             └─742 /usr/libexec/bluetooth/bluetoothd

Jul 30 21:34:03 raspberrypi bluetoothd[742]: Bluetooth daemon 5.66
Jul 30 21:34:03 raspberrypi systemd[1]: Started bluetooth.service - Bluetooth service.
Jul 30 21:34:03 raspberrypi bluetoothd[742]: Starting SDP server
Jul 30 21:34:03 raspberrypi bluetoothd[742]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
Jul 30 21:34:03 raspberrypi bluetoothd[742]: src/plugin.c:plugin_init() Failed to init vcp plugin
Jul 30 21:34:03 raspberrypi bluetoothd[742]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
Jul 30 21:34:03 raspberrypi bluetoothd[742]: src/plugin.c:plugin_init() Failed to init mcp plugin
Jul 30 21:34:03 raspberrypi bluetoothd[742]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
Jul 30 21:34:03 raspberrypi bluetoothd[742]: src/plugin.c:plugin_init() Failed to init bap plugin
Jul 30 21:34:03 raspberrypi bluetoothd[742]: Bluetooth management interface 1.22 initialized

captan220708

pi@raspberrypi:~ $ sudo bluetoothctl
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# version
Version 5.66
[bluetooth]# scan on
No default controller available

captan220708

can u please fix it?

thunder07337

pairable on
Missing, otherwise it can't connect...

captan220708

i dont unerstand what u r telling

captan220708

if you are saying to make your device discovearable... then i have already turned it on, u can see in the top right corrner that the bluetooth icon is green

thunder07337

Are you using the onboard Bluetooth or an external adapter?

captan220708

i have tried doing everything with the onbord adapter... it just dont show anything so i decided to plug the extarnal one

captan220708

so here i have both, the onboard one (hci0) and external one (hci1)

captan220708

but i dont know what the hell is worg with this BD address... it just shows:
BD Address: 00:00:00:00:00:00

captan220708

in the both case

captan220708

hey <@796000224690307072> did you find any fix?

oops.se

Don't ping!

captan220708

okok sorry

captan220708

i am new

captan220708

i didn't knew that

thunder07337

Then try it only with the onboard and via the console.
 bluetoothctl
agent on
pairable on
scan on
And make sure that the Bluetooth on the device to be connected is switched on and visible.

captan220708

pi@raspberrypi:~ $ bluetoothctl
Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# pairable on
No default controller available
[bluetooth]# scan on
No default controller available

captan220708

i have checked like million times if the mac addres itself is 0000000000 how would i even make the adapter to see my device?

thunder07337

Which OS do you have installed?

captan220708

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian

captan220708

its Raspberry Pi OS (PIXEL version)

captan220708

brother, i have attached the screenshot of the command and also have given the command texts... on doing show command in the blutoothctl does not work for me...

thunder07337

No idea what you want with
show
... Check if the service is running
sudo systemctl status bluetooth 
Switch on scan
bluetoothctl scan on 
To make your Bluetooth adapter discoverable for other devices, use the following command
bluetoothctl discoverable on 
Pair device
bluetoothctl pair FC:69:47:7C:9D:A3 
Note: Remember to replace the MAC addressFC:69:47:7C:9D:A3used in these instructions with the respective MAC address of your device. You can display the devices that are currently paired with your system by executing the following command
bluetoothctl paired-devices 
You can also use the following command to list devices that are within Bluetooth range of your computer
bluetoothctl devices