Tag Archives: bluetooth

Audio Streaming per Bluetooth (A2DP)

Möchte man auf einfache Weise Musik vom Smartphone abspielen und z.B. per Bluetooth an den Rechner senden um dessen Boxen zur Ausgabe zu nutzen kann man unter Debian Jessie folgendermaßen vorgehen. Im Regelfall sollten die Standartpakete (firmware-linux-free & firmware-linux-nonfree) einen großen Teil der Hardware bereits von Haus unterstützen und die nötige Firmware bereitstellen. Um aber sicher zu gehen sollte man zunächst einmal untersuchen ob vielleicht eine spezielle Firmware für das am PC angeschlossene Bluetooth Modul benötigt wird:

Me@myHost:~# lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 004: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Me@myHost:~# ### Das Atheros Bluetooth Modul benötigt eine spezielle Firmware
Me@myHost:~# sudo apt-get install firmware-atheros
Me@myHost:~# ### Folgende Pakete benötigt man für den Bluetooth<=>PulseAudio Stack
Me@myHost:~# sudo apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol \
 bluez bluez-firmware bluez-tools