Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

  1. #11
    Join Date
    Aug 2020
    Beans
    9

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    I just see there was an error during the install:

    stat für '/lib/modules/5.4.0-42-generic/kernel/drivers/bluetooth/btusb.ko

    the file or directory was not found

    and

    rmmod: ERROR: Module rtk_btusb is not currently loaded

  2. #12
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,397
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    Quote Originally Posted by bl75 View Post
    I just see there was an error during the install:

    stat für '/lib/modules/5.4.0-42-generic/kernel/drivers/bluetooth/btusb.ko

    the file or directory was not found

    and

    rmmod: ERROR: Module rtk_btusb is not currently loaded
    Not really. It was simply trying to remove conflicting modules, also known as drivers. None were loaded so none were unloaded.

    What does this tell us?

    Code:
    lsusb
    sudo modprobe rtk_btusb && dmesg | grep rtk
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  3. #13
    Join Date
    Aug 2020
    Beans
    9

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    OK thanks. Now:

    Code:
    bl@eO-116-PC1-Ubuntu:~$ lsusb
    Bus 002 Device 002: ID 1058:2622 Western Digital Technologies, Inc. Elements SE 2622
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
    Bus 001 Device 002: ID 03f0:1a4a HP, Inc HP Wireless Slim Keyboard - Skylab EU
    Bus 001 Device 004: ID 1224:2a25 Jieli Technology USB PHY 2.0
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    bl@eO-116-PC1-Ubuntu:~$ sudo modprobe rtk_btusb && dmesg | grep rtk
    [sudo] Passwort für bl: 
    modprobe: ERROR: could not insert 'rtk_btusb': Operation not permitted

  4. #14
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,397
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    modprobe: ERROR: could not insert 'rtk_btusb': Operation not permitted
    Strange. It modprobes for me.

    Is it already loaded?
    Code:
    lsmod | grep bt
    I am quickly running low on useful ideas.

    Is secure boot enabled or disabled in the BIOS/EFI? Try disabled.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  5. #15
    Join Date
    Aug 2020
    Beans
    9

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    Secure boot was the problem.

    Without disabling secure boot, lsmod | grep bt would just yield nothing. But now things work:

    Code:
    bl@eO-116-PC1-Ubuntu:~$ lsmod | grep bt
    rtk_btusb              61440  0
    bluetooth             581632  54 bnep,rtk_btusb,rfcomm
    bl@eO-116-PC1-Ubuntu:~$
    For those who might face a similar problem, here's how you disable secure boot:

    $ sudo apt install mokutil

    $ sudo mokutil –disable-validation

    You may not need the first command as it might already be installed on your system if secure boot is enabled. Reviewing the features of secure boot, which I installed without much inquiry when offered during install of Ubuntu 20, I do not think it is helpful. Ubuntu is imitating a Windows feature which I consider rather problematic and useless as Linux systems are far less affected by Viruses and other typical Windows issues. The main drawback of Linux is limited hardware compatibility, so why make things more complicated.

    When rebooting after this command, I was prompted in a blue screen to enter selected characters of the password that I set during Ubuntu install, and could then disable secure boot. From now on, the Bluetooth adapter is found and works properly.

    Many thanks for the support!





  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,397
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    Ubuntu is imitating a Windows feature which I consider rather problematic and useless
    It isn't really Ubuntu's issue. I believe that Secure Boot is a feature (or a defect) in the BIOS/EFI of all modern computers. When you download Ubuntu and install it, it is already signed so that it installs without issue. It is only when you compile and install kernel modules from other sources that Secure Boot steps in to save you from yourself!

    I think it is a bit helpful to prevent some malware and spyware from being installed by users who are unaware of the methods to avoid malware, etc.

    Code:
    depmod -a 5.4.0-42-generic
    Please note that the driver is installed for your currently running kernel version only. Eventually, Update Manager will offer to install a newer kernel version, 5.4.0-43, for example. You will know this first, because you will be asked to reboot and, second, because, after the reboot, your bluetooth will no longer work! In that case, simple remove the device and do:

    Code:
    cd ~/20200610_LINUX_BT_DRIVER
    sudo make install INTERFACE=usb
    Reinsert the device and you should be all set.

    Thank you for posting the exact steps. I'm sure that the searchers will appreciate it.

    I'm glad it's working. Have fun!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  7. #17
    Join Date
    Sep 2011
    Beans
    2

    Re: Bluetooth USB Adapter not working Ubuntu 20.04 LTS

    I managed to make it work in a different way, although probably it won't work with secure boot.
    I added 5.8.0 kernel with this guide:
    https://www.how2shout.com/linux/inst...ntu-20-04-lts/
    Then downloaded the package from MPOW:
    https://mpow.s3-us-west-1.amazonaws....+for+Linux.tgz
    Unpacked, copied and renamed the rtl8761b_fw and rtl8761b_config files inside /lib/firmware/rtl_bt, adding the ".bin" extension. Notice that these are the "b" version, supported in kernel 5.8.0 and used in BT 501. See the patch here:
    https://patchwork.kernel.org/patch/11483367/

    And after a reboot it works! Hopefully Realtek publishes officially the firmware with the 5.8.0, although currently they did not answer the call from kernel developers. Hope for the best, but anyway this method works.

Page 2 of 2 FirstFirst 12

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
  •