linux:bluetooth:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:bluetooth:start [2023/10/01 16:30] – removed - external edit (Unknown date) 127.0.0.1 | linux:bluetooth:start [2024/03/03 08:35] (current) – [Tools installieren] dominik | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Bluetooth ====== | ||
+ | |||
+ | <nspages -h1 -r -exclude> | ||
+ | |||
+ | ===== Tools installieren ===== | ||
+ | * Updates einspielen \\ '' | ||
+ | * Konsole \\ '' | ||
+ | * grafisch \\ '' | ||
+ | |||
+ | ===== kein BT Sound ===== | ||
+ | * Gerät hängt an anderem Pulsaudio -> anderer User \\ < | ||
+ | pid@smartpad: | ||
+ | UID PID PPID C STIME TTY TIME CMD | ||
+ | lightdm | ||
+ | pid | ||
+ | </ | ||
+ | * '' | ||
+ | |||
+ | ===== Links ===== | ||
+ | * Bluez github | ||
+ | * bluetooth-autoconnect \\ https:// | ||
+ | * https:// | ||
+ | * Bluetooth with Arduino and Linux (BT - Seriell) \\ http:// | ||
+ | * How to connect raspberry pi with HC-05 bluetooth module + arduino programm \\ https:// | ||
+ | * https:// | ||
+ | * Setting up a Bluetooth Speaker from the command line on a raspberry Pi Zero W \\ https:// | ||
+ | * Listen to Bluetooth Audio on Your Raspberry Pi 3, Pi Zero, or Earlier Pi \\ https:// | ||
+ | * Connecting bluetooth audio device to Raspberry Pi \\ https:// | ||
+ | * RetroPie (V4.2): Bluetooth Controller \\ https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * Pairing from Ubuntu Core \\ https:// | ||
+ | |||
+ | |||
+ | Damit am Pi einfache Controller laufen einen anderen Agent verwenden \\ | ||
+ | -> ~/ | ||
+ | -> bluez-simple-agent | ||
+ | |||
+ | -> Beuspiel: \\ | ||
+ | 17: | ||
+ | get_script_bluetooth bluez-simple-agent) -c DisplayYesNo hci0 17: | ||
+ | |||
+ | sudo bluetoothctl muss dafür auf sein ?? | ||
+ | |||
+ | |||
+ | |||
+ | ===== Log ===== | ||
+ | 1 cat / | ||
+ | 2 sudo systemctl status bluetooth.service | ||
+ | 3 sudo bluetoothctl | ||
+ | 4 sudo btmon | ||
+ | 5 sudo btmon | ||
+ | 6 git clone https:// | ||
+ | 7 sudo apt install git | ||
+ | 8 git clone https:// | ||
+ | 9 sudo apt-get build-dep bluez | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | 100 sudo cp '/ | ||
+ | 101 sudo cp ~/ | ||
+ | 102 sudo systemctl enable bluetooth-autoconnect.service | ||
+ | 103 sudo systemctl start bluetooth-autoconnect.service | ||
+ | 104 sudo systemctl status | ||
+ | 105 journalctl -u bluetooth-autoconnect.service | ||
+ | 106 journalctl -u bluetooth-autoconnect.service -b | ||
+ | 107 journalctl -xefu bluetooth-autoconnect.service | ||
+ | 108 cd bluetooth-autoconnect/ | ||
+ | 109 ls | ||
+ | 110 cat bluetooth-autoconnect | ||
+ | 111 sudo nano / | ||
+ | 112 sudo systemctl restart | ||
+ | 113 journalctl -xefu bluetooth-autoconnect.service | ||
+ | 114 sudo nano / | ||
+ | 115 sudo systemctl restart | ||
+ | 116 journalctl -xefu bluetooth-autoconnect.service | ||
+ | 117 sudo systemctl restart | ||
+ | 118 journalctl -xefu bluetooth-autoconnect.service | ||
+ | 119 sudo systemctl stop bluetooth-autoconnect.service | ||
+ | 120 sudo apt install vlc | ||
+ | 121 vlc | ||
+ | 122 pavucontrol | ||
+ | 123 sudo apt install pavucontrol | ||
+ | 124 pavucontrol | ||
+ | 125 pulseaudio --start | ||
+ | 126 vlc | ||
+ | 127 cat / | ||
+ | 128 cd ~ | ||
+ | 129 nano .asoundrc | ||
+ | 130 ls -lah | ||
+ | 131 sudo nano .asoundrc | ||
+ | 132 vlc | ||
+ | 133 cat / | ||
+ | 134 cvlc --aout=alsa --alsa-audio-device=default --verbose=-1 http:// | ||
+ | 135 sudo reboot | ||
+ | 136 sudo btmon | ||
+ | 137 plu | ||
+ | 138 pulseaudio --start | ||
+ | 139 cvlc --aout=alsa --alsa-audio-device=default --verbose=-1 http:// | ||
+ | 140 vlc | ||
+ | 141 sudo apt install blueman | ||
+ | 142 blueman-manager | ||
+ | 143 blueman-applet | ||
+ | 144 blueman-assistant | ||
+ | 145 blueman-applet | ||
+ | 146 blueman-adapters | ||
+ | 147 blueman-applet | ||
+ | 148 blueman-applet & | ||
+ | 149 blueman-manager | ||
+ | 150 pavucontrol | ||
+ | 151 alsamixer | ||
+ | 152 ls -al /dev/snd | ||
+ | 153 ip pi | ||
+ | 154 id pi | ||
+ | 155 sudo service bluealsa status | ||
+ | 156 sudo apt-get install pulseaudio pulseaudio-module-bluetooth | ||
+ | 157 id pi | ||
+ | 158 sudo usermod -G bluetooth -a pi | ||
+ | 159 id pi | ||
+ | 160 sudo reboot | ||
+ | 161 pulseaudio --start | ||
+ | 162 sudo bluetoothctl | ||
+ | 163 cat / | ||
+ | 164 cd /etc/pulse/ | ||
+ | 165 ls | ||
+ | 166 ls -lah | ||
+ | 167 sudo nano default.pa | ||
+ | 168 cd .. | ||
+ | 169 cd bluetooth/ | ||
+ | 170 ls | ||
+ | 171 ls -lah | ||
+ | 172 sudo nano main.conf | ||
+ | 173 bluetoothctl -a | ||
+ | 174 sudo reboot | ||
+ | 175 vlc | ||
+ | 176 sudo nano / | ||
+ | 177 sudo reboot | ||
+ | 178 vlc | ||
+ | 179 apl | ||
+ | 180 aplay | ||
+ | 181 pulseaudio --start | ||
+ | 182 cvlc --verbose=-1 http:// | ||
+ | 183 cvlc --verbose=1 http:// | ||
+ | 184 find / -name *.wav | ||
+ | 185 alsa / | ||
+ | 186 aplay / | ||
+ | 187 paplay -p --device=1 / | ||
+ | 188 pulseaudio --start | ||
+ | 189 pactl list cards short | ||
+ | 190 sudo bluetoothctl | ||
+ | 191 pactl list cards | ||
+ | 192 sudo bluetoothctl | ||
+ | 193 pactl list cards | ||
+ | 194 vlc | ||
+ | 195 sudo nano / | ||
+ | 196 sudo systemctl restart bluetooth | ||
+ | 197 pactl list sinks short | ||
+ | 198 pactl list cards | ||
+ | 199 sudo reboot | ||
+ | 200 pactl list cards | ||
+ | 201 sudo -H pactl load-module module-bluetooth-discover | ||
+ | 202 pactl list cards | ||
+ | 203 sudo --help | ||
+ | 204 pacmd list-cards | ||
+ | 205 sudo bluetoothctl | ||
+ | 206 pacmd list-cards | ||
+ | 207 sudo bluetoothctl | ||
+ | 208 sudo reboot | ||
+ | 209 pacmd list-cards | ||
+ | 210 sudo apt install omxplayer | ||
+ | 211 apt search omx | ||
+ | 212 cvlc --verbose=1 http:// | ||
+ | 213 pavucontrol | ||
+ | 214 sudo apt update | ||
+ | 215 sudo apt upgrade | ||
+ | 216 sudo nano / | ||
+ | 217 sudo systemctl restart bluetooth | ||
+ | 218 sudo python bluez-simple-agent.py | ||
+ | 219 dmesg | grep Bluetooth | ||
+ | 220 sudo nano / | ||
+ | 221 ls /dev/tty* | ||
+ | 222 sudo rfcomm bind rfcomm0 00: | ||
+ | 223 ls /dev/tty* | ||
+ | 224 ls /dev/rf* | ||
+ | 225 sudo rfcomm unbind rfcomm0 00: | ||
+ | 226 ls /dev/rf* | ||
+ | 227 sudo rfcomm bind rfcomm0 00: | ||
+ | 228 sudo rfcomm bind rfcomm0 | ||
+ | 229 sudo rfcomm unbind rfcomm0 00: | ||
+ | 230 sudo rfcomm bind rfcomm0 | ||
+ | 231 ls /dev/rf* | ||
+ | 232 cat / | ||
+ | 233 sudo rfcomm bind rfcomm0 | ||
+ | 234 cat / | ||