Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 47

Thread: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

  1. #21
    Join Date
    Jul 2023
    Beans
    26

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Kernel preparation unnecessary for this kernel. Skipping...

    Building module:
    cleaning build area...
    'make' all KVER=5.19.0-46-generic...(bad exit status: 2)
    ERROR (dkms apport): binary package for btusb: 4.0 not found
    Error! Bad return status for module build on kernel: 5.19.0-46-generic (x86_64)
    Consult /var/lib/dkms/btusb/4.0/build/make.log for more information.

  2. #22
    Join Date
    May 2014
    Location
    /home
    Beans
    10,933
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Try a different way
    Code:
    cd
    cd bluetooth-5.19
    make -C /lib/modules/$(uname -r)/build M=$(pwd) clean
    make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
    sudo cp btusb.ko /lib/modules/5.19.0-46-generic/kernel/drivers/bluetooth/btusb.ko
    sudo cp btrtl.ko /lib/modules/5.19.0-46-generic/kernel/drivers/bluetooth/btrtl.ko
    sudo depmod -a
    Reboot

  3. #23
    Join Date
    Jul 2023
    Beans
    26

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    make: Entering directory '/usr/src/linux-headers-5.19.0-46-generic'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
    You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
    CC [M] /home/jsn33/bluetooth-5.19/btrtl.o
    /home/jsn33/bluetooth-5.19/btrtl.c: In function ‘btrtl_set_quirks’:
    /home/jsn33/bluetooth-5.19/btrtl.c:792:14: error: ‘CHIP_ID_8851B’ undeclared (first use in this function); did you mean ‘CHIP_ID_8852B’?
    792 | case CHIP_ID_8851B:
    | ^~~~~~~~~~~~~
    | CHIP_ID_8852B
    /home/jsn33/bluetooth-5.19/btrtl.c:792:14: note: each undeclared identifier is reported only once for each function it appears in
    make[1]: *** [scripts/Makefile.build:257: /home/jsn33/bluetooth-5.19/btrtl.o] Error 1
    make: *** [Makefile:1857: /home/jsn33/bluetooth-5.19] Error 2
    make: Leaving directory '/usr/src/linux-headers-5.19.0-46-generic'

  4. #24
    Join Date
    May 2014
    Location
    /home
    Beans
    10,933
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Ok,
    Code:
    cd
    cd bluetooth-5.19
    git pull
    make -C /lib/modules/$(uname -r)/build M=$(pwd) clean
    make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
    sudo cp btusb.ko /lib/modules/5.19.0-46-generic/kernel/drivers/bluetooth/btusb.ko
    sudo cp btrtl.ko /lib/modules/5.19.0-46-generic/kernel/drivers/bluetooth/btrtl.ko
    sudo depmod -a
    Hopefully the error is gone

  5. #25
    Join Date
    Jul 2023
    Beans
    26

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Yeah, error is gone, but bluetooth doesn't turn on.

    Code:
    filename:       /lib/modules/5.19.0-46-generic/kernel/drivers/bluetooth/btrtl.ko
    firmware:       rtl_bt/rtl8851bu_config.bin
    firmware:       rtl_bt/rtl8851bu_fw.bin
    firmware:       rtl_bt/rtl8852cu_config.bin
    firmware:       rtl_bt/rtl8852cu_fw.bin
    firmware:       rtl_bt/rtl8852bu_config.bin
    firmware:       rtl_bt/rtl8852bu_fw.bin
    firmware:       rtl_bt/rtl8852au_config.bin
    firmware:       rtl_bt/rtl8852au_fw.bin
    firmware:       rtl_bt/rtl8822b_config.bin
    firmware:       rtl_bt/rtl8822b_fw.bin
    firmware:       rtl_bt/rtl8821a_config.bin
    firmware:       rtl_bt/rtl8821a_fw.bin
    firmware:       rtl_bt/rtl8761a_config.bin
    firmware:       rtl_bt/rtl8761a_fw.bin
    firmware:       rtl_bt/rtl8723ds_config.bin
    firmware:       rtl_bt/rtl8723ds_fw.bin
    firmware:       rtl_bt/rtl8723bs_config.bin
    firmware:       rtl_bt/rtl8723bs_fw.bin
    firmware:       rtl_bt/rtl8723b_config.bin
    firmware:       rtl_bt/rtl8723b_fw.bin
    firmware:       rtl_bt/rtl8723a_fw.bin
    license:        GPL
    version:        0.2
    description:    Bluetooth support for Realtek devices ver 0.2
    author:         Daniel Drake <drake@endlessm.com>
    srcversion:     29AA50B8988F8890D11301C
    depends:        bluetooth
    retpoline:      Y
    name:           btrtl
    vermagic:       5.19.0-46-generic SMP preempt mod_unload modversions 
    btusb/4.0: added
    [    0.112619] Spectre V2 : Enabling Speculation Barrier for firmware calls
    [    0.287919] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
    [    0.298259] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
    [    1.522045] usb 3-2: Product: Bluetooth Radio
    [    2.396020] Bluetooth: Core ver 2.22
    [    2.396063] NET: Registered PF_BLUETOOTH protocol family
    [    2.396065] Bluetooth: HCI device and connection manager initialized
    [    2.396072] Bluetooth: HCI socket layer initialized
    [    2.396075] Bluetooth: L2CAP socket layer initialized
    [    2.396079] Bluetooth: SCO socket layer initialized
    [    2.609247] rtw89_8852be 0000:02:00.0: Direct firmware load for rtw89/rtw8852b_fw-1.bin failed with error -2
    [    2.609860] rtw89_8852be 0000:02:00.0: loaded firmware rtw89/rtw8852b_fw.bin
    [    2.612665] rtw89_8852be 0000:02:00.0: Firmware version 0.27.32.1, cmd version 0, type 1
    [    2.612673] rtw89_8852be 0000:02:00.0: Firmware version 0.27.32.1, cmd version 0, type 3
    [    3.901331] [drm] Loading DMUB firmware via PSP: version=0x0101001F
    [    3.903560] [drm] Found VCN firmware Version ENC: 1.16 DEC: 5 VEP: 0 Revision: 3
    [    3.903568] amdgpu 0000:04:00.0: amdgpu: Will use PSP to load VCN firmware
    [    5.483401] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    5.483405] Bluetooth: BNEP filters: protocol multicast
    [    5.483408] Bluetooth: BNEP socket layer initialized
    Last edited by jeremy31; July 9th, 2023 at 09:42 PM.

  6. #26
    Join Date
    May 2014
    Location
    /home
    Beans
    10,933
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Code:
    sudo dkms uninstall btusb/4.0
    sudo dkms remove btusb/4.0 --all
    sudo rm -r /usr/src/btusb-4.0
    cd
    rm -rf bluetooth-5.19
    git clone https://github.com/jeremyb31/bluetooth-5.19.git
    sudo dkms add ./bluetooth-5.19
    sudo dkms install btusb/4.0
    Post any errors if they exist, if not, reboot

  7. #27
    Join Date
    Jul 2023
    Beans
    26

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Error! The module btusb 4.0 is not currently installed.
    This module is not currently ACTIVE for kernel 5.19.0-46-generic (x86_64).

    Only this one.

  8. #28
    Join Date
    May 2014
    Location
    /home
    Beans
    10,933
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Keep going then

  9. #29
    Join Date
    Jul 2023
    Beans
    26

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    Can't turn on the bluetooth.

  10. #30
    Join Date
    May 2014
    Location
    /home
    Beans
    10,933
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu 22.04 Bluetooth adapter can't find any bluetooth devices.

    What result for
    Code:
    modinfo btrtl; dkms status; sudo dmesg | egrep -i 'blue|firm'

Page 3 of 5 FirstFirst 12345 LastLast

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
  •