Wednesday, July 25, 2018

Mantistek WA150 (WIFI+Bluetooth) RTL8723BU

I buy Mantistek WA150 to use on Raspberry PI. It has both WIFI and Bluetooth.

The raspbian kernel version 4.14.52+ #1123. It hasn't driver to use it.

I use command.


I found. Raspbian can detect bluetooth device but it isn't have firmware. (rtl8723b_fw.bin)

[   14.665558] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   14.665824] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -2
[   14.665842] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_fw.bin

I use command for check usb device id.

I found.
Bus 001 Device 004: ID 0bda:b720 Realtek Semiconductor Corp.

The USB Device ID is 0bda:b720.

I search device id for identify device. I found RTL8723BU (not RTL8723AU).

I found driver and firmware.

 WIFI Driver (Source code)

Bluetooth Firmware

Install Step
First step. Install linux kernel header package and other package for raspbian.
$ sudo apt-get install raspberrypi-kernel-headers git build-essential

Create directory for build source and download source code

$ mkdir drivers
$ cd drivers

Install RTL8723BU WIFI Driver
$ git clone
$ cd rtl8723bu

Disable Concurrent Mode

Build and Install
$ make
$ sudo make install

Disable power save
$ echo "options 8723bu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8723bu.conf

Install RTL8723B Bluetooth Driver

$ git clone
$ cd rtl8723au_bt/Linux_BT_USB_2.11.20140423_8723BE/8723B
sudo cp rtl8723b_config /lib/firmware/rtl_bt/rtl8723b_config.bin
sudo cp rtl8723b_fw /lib/firmware/rtl_bt/rtl8723b_fw.bin

And restart raspberry pi

Test bluetooth scan with command.

$ hcitool scan
Scanning ...
          XX:XX:XX:XX:XX:XX       xxxxxx
          XX:XX:XX:XX:XX:XX       xxxxxx

It work.

And check WIFI interface with command.

$ ifconfig

It work. I found wlan0 interface.

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 17  bytes 0 (0.0 B)
        RX errors 0  dropped 80  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And try to config wpa_supplicant-wlan0.conf for wlan0 interface

$ echo -e "ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev\nupdate_config=1\ncountry=TH\n\n" | sudo tee /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
 Add SSID and Password of Accesspoint to wpa_supplicant config file
wpa_passphrase test 12345678 | sudo tee -a /etc/wpa_supplicant/wpa_supplicant-wlan0.conf

And restart raspbian. Finish step.

Have a good day everyone. 😎

WIFI Driver (Source code)
Bluetooth Firmware
Realtek RTL8723BU

No comments:

Post a Comment