Bluetooth

From Alpine Linux
Revision as of 08:35, 17 April 2023 by Bbbhltz (talk | contribs) (added WIP)
This material is work-in-progress ...

Spotty internet is slowing me down
(Last edited by Bbbhltz on 17 Apr 2023.)

Bluetooth is a standard for the short-range wireless interconnection of cellular phones, computers, and other electronic devices. BlueZ is an implementation of the Bluetooth protocol stack for Linux, and it is provided by the bluez package.

This article describes the basic installation of Bluetooth controllers and devices.

Prerequisites and Basic Installation

Prerequisites

eudev should be installed and setup:

# setup-devd udev

Basic Installation

Basic installation is as follows:

  1. Install bluez
  2. Load the btusb kernel module
  3. Add user to the lp group
  4. Start and enable the Bluetooth service

# apk add bluez # apk add bluez-deprecated # modprobe btusb # adduser $USER lp # rc-service bluetooth start # rc-update add bluetooth default

Basic Configuration

Battery Reporting

An experimental feature can be enabled in order to report device battery level:

Contents of /etc/bluetooth/main.conf

{{{2}}}

Basic Use