Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:configurations:bluetooth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:configurations:bluetooth [2026/02/02 22:31]
gray update by using AI
products:sbc:common:configurations:bluetooth [2026/02/23 21:34] (current)
gray old revision restored (2023/03/06 23:01)
Line 10: Line 10:
 ====== Linux ====== ====== Linux ======
  
-Bluetooth configuration examples for Ubuntu Desktop and Server variants.+Bluetooth configure examples for Ubuntu Desktop and Server variants 
 +===== Ubuntu Desktop =====
  
-===== Ubuntu Desktop ====== +Bluetooth settings are in the upper-right corner, click it and select ''Device''.
- +
-Bluetooth settings are located in the system menu at the upper-right corner. Click the menu and select ''Devices...''.+
  
 {{/products:sbc:common:configurations:gnome-bluetooth1.png?500|gnome-bluetooth1}} {{/products:sbc:common:configurations:gnome-bluetooth1.png?500|gnome-bluetooth1}}
  
-Click ''Search'' to scan for nearby Bluetooth devices.+Click ''Search'' to scan for Bluetooth devices nearby.
  
 {{/products:sbc:common:configurations:gnome-bluetooth2.png?500|gnome-bluetooth2}} {{/products:sbc:common:configurations:gnome-bluetooth2.png?500|gnome-bluetooth2}}
  
-Select the device you want to pair with from the list.+Select the device that you want to pair with.
  
 {{/products:sbc:common:configurations:gnome-bluetooth3.png?500|gnome-bluetooth3}} {{/products:sbc:common:configurations:gnome-bluetooth3.png?500|gnome-bluetooth3}}
- 
-===== Ubuntu Server ====== 
- 
-Bluetooth can be configured via command-line utilities. 
- 
-Enable Bluetooth Service 
- 
-Enable and start the Bluetooth service, then bring up the interface: 
  
 ===== Ubuntu Server ===== ===== Ubuntu Server =====
Line 38: Line 29:
 Bluetooth configuration via console bluetooth utils.  Bluetooth configuration via console bluetooth utils. 
  
-  * Enable Bluetooth:+Enable Bluetooth:
  
 ```shell ```shell
Line 45: Line 36:
 ``` ```
  
-  * Launch the Bluetooth control tool:+Launch ''bluetoothctl'':
  
 ```shell ```shell
 $ sudo bluetoothctl $ sudo bluetoothctl
-``` 
- 
-You will see a prompt similar to: 
-```shell 
 [NEW] Controller 43:54:A2:00:1F:AC Khadas [default] [NEW] Controller 43:54:A2:00:1F:AC Khadas [default]
 Agent registered Agent registered
Line 58: Line 45:
 ``` ```
  
-Within ''bluetoothctl'', run the following setup commands:+Setup:
  
 ```shell ```shell
Line 69: Line 56:
 ``` ```
  
-  * Scan for Devices:+Scan for Bluetooth devices:
  
 ```shell ```shell
 [bluetooth]# scan on [bluetooth]# scan on
-``` 
-Example output: 
-```shell 
 Discovery started Discovery started
 [CHG] Controller 43:54:A2:00:1F:AC Discovering: yes [CHG] Controller 43:54:A2:00:1F:AC Discovering: yes
Line 81: Line 65:
 [NEW] Device 8C:EB:C6:E7:2E:33 Khadas [NEW] Device 8C:EB:C6:E7:2E:33 Khadas
 ``` ```
-  * List Discovered Devices + 
-Show all discovered devices:+Show connected Bluetooth devices:
  
 ```shell ```shell
 [bluetooth]# devices [bluetooth]# devices
-``` 
- 
-Example output: 
-```shell 
 Device 46:04:25:5F:1E:8D 46-04-25-5F-1E-8D Device 46:04:25:5F:1E:8D 46-04-25-5F-1E-8D
 Device 8C:EB:C6:E7:2E:33 Khadas Device 8C:EB:C6:E7:2E:33 Khadas
 Device 9C:FB:D5:0D:91:47 9C-FB-D5-0D-91-47 Device 9C:FB:D5:0D:91:47 9C-FB-D5-0D-91-47
 +[NEW] Device AC:83:F3:DD:D4:E1 AC-83-F3-DD-D4-E1
 +[CHG] Device AC:83:F3:DD:D4:E1 Name: LibreELEC
 +[CHG] Device AC:83:F3:DD:D4:E1 Alias: LibreELEC
 ``` ```
  
-  * Pair and Connect +Pair with a device:
-To pair and connect with a device, use its MAC address:+
  
 ```shell ```shell
 [bluetooth]# connect <device_addr> [bluetooth]# connect <device_addr>
 ``` ```
-Replace <device_mac_address> with the actual address (e.g., 8C:EB:C6:E7:2E:33). 
  
 <WRAP info > <WRAP info >
-The ''device_mac_address'' is the unique hardware address of the Bluetooth device you want to connect to, shown in the ''devices'' list.+''device_addr'' is the address of the device you want to connect to.
 </WRAP> </WRAP>
  
-  * Exit +Exit bluetoothctl:
-To exit ''bluetoothctl'':+
  
 ```shell ```shell
 [bluetooth]# quit [bluetooth]# quit
 +Agent unregistered
 +[DEL] Controller 43:54:A2:00:1F:AC Khadas [default]
 +khadas@Khadas:~$
 ``` ```
  
Last modified: 2026/02/02 22:31 by gray