Howto: Getting Bluetooth (serial console) working on Debian
#7
I use this commands added to `/etc/rc.local`:

Quote:echo 1 > /sys/class/rfkill/rfkill0/state
rtk_hciattach /dev/ttyS1 rtk_h5 # BT on Pine is always connected to UART1
hciconfig hci0 up

You also have to compile `rtk_hciattach`:

Quote:apt-get install bluez git-core
git clone https://github.com/lwfinger/rtl8723bs_bt.git
cd rtl8723bs_bt
make
sudo make install
sudo cp rtk_hciattach /usr/local/bin/
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
  Reply


Messages In This Thread
RE: Howto: Getting Bluetooth (serial console) working on Debian - by ayufan - 10-16-2016, 05:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wifi / Bluetooth Board Update S265 2 4,071 07-30-2020, 04:53 PM
Last Post: S265
  Create a WiFi hotspot on Debian 8 JulianM 6 26,839 03-10-2019, 01:02 AM
Last Post: waqasnasir
  RTL8723bs Bluetooth xalius 21 32,586 03-22-2017, 04:53 PM
Last Post: JulianM
  WIFI & Bluetooth? 7777777 14 27,667 12-24-2016, 05:01 AM
Last Post: Toriless
  Using Bluetooth for Sending serial data Arjun 9 14,407 10-19-2016, 10:19 PM
Last Post: Arjun
  How can you get the WIFI/Bluetooth module separate? GoZone 8 11,110 07-06-2016, 05:23 PM
Last Post: JasperBrown
  WiFi/BT module, no bluetooth riviera89 5 7,117 06-24-2016, 04:32 PM
Last Post: srinivas.s34@gmail.com
  Board doesn't boot when wifi/Bluetooth connected with Lcd screen Krinilssen 4 6,686 06-16-2016, 07:22 AM
Last Post: Krinilssen
  WIFI/Bluetooth Chipset monmoonmooonmoooon 2 5,018 01-20-2016, 06:02 AM
Last Post: monmoonmooonmoooon

Forum Jump:


Users browsing this thread: 1 Guest(s)