GithubHelp home page GithubHelp logo

miouyouyou / tinkerboard_rtl8723bs Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 97 KB

A fork of @lwfinger rtl8723bs_bt repository, focused on Tinkerboard systems. Psychic-broccoli might be more accurate though.

Makefile 0.18% Shell 2.02% C 97.80%
tinkerboard-systems tinkerboard bluetooth bluetooth-driver mainline-kernel mainline

tinkerboard_rtl8723bs's Introduction

About

This a fork of https://github.com/lwfinger/rtl8723bs_bt targeted towards RK3288 Tinkerboard users.
There are a few additonal scripts that enable the right GPIO and reset the Bluetooth chip to make rtk_hciattach work correctly on these specific boards.

If you don't have a RK3288 board or Tinkerboard systems, do not use this fork. Use the official one.

This is currently tested with my patched 4.17-rcX kernel.

Usage

Run sudo ./start_bt.sh. It will run make automatically for you.

You should see something like this on the first run :

root@tinkerboard:/path/to/rtl8723bs_bt# ./start_bt.sh 
cc -c hciattach_rtk.c
cc -o rtk_hciattach hciattach.c hciattach_rtk.o  
Using device /dev/ttyS0 for Bluetooth

On the second run, you'll see :

root@tinkerboard:/path/to/rtl8723bs_bt# ./start_bt.sh 
Using device /dev/ttyS0 for Bluetooth

The original readme.txt

This directory contains the programs and firmware to operate the Bluetooth
section of the RTL8723BS hardware used on a number of tablets.

The main program is called rtk_hciattach. To build this program, issue the
following command:

make

To install the firmware (only needed once):

sudo make install

Some users have found that an alternate firmware works for them. To try this
firmware, do this command:

sudo cp rtlbt_fw_new /lib/firmware/rtl_bt/rtlbt_fw

To start Bluetooth (needed for each boot), use the command

sudo ~/rtl8723bs_bt/start_bt.sh

Note: The script assumes that the Bluetooth device is attached to /dev/ttyS4.
That may not be correct for your system. To discover the correct serial port,
run 'dmesg | grep tty'. You should see two lines that say "ttyXX at MMIO 0xYYYYYYYY.
Edit start_bt.sh to set the definition of TTY to use the value of XX for the first
of these two lines.

As this command will need to be done everytime the system is rebooted, you
might consider placing this command in the system startup commands. The path
of the command will have to be adjusted.

WARNING: This driver needs the H5 protocol, which is built into kernels 3.12
and later. If you need to use an earlier kernel, raise an issue on this repo.

Larry Finger

tinkerboard_rtl8723bs's People

Contributors

lwfinger avatar miouyouyou avatar

Watchers

 avatar  avatar  avatar

tinkerboard_rtl8723bs's Issues

Armbian Debian Stretch 4.14.34

J'ai utilisé les fichiers fourni sur ton git et verdict le bluetooth est fonctionnel. Scan, Pair, Discover, Connect.

Niveau de Armbian c'est un fresh install, donc just fait un apt update et upgrade.
Niveau des paquet j'ai juste installé python pour les librairies gpio fourni sur le git tinkerboard

Voilà j'espère que ce petit retour pourra aider

Jyu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.