Skip to content

Commit d2da179

Browse files
authored
Merge pull request #288 from avi951/main
Axon: Connectivity: Bluetooth 5.2
2 parents 963c2ca + 747682f commit d2da179

1 file changed

Lines changed: 154 additions & 3 deletions

File tree

source/vicharak_sbcs/axon/connectivity/bluetooth.rst

Lines changed: 154 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,158 @@
33
Bluetooth
44
##############
55

6-
.. note::
6+
.. image:: /_static/images/rk3588-axon/axon-wifi-bt.webp
7+
:width: 80%
78

8-
**Documentation coming soon!**
9-
This section will be updated shortly with detailed instructions and information. Stay tuned for more!
9+
The Axon SBC includes an integrated Bluetooth 5.2 interface based on the
10+
**Realtek RTL8852BS** chipset (module: 6252B-SR).
11+
Bluetooth is used for connecting wireless peripherals such as keyboards,
12+
mice, audio devices, and sensors.
13+
14+
.. image:: /_static/images/rk3588-axon/accessory-wifi-antenna.webp
15+
:width: 30%
16+
17+
.. danger::
18+
Kindly, attached Antenna on Bluetooth U.FL connector as mentioned in above picture.
19+
20+
21+
Hardware Details
22+
----------------
23+
24+
- **Chipset**: Realtek RTL8852BS
25+
- **Bluetooth Version**: Bluetooth 5.2 / BLE
26+
- **Host Interface**: UART
27+
28+
Linux Support
29+
-------------
30+
31+
Bluetooth is supported using the Linux **BlueZ** stack.
32+
Firmware must be available under ``/lib/firmware/rtl_bt/``.
33+
34+
The Bluetooth controller is typically exposed as ``hci0``.
35+
36+
Using Blueman (GUI Method)
37+
--------------------------
38+
39+
1. Launch Blueman Manager:
40+
41+
.. code-block:: bash
42+
43+
blueman-manager
44+
45+
2. Ensure Bluetooth is **ON** (top toolbar).
46+
47+
3. Click **Search** to scan for nearby Bluetooth devices.
48+
49+
4. Select the target device from the list and click **Pair**.
50+
51+
5. Confirm the pairing request on both devices if prompted.
52+
53+
6. After pairing, right-click the device and select **Connect**.
54+
55+
Blueman provides an easy graphical interface for managing Bluetooth devices.
56+
57+
Using bluetoothctl (CLI Method)
58+
-------------------------------
59+
60+
Start Bluetooth control utility:
61+
62+
.. code-block:: bash
63+
64+
bluetoothctl
65+
66+
Inside the prompt, run:
67+
68+
.. code-block:: bash
69+
70+
power on
71+
72+
.. code-block:: bash
73+
74+
scan on
75+
76+
Once the device appears (example MAC address):
77+
78+
Pair device using MAC addresse:
79+
80+
.. code-block:: bash
81+
82+
pair AA:BB:CC:DD:EE:FF
83+
84+
Trust device using MAC addresse:
85+
86+
.. code-block:: bash
87+
88+
trust AA:BB:CC:DD:EE:FF
89+
90+
Connect device using MAC addresse:
91+
92+
.. code-block:: bash
93+
94+
connect AA:BB:CC:DD:EE:FF
95+
96+
Stop scanning and exit:
97+
98+
.. code-block:: bash
99+
100+
scan off
101+
102+
.. code-block:: bash
103+
104+
quit
105+
106+
Troubleshooting
107+
---------------
108+
109+
- Check hci device using below command :
110+
111+
.. code-block::
112+
113+
hciconfig -a
114+
115+
**Expected Device**
116+
117+
.. code-block::
118+
119+
hci0: Type: Primary Bus: UART
120+
BD Address: 40:F4:C9:94:85:5B ACL MTU: 1021:5 SCO MTU: 255:11
121+
UP RUNNING
122+
RX bytes:2823 acl:0 sco:0 events:79 errors:0
123+
TX bytes:7087 acl:0 sco:0 commands:98 errors:0
124+
Features: 0xff 0xff 0xff 0xfa 0xdb 0xbf 0x7b 0x87
125+
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
126+
Link policy: RSWITCH HOLD SNIFF PARK
127+
Link mode: PERIPHERAL ACCEPT
128+
Name: 'cow'
129+
Class: 0x7c0000
130+
Service Classes: Rendering, Capturing, Object Transfer, Audio, Telephony
131+
Device Class: Miscellaneous,
132+
HCI Version: 5.2 (0xb) Revision: 0x530
133+
LMP Version: 5.2 (0xb) Subversion: 0xf2b7
134+
Manufacturer: Realtek Semiconductor Corporation (93)
135+
136+
- Check kernel logs if Bluetooth does not appear:
137+
138+
.. code-block:: bash
139+
140+
dmesg | grep -i bluetooth
141+
142+
- Verify firmware files:
143+
144+
.. code-block:: bash
145+
146+
ls /lib/firmware/rtl_bt/
147+
148+
- You can reinstall firmware by using below command :
149+
150+
.. code-block::
151+
152+
sudo apt update
153+
sudo apt install vicharak-firmware
154+
155+
- Reboot after installing firmware or drivers.
156+
157+
Notes
158+
-----
159+
160+
- BLE support depends on kernel and BlueZ version.

0 commit comments

Comments
 (0)