User Tools

Site Tools


linux:bluetooth:01_enable_bluetooth

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:bluetooth:01_enable_bluetooth [2023/11/06 19:43] – [Treiber laden] dominiklinux:bluetooth:01_enable_bluetooth [2024/03/12 06:04] (current) – [Prüfen] dominik
Line 1: Line 1:
 ====== Enable Bluetooth ====== ====== Enable Bluetooth ======
-''sudo apt update && sudo apt upgrade -y && sudo apt install bluetooth bluez blueman pi-bluetooth''+''sudo apt update && sudo apt upgrade -y && sudo apt install -y bluetooth bluez blueman pi-bluetooth''
 ===== /boot/config.txt ===== ===== /boot/config.txt =====
 In der ''/boot/config.txt'' sicherstellen das Bluetooth nicht deaktiviert ist: \\ <code> In der ''/boot/config.txt'' sicherstellen das Bluetooth nicht deaktiviert ist: \\ <code>
Line 8: Line 8:
  
 Die beiden Elemente ggf. auskommentieren und dann ''sudo reboot'' Die beiden Elemente ggf. auskommentieren und dann ''sudo reboot''
-===== Treiber laden =====+===== Treiber laden =====
   * ''cd /etc/modules-load.d''   * ''cd /etc/modules-load.d''
   * ''sudo nano modules.conf''   * ''sudo nano modules.conf''
Line 17: Line 17:
 -> Hält aber nur bis zum nächsten Reboot ! -> Hält aber nur bis zum nächsten Reboot !
  
 +>**Hinweis:** \\ Sonst kommt der Service nicht Online \\ <code bash>
 +pi@Pi3Test:~ $ sudo systemctl status bluetooth.service
 +● bluetooth.service - Bluetooth service
 +     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
 +     Active: inactive (dead)
 +       Docs: man:bluetoothd(8)
 +</code>
 ===== hciuart enable ===== ===== hciuart enable =====
 +> **Hinweis:** \\ Wichtig weil sonst bluetoothctl keinen Controller findet: \\ <code bash>
 +pi@Pi3Test:/etc/modules-load.d $ sudo bluetoothctl
 +Waiting to connect to bluetoothd...[bluetooth]# Agent registered
 +</code>
 +  * ''sudo systemctl enable hciuart.service''
 +  * ''sudo systemctl start hciuart.service''
 +  * ''sudo systemctl status hciuart.service''
 +
 +===== Aktivieren =====
 +  * ''sudo systemctl enable bluetooth.service''
 +
 +===== Prüfen =====
 +  * ''sudo systemctl status bluetooth.service''
 +
 +===== Pi zu Gruppe =====
 +  * ''sudo usermod -a -G bluetooth pi''
  
  
linux/bluetooth/01_enable_bluetooth.1699296235.txt.gz · Last modified: by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki