Project

General

Profile

Support #915

Updated by Daniel Curtis over 6 years ago

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. 

 h2. Prepare the Environment 

 * Make sure a few required packages are installed: 
 <pre> 
 sudo pacman -S git base-devel 
 </pre> 

 h2. Install rtl8723bs_bt 

 * Clone the rtl8723bs_bt repo: 
 <pre> 
 mkdir ~/git && cd ~/git 
 git clone https://github.com/lwfinger/rtl8723bs_bt.git 
 cd rtl8723bs_bt 
 </pre> 

 * Make and install the bluetooth driver: 
 <pre> 
 make 
 sudo make install 
 </pre> 

 * Copy the program and helper script to /usr/local/bin: 
 <pre> 
 sudo cp {rtk_hciattach,start_bt.sh} /usr/local/bin 
 </pre>  

 * Edit the start_bt.sh helper script: 
 <pre> 
 sudo vi /usr/local/bin/start_bt.sh 
 </pre> 
 #* And change the @./rtk_hciattach@ command to the following: 
 <pre> 
 /usr/local/bin/rtk_hciattach -n -s 115200 $TTY rtk_h5 > hciattach.txt 2>&1 & 
 </pre> 

 h3. systemd unit 

 * Create the rtl8723bs_bt systemd unit file: 
 <pre> 
 sudo vi /etc/systemd/system/rtl8723bs_bt.service 
 </pre> 
 #* And add the following 
 <pre> 
 [unit] 
 Description=rtl8723bs_bt 

 [Service] 
 Type=oneshot 
 ExecStart=/usr/local/bin/start_bt.sh 
 TimeoutSec=0 
 StandardInput=tty 
 RemainAfterExit=yes 

 [Install] 
 WantedBy=multi-user.target 
 </pre> 

 * Reload the systemd daemon: 
 <pre> 
 sudo systemctl daemon-reload 
 </pre> 

 * Enable the rtl8723bs_bt unit at boot up: 
 <pre> 
 sudo systemctl enable rtl8723bs_bt 
 </pre> 

 h2. Resources 

 * https://github.com/lwfinger/rtl8723bs_bt 
 * https://gist.github.com/coderbyheart/434536a308cf06cef92b

Back