Fedora Bluetooth not working

porfanid

New Member
Joined
Dec 25, 2021
Messages
3
Reaction score
3
Credits
24
Before you start repeating tasks that I have already done:
  • restarted bluetooth service
  • tried to use the bluetoothctl command but "No default controller available" was the message that I received
    plus the list command returned nothing
  • modprobe -r btusb and modprobe btusb did not work
  • reverting to the previous kernel also did not work (more info bellow)
Laptop specs:
Dell Vostro 15 3000 series
Fedora 34 with Gnome and KDE installed (now using kde)
Kernel Version: 5.15.10

What was I doing when the bluetooth stopped working:
I updated the entire system using the dnf update command.

Bash:
Transaction ID : 120
Begin time     : Sat 25 Dec 2021 04:44:46 PM EET
Begin rpmdb    : 10254:0849dec2e8768b1ded5ed921eb55356935f0fb83
End time       : Sat 25 Dec 2021 04:44:51 PM EET (5 seconds)
End rpmdb      : 10254:8a73a75ccff072fe8eecc55a8f2e4abc8573ceae
User           : root <root>
Return-Code    : Success
Releasever     :
Command Line   :
Comment        :
Packages Altered:
    Upgrade  alsa-sof-firmware-1.9.3-1.fc34.noarch @updates
    Upgrade  freexl-1.0.6-15.fc34.x86_64           @updates
    Upgrade  libical-3.0.12-1.fc34.x86_64          @updates
    Upgrade  libical-glib-3.0.12-1.fc34.x86_64     @updates
    Upgrade  pangomm-2.46.2-1.fc34.x86_64          @updates
    Upgraded alsa-sof-firmware-1.9.2-1.fc34.noarch @@System
    Upgraded freexl-1.0.6-2.fc34.x86_64            @@System
    Upgraded libical-3.0.11-1.fc34.x86_64          @@System
    Upgraded libical-glib-3.0.11-1.fc34.x86_64     @@System
    Upgraded pangomm-2.46.1-1.fc34.x86_64          @@System

These are the commands I run to try to figure why the bluetooth wasn't working, but couldn't do it, apparently...

Bash:
dmesg | grep -i bluetooth
[    6.122500] Bluetooth: Core ver 2.22
[    6.122528] NET: Registered PF_BLUETOOTH protocol family
[    6.122530] Bluetooth: HCI device and connection manager initialized
[    6.122533] Bluetooth: HCI socket layer initialized
[    6.122535] Bluetooth: L2CAP socket layer initialized
[    6.122540] Bluetooth: SCO socket layer initialized
[    7.642820] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.642823] Bluetooth: BNEP filters: protocol multicast
[    7.642827] Bluetooth: BNEP socket layer initialized
[    8.315659] Bluetooth: hci0: command 0xfc05 tx timeout
[    8.315688] Bluetooth: hci0: Reading Intel version command failed (-110)
[ 8336.086039] Bluetooth: hci0: Reading Intel version command failed (-110)
[ 8336.087591] Bluetooth: hci0: command tx timeout


-------------------------------------------------------------------------------------------------------------------------------

hciconfig


hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0

-------------------------------------------------------------------------------------------------------------------------------

btmgmt power on
Set Powered for hci0 failed with status 0x11 (Invalid Index)


ps -ef | grep bluetoothd
root       15261       1  0 20:20 ?        00:00:00 /usr/libexec/bluetooth/bluetoothd
root       15561   12621  0 20:26 pts/3    00:00:00 grep --color=auto bluetoothd

btattach
No controller attached

If there is anything else you need, please let me know. Thank you
 


BoringZombie

Active Member
Joined
Apr 1, 2021
Messages
365
Reaction score
185
Credits
2,510
Before you start repeating tasks that I have already done:

Laptop specs:


What was I doing when the bluetooth stopped working:


These are the commands I run to try to figure why the bluetooth wasn't working, but couldn't do it, apparently...

