1

TL;DR: I would like if Bluetooth turned on on boot.

I have a Bluetooth 5.1 usb adapter. It works in Windows 11.

In Ubuntu 23.04 (also 22.10), it doesn't turn on at start. I have to manually re-insert the dongle.

It seems like on boot, system recognizes it as an Ethernet dongle?

Not working:

// sudo dmesg |grep -i bluetooth
[    5.002579] Bluetooth: Core ver 2.22
[    5.002607] NET: Registered PF_BLUETOOTH protocol family
[    5.002609] Bluetooth: HCI device and connection manager initialized
[    5.002612] Bluetooth: HCI socket layer initialized
[    5.002614] Bluetooth: L2CAP socket layer initialized
[    5.002618] Bluetooth: SCO socket layer initialized

[    5.284635] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=9 rev=0001
[    5.284639] Bluetooth: hci0: LMP ver=9 subver=0001; manufacturer=2279
[    5.284640] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[    5.284643] Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
[    5.284646] Bluetooth: hci0: HCI Delete Stored Link Key command is advertised, but not supported.
[    5.284648] Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
[    5.284649] Bluetooth: hci0: HCI Set Event Filter command not supported.
[    6.232147] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.232152] Bluetooth: BNEP filters: protocol multicast
[    6.232156] Bluetooth: BNEP socket layer initialized
[    7.854660] Bluetooth: hci0: Opcode 0x1005 failed: -110

Working:

// sudo dmesg |grep -i bluetooth
[  337.650631] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=9 rev=0001
[  337.650640] Bluetooth: hci0: LMP ver=9 subver=0001; manufacturer=2279
[  337.650644] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[  337.650650] Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
[  337.650658] Bluetooth: hci0: HCI Delete Stored Link Key command is advertised, but not supported.
[  337.650661] Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
[  337.650664] Bluetooth: hci0: HCI Set Event Filter command not supported.
[  338.355139] Bluetooth: MGMT ver 1.22
[  338.453746] Bluetooth: RFCOMM TTY layer initialized
[  338.453761] Bluetooth: RFCOMM socket layer initialized
[  338.453770] Bluetooth: RFCOMM ver 1.11

MORE LOGS:

Before reconnecting:

// rfkill list
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
    
// hciconfig -a
hci0:   Type: Primary  Bus: USB
    BD Address: 04:7F:0E:37:0F:FB  ACL MTU: 0:0  SCO MTU: 0:0
    DOWN 
    RX bytes:179 acl:0 sco:0 events:10 errors:0
    TX bytes:276 acl:0 sco:0 commands:11 errors:0
    Features: 0xbf 0xee 0xcd 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV3 
    Link policy: 
    Link mode: PERIPHERAL ACCEPT 

// sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: en>
     Active: active (running)
       Docs: man:bluetoothd(8)
   Main PID: 838 (bluetoothd)
     Status: "Running"
     CGroup: /system.slice/bluetooth.service
             └─838 /usr/lib/bluetooth/bluetoothd

After reconnecting:

// rfkill list
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

// hciconfig -a
hci0:   Type: Primary  Bus: USB
    BD Address: 04:7F:0E:37:0F:FB  ACL MTU: 1021:9  SCO MTU: 255:4
    UP RUNNING 
    RX bytes:4299 acl:148 sco:0 events:157 errors:0
    TX bytes:4283 acl:81 sco:0 commands:71 errors:0
    Features: 0xbf 0xee 0xcd 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV3 
    Link policy: RSWITCH SNIFF 
    Link mode: PERIPHERAL ACCEPT 
    Name: 'xxxxxPC'
    Class: 0x6c0104
    Service Classes: Rendering, Capturing, Audio, Telephony
    Device Class: Computer, Desktop workstation
    HCI Version: 5.1 (0xa)  Revision: 0x89
    LMP Version: 5.1 (0xa)  Subversion: 0x89
    Manufacturer: Barrot Technology Limited (2279)

// sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running)
       Docs: man:bluetoothd(8)
   Main PID: 838 (bluetoothd)
     Status: "Running"
     CGroup: /system.slice/bluetooth.service
             └─838 /usr/lib/bluetooth/bluetoothd

0 Answers0