Results 1 to 5 of 5

Thread: 18.04 - Bluetooth 5.0 adapter not working

  1. #1
    Join Date
    Jan 2016
    Location
    My TARDIU
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Exclamation 18.04 - Bluetooth 5.0 adapter not working

    Hello, wonderful Ubuntu community! I'm in a bit of a pickle. I just bought two Bluetooth 5 adapters from the internet, and have been trying to get either one of them to work, but with no success. I've tried several things I read that you can do - unload and reload the Bluetooth modules, add modules to kernel, unblocking in rfkill. Nothing.

    Geeky details are as follows:

    Code:
    $ lsusb
    Bus 002 Device 004: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
    Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 1bcf:2c18 Sunplus Innovation Technology Inc. 
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    The output of lsusb shows that it is there.

    Code:
    $ sudo lsmod | grep bluetooth
    bluetooth             516096  12 btrtl,btintel,btbcm,bnep,btusb
    ecdh_generic           24576  1 bluetooth
    All the core Bluetooth modules are available and running, I think.

    Code:
    $ journalctl -xb | grep blue
    -- Subject: Unit bluetooth.service has begun start-up
    -- Unit bluetooth.service has begun starting up.
    -- Subject: Unit bluemon.service has begun start-up
    -- Unit bluemon.service has begun starting up.
    Dec 17 02:53:02 SystemName bluetoothd[1512]: Bluetooth daemon 5.48
    Dec 17 02:53:02 SystemName bluetoothd[1512]: Starting SDP server
    Dec 17 02:53:02 SystemName bluetoothd[1512]: Bluetooth management interface 1.14 initialized
    Dec 17 02:53:02 SystemName dbus-daemon[1513]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=0 pid=1512 comm="/usr/lib/bluetooth/bluetoothd " label="unconfined")
    Dec 17 02:53:03 SystemName bluemon[1523]:  * Starting bluemon...
    Dec 17 02:53:03 SystemName bluemon[1523]: disabled in /etc/default/bluemon
    -- Subject: Unit bluemon.service has finished start-up
    -- Unit bluemon.service has finished starting up.
    -- Subject: Unit bluetooth.service has finished start-up
    -- Unit bluetooth.service has finished starting up.
    -- Subject: Unit bluetooth.target has finished start-up
    -- Unit bluetooth.target has finished starting up.
    Dec 17 02:53:10 SystemName NetworkManager[1595]: <info>  [1608205990.2275] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
    Dec 17 02:53:11 SystemName NetworkManager[1595]: <info>  [1608205991.3138] bluez: use BlueZ version 5
    Dec 17 03:01:09 SystemName systemd[1]: bluetooth.target: Unit not needed anymore. Stopping.
    -- Subject: Unit bluetooth.target has finished shutting down
    -- Unit bluetooth.target has finished shutting down.
    Dec 17 15:22:28 SystemName /usr/lib/gdm3/gdm-x-session[24763]: (II) modeset(0): blueX: 0.150 blueY: 0.096   whiteX: 0.313 whiteY: 0.329
    Dec 17 15:23:39 SystemName org.blueman.Mechanism[1513]: Unable to init server: Could not connect: Connection refused
    Dec 17 15:23:29 SystemName dbus-daemon[24828]: [session uid=1000 pid=24828] Activating via systemd: service name='org.bluez.obex' unit='dbus-org.bluez.obex.service' requested by ':1.60' (uid=1000 pid=25907 comm="/usr/bin/python3 /usr/bin/blueman-applet " label="unconfined")
    Dec 17 15:23:31 SystemName dbus-daemon[24828]: [session uid=1000 pid=24828] Successfully activated service 'org.bluez.obex'
    Dec 17 15:23:32 SystemName dbus-daemon[1513]: [system] Activating service name='org.blueman.Mechanism' requested by ':1.630' (uid=1000 pid=25907 comm="/usr/bin/python3 /usr/bin/blueman-applet " label="unconfined") (using servicehelper)
    Dec 17 15:23:32 SystemName blueman-mechanism[26321]: Starting blueman-mechanism
    Dec 17 15:23:32 SystemName dbus-daemon[1513]: [system] Successfully activated service 'org.blueman.Mechanism'
    Dec 17 15:23:33 SystemName blueman-mechanism[26321]: loading Network
    Dec 17 15:23:33 SystemName blueman-mechanism[26321]: loading RfKill
    Dec 17 15:23:33 SystemName blueman-mechanism[26321]: loading Ppp
    Dec 17 15:23:33 SystemName blueman-mechanism[26321]: loading Rfcomm
    Dec 17 15:23:33 SystemName blueman-mechani[26321]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
    Dec 17 15:24:02 SystemName blueman-mechanism[26321]: Exiting
    Dec 17 15:40:06 SystemName dbus-daemon[1513]: [system] Activating service name='org.blueman.Mechanism' requested by ':1.630' (uid=1000 pid=25907 comm="/usr/bin/python3 /usr/bin/blueman-applet " label="unconfined") (using servicehelper)
    Dec 17 15:40:08 SystemName org.blueman.Mechanism[1513]: Unable to init server: Could not connect: Connection refused
    Dec 17 15:40:08 SystemName org.blueman.Mechanism[1513]: Unable to init server: Could not connect: Connection refused
    Dec 17 15:40:08 SystemName blueman-mechanism[6939]: Starting blueman-mechanism
    Dec 17 15:40:08 SystemName dbus-daemon[1513]: [system] Successfully activated service 'org.blueman.Mechanism'
    Dec 17 15:40:08 SystemName blueman-mechani[6939]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
    Dec 17 15:40:08 SystemName blueman-mechanism[6939]: loading Network
    Dec 17 15:40:08 SystemName blueman-mechanism[6939]: loading RfKill
    Dec 17 15:40:08 SystemName blueman-mechanism[6939]: loading Ppp
    Dec 17 15:40:08 SystemName blueman-mechanism[6939]: loading Rfcomm
    -- Subject: Unit bluetooth.target has finished start-up
    -- Unit bluetooth.target has finished starting up.
    Dec 17 15:40:38 SystemName blueman-mechanism[6939]: Exiting
    Dec 17 15:49:14 SystemName /usr/lib/gdm3/gdm-x-session[24763]: blueman-manager version 2.0.5 starting
    Dec 17 15:49:38 SystemName sudo[14110]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/etc/init.d/bluetooth start
    Dec 17 16:12:19 SystemName sudo[31197]:     user : TTY=pts/0 ; PWD=/home/user ; USER=root ; COMMAND=/bin/systemctl start bluetooth
    Dec 17 16:12:24 SystemName /usr/lib/gdm3/gdm-x-session[24763]: /usr/bin/blueman-adapters:10: PyGIWarning: Pango was imported without specifying a version first. Use gi.require_version('Pango', '1.0') before import to ensure that the right version gets loaded.
    Dec 17 16:12:25 SystemName /usr/lib/gdm3/gdm-x-session[24763]: blueman-adapters version 2.0.5 starting
    Dec 17 16:12:25 SystemName /usr/lib/gdm3/gdm-x-session[24763]: org.bluez owner changed to :1.2
    (Custom names have been replaced with "SystemName" and "user"; otherwise this is the exact output.) Some errors in there, perhaps it exposes the culprit?

    Code:
    $ hciconfig -a info 
    hci0:	Type: Primary  Bus: USB
    	BD Address: 00:1A:7D:DA:71:11  ACL MTU: 679:9  SCO MTU: 48:16
    	DOWN 
    	RX bytes:574 acl:0 sco:0 events:30 errors:0
    	TX bytes:368 acl:0 sco:0 commands:30 errors:0
    	Features: 0xff 0xff 0x87 0xfa 0xdb 0xbf 0x7b 0x83
    	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    	Link policy: RSWITCH HOLD SNIFF PARK 
    	Link mode: SLAVE ACCEPT
    From what I assume, "DOWN" means that the adapter is not working.

    Code:
    $ sudo dmesg | grep Blue
    [   50.216528] Bluetooth: Core ver 2.22
    [   50.216553] Bluetooth: HCI device and connection manager initialized
    [   50.216558] Bluetooth: HCI socket layer initialized
    [   50.216560] Bluetooth: L2CAP socket layer initialized
    [   50.216565] Bluetooth: SCO socket layer initialized
    [   67.334414] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   67.334416] Bluetooth: BNEP filters: protocol multicast
    [   67.334421] Bluetooth: BNEP socket layer initialized
    Looks like everything Bluetooth is loaded.

    Code:
    $ rfkill list
    0: acer-wireless: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    1: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    3: hci0: Bluetooth
    	Soft blocked: no
    	Hard blocked: no
    Bluetooth and other wireless interfaces are not blocked by rfkill.

    Code:
    $ sudo service bluetooth status
    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
       Active: active (running) since Thu 2020-12-17 02:53:03; 13h ago
         Docs: man:bluetoothd(8)
     Main PID: 1512 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4371)
       CGroup: /system.slice/bluetooth.service
               └─1512 /usr/lib/bluetooth/bluetoothd
    
    Dec 17 02:53:02 SystemName systemd[1]: Starting Bluetooth service...
    Dec 17 02:53:02 SystemName bluetoothd[1512]: Bluetooth daemon 5.48
    Dec 17 02:53:02 SystemName bluetoothd[1512]: Starting SDP server
    Dec 17 02:53:02 SystemName bluetoothd[1512]: Bluetooth management interface 1.14 initialized
    Dec 17 02:53:03 SystemName systemd[1]: Started Bluetooth service.
    The service is up and running, but the adapters still do not work.

    If anyone trying to help needs more technical details, I will be happy to oblige, so long as it doesn't contain personal info.
    Last edited by UbuntuWho; December 30th, 2020 at 09:10 AM. Reason: Added more details.
    If Doctor 14 is still a woman, remind me to not watch the latest season.
    "You're a classic example of the inverse relationship between the size of the mouth and the size of the brain." - The Doctor

    TARDIU - Time And Relative Dimension In Ubuntu

  2. #2
    Join Date
    Jan 2016
    Location
    My TARDIU
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04, on Gateway NE56R - Bluetooth 5.0 adapter not working

    No responses, yet? Oh, well; I'm gonna sit back and eat a box of chocolates while I wait...
    If Doctor 14 is still a woman, remind me to not watch the latest season.
    "You're a classic example of the inverse relationship between the size of the mouth and the size of the brain." - The Doctor

    TARDIU - Time And Relative Dimension In Ubuntu

  3. #3
    Join Date
    Jan 2016
    Location
    My TARDIU
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04, on Gateway NE56R - Bluetooth 5.0 adapter not working

    Hmm, I've finished my box of chocolates for Christmas, and still no reply... perhaps some more info is required?

    Here are some pictures of what I'm running across:

    Bluetooth Adapters displays nothing:


    Bluetooth Manager also displays nothing:


    Bluetooth Assistant displays no adapters:


    Any help at all would be very much appreciated. I don't know what I'm missing.
    If Doctor 14 is still a woman, remind me to not watch the latest season.
    "You're a classic example of the inverse relationship between the size of the mouth and the size of the brain." - The Doctor

    TARDIU - Time And Relative Dimension In Ubuntu

  4. #4
    Join Date
    Jan 2016
    Location
    My TARDIU
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04, on Gateway NE56R - Bluetooth 5.0 adapter not working

    Something else I just thought of... If I restart my computer with the Bluetooth dongle plugged in, the Bluetooth indicator appears on my taskbar, but it says that no adapters are plugged in, still. However, unplugging the dongle causes it to disappear, and replugging it in has no effect unless I restart again. Obviously, something detects it as a Bluetooth dongle, but why it doesn't work is beyond me.
    If Doctor 14 is still a woman, remind me to not watch the latest season.
    "You're a classic example of the inverse relationship between the size of the mouth and the size of the brain." - The Doctor

    TARDIU - Time And Relative Dimension In Ubuntu

  5. #5
    Join Date
    Jan 2016
    Location
    My TARDIU
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04 - Bluetooth 5.0 adapter not working

    Slow thread... (snores loudly)
    If Doctor 14 is still a woman, remind me to not watch the latest season.
    "You're a classic example of the inverse relationship between the size of the mouth and the size of the brain." - The Doctor

    TARDIU - Time And Relative Dimension In Ubuntu

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •