Support #915
Adding Bluetooth Support to Non-Standard Linux on STCK1A8LFC
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 &
- And change the
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
- And add the following
- Reload the systemd daemon:
sudo systemctl daemon-reload
- Enable the rtl8723bs_bt unit at boot up:
sudo systemctl enable rtl8723bs_bt