Bash:
dmesg | grep -i bluetooth
[    6.122500] Bluetooth: Core ver 2.22
[    6.122528] NET: Registered PF_BLUETOOTH protocol family
[    6.122530] Bluetooth: HCI device and connection manager initialized
[    6.122533] Bluetooth: HCI socket layer initialized
[    6.122535] Bluetooth: L2CAP socket layer initialized
[    6.122540] Bluetooth: SCO socket layer initialized
[    7.642820] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.642823] Bluetooth: BNEP filters: protocol multicast
[    7.642827] Bluetooth: BNEP socket layer initialized
[    8.315659] Bluetooth: hci0: command 0xfc05 tx timeout
[    8.315688] Bluetooth: hci0: Reading Intel version command failed (-110)
[ 8336.086039] Bluetooth: hci0: Reading Intel version command failed (-110)
[ 8336.087591] Bluetooth: hci0: command tx timeout


-------------------------------------------------------------------------------------------------------------------------------

hciconfig


hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0

-------------------------------------------------------------------------------------------------------------------------------

btmgmt power on
Set Powered for hci0 failed with status 0x11 (Invalid Index)


ps -ef | grep bluetoothd
root       15261       1  0 20:20 ?        00:00:00 /usr/libexec/bluetooth/bluetoothd
root       15561   12621  0 20:26 pts/3    00:00:00 grep --color=auto bluetoothd

btattach
No controller attached

If there is anything else you need, please let me know. Thank you
https://fedoraproject.org/wiki/How_to_debug_Bluetooth_problems
 
OP
P

porfanid

New Member
Joined
Dec 25, 2021
Messages
3
Reaction score
3
Credits
24

Ok, so I run the tests and still found nothing. Here are the outputs:

Bash:
hciconfig
hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0

----------------------------------------------------------------------------

lsusb -v | grep Bluetooth | grep DeviceProtocol
  bDeviceProtocol         1 Bluetooth
 
----------------------------------------------------------------------------

lsusb -t | grep Wireless
    |__ Port 8: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
----------------------------------------------------------------------------

hciconfig up
hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0
   
----------------------------------------------------------------------------
My attempt to make hci device up from down

hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
----------------------------------------------------------------------------

bluetoothctl
Agent registered
[bluetooth]# show
No default controller available
[bluetooth]# devices
No default controller available
[bluetooth]# info
Missing device address argument
----------------------------------------------------------------------------

systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-12-25 20:56:34 EET; 9min ago
       Docs: man:bluetoothd(8)
   Main PID: 17504 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9220)
     Memory: 1.8M
        CPU: 81ms
     CGroup: /system.slice/bluetooth.service
             └─17504 /usr/libexec/bluetooth/bluetoothd -d

Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() static hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() pretty hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() chassis: laptop
Dec 25 21:04:34 easy.box bluetoothd[17504]: src/agent.c:agent_ref() 0x561f6d9fbd10: ref=1
Dec 25 21:04:34 easy.box bluetoothd[17504]: src/agent.c:register_agent() agent :1.393
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_disconnect() Agent :1.393 disconnected
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_destroy() agent :1.393
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_unref() 0x561f6d9fbd10: ref=0

--------------------------------------------------------------------------------------------------------

systemctl --global --user is-enabled obex
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)


---------------------------------------------------------------------------------------------------------
Debug output from bluetooth service

head /tmp/bluetoothd.out 
-- Journal begins at Sun 2021-07-18 20:30:10 EEST, ends at Sat 2021-12-25 20:57:04 EET. --
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() chassis: laptop
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() pretty hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() static hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Headset unit"
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/agent.c:register_agent() agent :1.138
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/agent.c:agent_ref() 0x561f6d9fe490: ref=1
--------------------------------------------------------------------------------------------------------------------------
 

BoringZombie

Active Member
Joined
Apr 1, 2021
Messages
365
Reaction score
185
Credits
2,510
Ok, so I run the tests and still found nothing. Here are the outputs:

Bash:
hciconfig
hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0

----------------------------------------------------------------------------

lsusb -v | grep Bluetooth | grep DeviceProtocol
  bDeviceProtocol         1 Bluetooth
 
----------------------------------------------------------------------------

lsusb -t | grep Wireless
    |__ Port 8: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
----------------------------------------------------------------------------

hciconfig up
hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0
  
----------------------------------------------------------------------------
My attempt to make hci device up from down

hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
----------------------------------------------------------------------------

bluetoothctl
Agent registered
[bluetooth]# show
No default controller available
[bluetooth]# devices
No default controller available
[bluetooth]# info
Missing device address argument
----------------------------------------------------------------------------

systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-12-25 20:56:34 EET; 9min ago
       Docs: man:bluetoothd(8)
   Main PID: 17504 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9220)
     Memory: 1.8M
        CPU: 81ms
     CGroup: /system.slice/bluetooth.service
             └─17504 /usr/libexec/bluetooth/bluetoothd -d

Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() static hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() pretty hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() chassis: laptop
Dec 25 21:04:34 easy.box bluetoothd[17504]: src/agent.c:agent_ref() 0x561f6d9fbd10: ref=1
Dec 25 21:04:34 easy.box bluetoothd[17504]: src/agent.c:register_agent() agent :1.393
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_disconnect() Agent :1.393 disconnected
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_destroy() agent :1.393
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_unref() 0x561f6d9fbd10: ref=0

--------------------------------------------------------------------------------------------------------

systemctl --global --user is-enabled obex
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)


---------------------------------------------------------------------------------------------------------
Debug output from bluetooth service

head /tmp/bluetoothd.out
-- Journal begins at Sun 2021-07-18 20:30:10 EEST, ends at Sat 2021-12-25 20:57:04 EET. --
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() chassis: laptop
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() pretty hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() static hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Headset unit"
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/agent.c:register_agent() agent :1.138
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/agent.c:agent_ref() 0x561f6d9fe490: ref=1
--------------------------------------------------------------------------------------------------------------------------
Type this into your terminal: sudo systemctl --user enable bluetooth.service
 
OP
P

porfanid

New Member
Joined
Dec 25, 2021
Messages
3
Reaction score
3
Credits
24
Ok, so I run the tests and still found nothing. Here are the outputs:

Bash:
hciconfig
hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0

----------------------------------------------------------------------------

lsusb -v | grep Bluetooth | grep DeviceProtocol
  bDeviceProtocol         1 Bluetooth
 
----------------------------------------------------------------------------

lsusb -t | grep Wireless
    |__ Port 8: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
----------------------------------------------------------------------------

hciconfig up
hci0:    Type: Primary  Bus: USB
    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:4 acl:0 sco:0 commands:1 errors:0
  
----------------------------------------------------------------------------
My attempt to make hci device up from down

hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
----------------------------------------------------------------------------

bluetoothctl
Agent registered
[bluetooth]# show
No default controller available
[bluetooth]# devices
No default controller available
[bluetooth]# info
Missing device address argument
----------------------------------------------------------------------------

systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-12-25 20:56:34 EET; 9min ago
       Docs: man:bluetoothd(8)
   Main PID: 17504 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9220)
     Memory: 1.8M
        CPU: 81ms
     CGroup: /system.slice/bluetooth.service
             └─17504 /usr/libexec/bluetooth/bluetoothd -d

Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() static hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() pretty hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() chassis: laptop
Dec 25 21:04:34 easy.box bluetoothd[17504]: src/agent.c:agent_ref() 0x561f6d9fbd10: ref=1
Dec 25 21:04:34 easy.box bluetoothd[17504]: src/agent.c:register_agent() agent :1.393
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_disconnect() Agent :1.393 disconnected
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_destroy() agent :1.393
Dec 25 21:05:32 easy.box bluetoothd[17504]: src/agent.c:agent_unref() 0x561f6d9fbd10: ref=0

--------------------------------------------------------------------------------------------------------

systemctl --global --user is-enabled obex
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)


---------------------------------------------------------------------------------------------------------
Debug output from bluetooth service

head /tmp/bluetoothd.out
-- Journal begins at Sun 2021-07-18 20:30:10 EEST, ends at Sat 2021-12-25 20:57:04 EET. --
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() chassis: laptop
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() pretty hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: plugins/hostname.c:property_changed() static hostname:
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Hands-Free Voice gateway"
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:create_ext() Created "Headset unit"
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/profile.c:register_profile() sender :1.168
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/agent.c:register_agent() agent :1.138
Dec 25 20:56:34 easy.box bluetoothd[17504]: src/agent.c:agent_ref() 0x561f6d9fe490: ref=1
--------------------------------------------------------------------------------------------------------------------------

Type this into your terminal: sudo systemctl --user enable bluetooth.service

Now it is working. (I rebooted and started the service). Thanks
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top