• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    C
  • Created over 11 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bluetooth driver for RTL8723AE and RTL8723AU
Note:

This repository has multiple branches with different implementations for
Realtek bluetooth usb drivers. Depending on your kernel version and your
hardware model different branches may or may not work. If you are unsure
which branch to use you and you are on a modern kernel you should probably
start with the 'kernel' branch. If that doesn't work you are encouraged
to try the other branches and to check the github issues.

===========================================================================================================

In this document, we introduce how to support rtk 8723AE/AU BT driver in Linux system.
Support kernel version 2.6.32~3.13.0

===========================================================================================================

1. Install

(1)	Change to the directory containing the source files.

	make
	sudo make install

(2)	Insert RTK8723AE/AU dongle

	Now RTK8723AE/AU can be recognized by the system and bluetooth function can be used.

===========================================================================================================

2. Uninstall

(1)	unplug RTK8723AE/AU dongle 

(2)	Uninstall	

	sudo make uninstall
 
===========================================================================================================

3. Install BlueZ

The default BlueZ in Ubuntu maybe out of date
New versions can be downloaded from http://www.bluez.org/   
If you do not want to install blueZ,skip this step

Here we take Ubuntu 11.10 (linux 3.0.0-12-generic) for example. 
Make sure system is connected to the internet.

(1)	Setting up a Linux build environment 

	Install dbus
	$sudo apt-get install libdbus-1-dev
	Install glib
	$sudo apt-get install libglib2.0-dev

(2)	Decompress and install BlueZ follow Readme file in blueZ-4.96 directory

	$sudo tar -zxvf bluez-4.96.tar.gz
	$sudo cd bluez-4.96
	$sudo ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib
	$sudo make && make install
 
===========================================================================================================

4. Set Up A2DP Sink

(1) Enable a2dp sink support

	Edit /etc/bluetooth/audio.conf by adding this line underneath the [General] 
	section:
	# This section contains options which are not specific to any
	# particular interface
	[General]
	Enable=Source

	After making this change, you will need to restart bluetoothd by running
	$sudo service bluetooth restart

(2) Pair your source device and connect to a2dp sink at the source side
	Once you've done this, the source device should show up as an input device under pulseaudio. 
	Then you need to tell pulseaudio to route this audio input to your output (such as your speakers,
	or a bluetooth headset). You can do this from the commandline using the pactl command:

	$pactl load-module module-loopback source=$BTSOURCE sink=$SINK

	for example: 
	pactl load-module module-loopback source=bluez_source.14_DA_E9_2A_D7_57 sink=alsa_output.pci-0000_00_14.2.analog-stereo
	You can find your own values for source and sink with 
	$pacmd list-sources 
	$pacmd list-sinks

	Be careful however to remove this loopback connection before you drop this audio connection! 
	pulseaudio appears to re-connect the loopback connection to the next available audio input when
	the connection drops, so if for instance your laptop microphone is unmuted, you may get some
	very bad feedback. To drop this loopback connection when you're done, run:

	$pactl unload-module $(pactl list short modules | grep "loopback.*$BTSOURCE" | cut -f1)

	Again, replace "$BTSOURCE" with the name for the pulseaudio source that refers to your bluetooth device.

(3)	You can use BLuetooth management applications such as blueman 
	Search and Connect to your Audio source in blueman instead of step(2)

===========================================================================================================

5. Configure Remote Wakeup Function 

(1) Check your vendor and product id of bluetooth device with lsusb

	$lsusb
	Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
	Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
	Bus 001 Device 002: ID 0bda:1724 Realtek Semiconductor Corp. 
	Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
	Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
	Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.

(2) Create a new rule in /etc/udev/rules.d/  with the name "90-bluetoothwakeup.rules" for example, by the way the name is not important,
	
	$sudo gedit /etc/udev/rules.d/90-bluetoothwakeup.rules
     
	insert the following codes in the file:
        SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="1724" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"
 	
	In my case, the idVendor="0bda" and idProduct="1724". echo "enabled" or "disabled" to enable or disable bluetooth remote wakeup ability.
    	then save and close the file .

(3) Reinsert the RTK8723AE/AU dongle,now you can wakeup your suspend system by bluetooth device.

More Repositories

1

rtl8188eu

Repository for stand-alone RTL8188EU driver.
C
1,590
star
2

rtw89

Driver for Realtek 8852AE, an 802.11ax device
C
1,175
star
3

rtw88

A backport of the Realtek Wifi 5 drivers from the wireless-next repo.
C
577
star
4

rtl8723bu

Driver for RTL8723BU
C
270
star
5

rtl8852au

C
162
star
6

rtl8723au

Repo for RTL8723AU code before Linux Kernel commit
C
124
star
7

rtw8852be

Linux driver for RTW8852BE PCIe card
86
star
8

rtl8723du

C
82
star
9

rtl8192du

Source code for RTL8192DU device
C
74
star
10

rtl8723bs_bt

Bluetooth Code for RTL8723bs
C
70
star
11

rtw89-BT

Out-of-kernel driver for Realtek BT devices found in rtw89 devides.
C
57
star
12

rtl8192ee

Alternate (vendor) driver for RTL8192EE
C
57
star
13

rtl8812au

C
56
star
14

rtl8188gu

This repo contains a Linux driver for the RTL8188GU
C
48
star
15

rtl8723be

This repo is obsolete. Use lwfinger/rtlwifi_new instead.
44
star
16

rtl8723ds

Linux driver for RTL8723DS.
C
38
star
17

rtl8192cu

Repository for vendor driver for RTL8192CU
C
29
star
18

rtl8xxxu

Repository that tracks drivers/net/wireless/realtek/rtl8xxxu in wireless_next repository
C
19
star
19

realtek_bluetooth

A backport of the current kernel code for most Realtek Bluetooth devices
C
13
star
20

rtl8190p

Repo for driver for RTL8190P PCI device
C
8
star
21

rtw8852cu

C
7
star
22

rtl8723de

C
5
star
23

sa-btusb

Stand-alone backported Bluetooth drivers for Realtek devices
C
4
star
24

rtw8821be

Realtek Linux Driver for RTW8852BE - will eventually be covered in rtw89 - this is a stopgap
2
star
25

linux-wireless-tools

Tools to backport patches from wireless_next to rtw88/rtw89/rtl8xxxa
2
star
26

rtl8852bu

Vendor driver for RTW8852BU/RTW8832BU
C
1
star