Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: rtl8822be bluetooth issue

  1. #1
    Join Date
    Nov 2009
    Location
    Nutley, NJ
    Beans
    665
    Distro
    Ubuntu 18.04 Bionic Beaver

    rtl8822be bluetooth issue

    I own an ASUS ROG STRIX GL702ZC and I installed Ubuntu 18.04.0 64 bit LTS. I can't get jeremyb31's code to build and install his patched Bluetooth fix properly and Bluetooth 4.2 does not work. Can someone help me?

    Code:
    wellywu@GL702ZC:/usr/src$ sudo git clone https://github.com/jeremyb31/bluetooth-4.4.gitCloning into 'bluetooth-4.4'...
    remote: Counting objects: 59, done.
    remote: Total 59 (delta 0), reused 0 (delta 0), pack-reused 59
    Unpacking objects: 100% (59/59), done.
    wellywu@GL702ZC:/usr/src$ ls
    bluetooth-4.4  linux-headers-4.15.0-22
    libdvd-pkg     linux-headers-4.15.0-22-generic
    wellywu@GL702ZC:/usr/src$ sudo dkms add ./bluetooth-4.4
    Error! DKMS tree already contains: bluetooth-4.4-0.1
    You cannot add the same module/version combo more than once.
    wellywu@GL702ZC:/usr/src$ ls
    bluetooth-4.4      libdvd-pkg               linux-headers-4.15.0-22-generic
    bluetooth-4.4-0.1  linux-headers-4.15.0-22
    wellywu@GL702ZC:/usr/src$ sudo dkms install bluetooth-4.4/0.1
    
    
    Kernel preparation unnecessary for this kernel.  Skipping...
    
    
    Building module:
    cleaning build area...(bad exit status: 2)
    make -j16 KERNELRELEASE=4.15.0-22-generic -C /lib/modules/4.15.0-22-generic/build M=/var/lib/dkms/bluetooth-4.4/0.1/build...(bad exit status: 2)
    ERROR (dkms apport): binary package for bluetooth-4.4: 0.1 not found
    Error! Bad return status for module build on kernel: 4.15.0-22-generic (x86_64)
    Consult /var/lib/dkms/bluetooth-4.4/0.1/build/make.log for more information.
    wellywu@GL702ZC:/usr/src$ sudo gedit /var/lib/dkms/bluetooth-4.4/0.1/build/make.log
    
    
    ** (gedit:3003): WARNING **: 11:44:07.061: Set document metadata failed: Setting attribute metadata::gedit-position not supported
    wellywu@GL702ZC:/usr/src$
    I attached my make.log output in this thread. Please take a look at it JeremyB.

    I also looked at the rtl_bt tree and I downloaded the RTL8822B.bin file, but do I need to copy it somewhere to get Bluetooth to work?

    Code:
    wellywu@GL702ZC:~$ dmesg | egrep -i 'blue|firm'[    0.084981] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
    [    0.108749] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
    [    1.084339] [drm] Found UVD firmware Version: 1.130 Family ID: 16
    [    1.084963] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
    [    2.312763] usb 1-10: Product: Bluetooth Radio 
    [   35.207564] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [   35.255958] r8822be: Using firmware rtlwifi/rtl8822befw.bin
    [   36.178183] Bluetooth: Core ver 2.22
    [   36.178209] Bluetooth: HCI device and connection manager initialized
    [   36.178212] Bluetooth: HCI socket layer initialized
    [   36.178214] Bluetooth: L2CAP socket layer initialized
    [   36.178220] Bluetooth: SCO socket layer initialized
    [   36.378085] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   36.378086] Bluetooth: BNEP filters: protocol multicast
    [   36.378089] Bluetooth: BNEP socket layer initialized
    wellywu@GL702ZC:~$
    Attached Files Attached Files
    Last edited by howefield; June 11th, 2018 at 10:50 PM. Reason: posts merged.

  2. #2
    Join Date
    May 2014
    Location
    /home
    Beans
    11,247
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: rtl8822be bluetooth issue

    Maybe you don't have a bluetooth chip on the wifi card? The patch I used in the 4.4 kernel source is included in 4.15

  3. #3
    Join Date
    Nov 2009
    Location
    Nutley, NJ
    Beans
    665
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: rtl8822be bluetooth issue

    Yes, I am using Linux kernel 4.15.0-22 generic AMD64. How do I check to determine if I do have a Bluetooth chip on the 802.11 Wi-Fi NIC? On the product description page, it says that Bluetooth 4.2 should be included with this product. Bluetooth was working when Microsoft Windows 10 Home and Pro 64 bit was installed on my GL702ZC.

  4. #4
    Join Date
    May 2014
    Location
    /home
    Beans
    11,247
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: rtl8822be bluetooth issue

    Something should show up in
    Code:
    lsusb; rfkill list

  5. #5
    Join Date
    Nov 2009
    Location
    Nutley, NJ
    Beans
    665
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: rtl8822be bluetooth issue

    Code:
    wellywu@GL702ZC:~$ sudo lsusb[sudo] password for wellywu: 
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 002: ID 0b05:1845 ASUSTek Computer, Inc. 
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 0b05:1837 ASUSTek Computer, Inc. 
    Bus 001 Device 002: ID 0bda:57fa Realtek Semiconductor Corp. 
    Bus 001 Device 004: ID 13d3:3526 IMC Networks 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    wellywu@GL702ZC:~$ sudo rfkill list
    0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no
    1: hci0: Bluetooth
    	Soft blocked: no
    	Hard blocked: no
    wellywu@GL702ZC:~$
    I remember copying the firmware files for the RTL8822BE to the Bluetooth folder; my question is that should I remove these firmware files when trying to compile using Jeremy's code to get Bluetooth to enable itself or does it not matter?

    What is going on here? It looks like Bluetooth does indeed exist on my GL702ZC, but it's not enabled.

  6. #6
    Join Date
    May 2014
    Location
    /home
    Beans
    11,247
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: rtl8822be bluetooth issue

    I will have to edit some code on another of my github projects for that USB ID as I can't do it on this phone

  7. #7
    Join Date
    Nov 2009
    Location
    Nutley, NJ
    Beans
    665
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: rtl8822be bluetooth issue

    Thank you Jeremy for taking a look at the USB ID. Do provide step by step instructions on how to enable Bluetooth for my GL702ZC and I will let you know about the output if it is a success or failure and the error messages. Thank you for taking a look into this and working with me.

    Jeremy:

    Just to let you know, I removed the rtl8822b_config.bin and rtl8822b_fw.bin from /lib/firmware/rtl_bt folder on my GL702ZC gaming notebook PC because those Realtek Bluetooth firmware files don't work. I did not want them to interfere with your updated Github code when you are ready. This should be okay, right?
    Last edited by howefield; June 11th, 2018 at 10:50 PM. Reason: posts merged.

  8. #8
    Join Date
    May 2014
    Location
    /home
    Beans
    11,247
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: rtl8822be bluetooth issue

    You will need those files as the bluetooth will need the firmware, so add them back before doing the following
    Code:
    sudo apt install git build-essential dkms
    git clone https://github.com/jeremyb31/newbtfix-4.15.git
    sudo dkms add ./newbtfix-4.15
    sudo dkms install btusb/4.0
    Reboot, disable Secure Boot if enabled
    You can see what I changed at https://github.com/jeremyb31/newbtfi...6b321ee0f81135 all that does is tell the bluetooth system to use btrtl module for firmware loading as now all the system knows is that it is a bluetooth device without any idea of whether it needs firmware or what device it is

  9. #9
    Join Date
    Nov 2009
    Location
    Nutley, NJ
    Beans
    665
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: rtl8822be bluetooth issue

    I will follow your instructions and keep my fingers crossed. Booting up my GL702ZC now. I will report back. Thanks thus far.

    Bluetooth 4.2 is enabled. It's working. Thank you Jeremy. I backed up those RTL8822BE Bluetooth firmware files just in case and I am going to subscribe to this Ubuntu Forums thread for future reference. Again, thank you so very much.
    Last edited by howefield; June 11th, 2018 at 10:51 PM. Reason: posts merged.

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

    Re: rtl8822be bluetooth issue

    You shouldn't have to worry about the bluetooth as long as you stick with the 4.15 kernel as the dkms should install the fix with any new 4.15 kernel install

Page 1 of 4 123 ... LastLast

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
  •