Project

General

Profile

Support #915

Adding Bluetooth Support to Non-Standard Linux on STCK1A8LFC

Added by Daniel Curtis almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Workstation
Target version:
Start date:
01/07/2018
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I recently installed Antergos 17.12 Linux on my Intel STCK1A8LFC Compute Stick, and while the WiFi worked out of the box the Bluetooth did not. This is a guide on getting bluetooth working on Antergos on an Intel STCK1A8LFC Compute Stick.

Prepare the Environment

  • Make sure a few required packages are installed:
    sudo pacman -S git base-devel
    

Install rtl8723bs_bt

  • Clone the rtl8723bs_bt repo:
    mkdir ~/git && cd ~/git
    git clone https://github.com/lwfinger/rtl8723bs_bt.git
    cd rtl8723bs_bt
    
  • Make and install the bluetooth driver:
    make
    sudo make install
    
  • Copy the program and helper script to /usr/local/bin:
    sudo cp {rtk_hciattach,start_bt.sh} /usr/local/bin
    
  • Edit the start_bt.sh helper script:
    sudo vi /usr/local/bin/start_bt.sh
    
    • And change the ./rtk_hciattach command to the following:
      /usr/local/bin/rtk_hciattach -n -s 115200 $TTY rtk_h5 > hciattach.txt 2>&1 &
      

systemd unit

  • Create the rtl8723bs_bt systemd unit file:
    sudo vi /etc/systemd/system/rtl8723bs_bt.service
    
    • And add the following
      [unit]
      Description=rtl8723bs_bt
      
      [Service]
      Type=oneshot
      ExecStart=/usr/local/bin/start_bt.sh
      RemainAfterExit=yes
      
      [Install]
      WantedBy=multi-user.target
      
  • Reload the systemd daemon:
    sudo systemctl daemon-reload
    
  • Enable the rtl8723bs_bt unit at boot up:
    sudo systemctl enable rtl8723bs_bt
    

Resources

History

#1 Updated by Daniel Curtis almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved
  • Description updated (diff)

#2 Updated by Daniel Curtis over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF