Listen to Bluetooth Audio on Your Raspberry Pi 3, Pi Zero, or Earlier Pi
The Raspberry Pi is a handy little computer for so many uses, but Raspbian doesn’t come already set up for listening to audio over Bluetooth headphones or speakers. However, it’s not hard to do, it’s a lot of fun, and it works!. As I’m writing this, I’m listening to 40s Big Band music on my Pi 3 through my Bluetooth headphones.
The instructions in this post are for the February 26, 2016 version of version of Raspbian or Noobs, but they work with all previous versions of Raspbian Jessie. They work for the Raspberry any Pi version, although the Zero and the original Pi are not really powerful enough to stream from the internet. They work great for playing mp3 files with a media player like VLC.
Except for the Pi 3, you’ll need a Bluetooth adapter like the Plugable Bluetooth adapter. For the Pi Zero, you’ll also need a way to connect to the Internet like a Plugable USB-Ethernet adapter or WiFi adapter, along with an OTG cable and a powered hub like the compact Plugable 4-port USB 2.0 hub. Whichever Pi you use, you end up with is a great little music server that opens the door to a lot of fun projects.
───
只不過眼前似乎『踢到鐵板』?之前 OK 的『藍牙喇叭』
,現在雖不能用『blueman』連接??不是還可用『bluetoothctl』
pi@raspberrypi ~
連成功乎!怎 A2DP 聲音會 …… 不忍聞的耶!!
─── 摘自《W!o+ 的《小伶鼬工坊演義》︰樹莓派 3 三兩事之 VLC 篇》
身處 BlueZ 4→5 大變革的時刻,而且品嚐了
Bluetooth Audio ALSA Backend
With this application (later named as BlueALSA), one can achieve the same goal as with PulseAudio, but with less dependencies and more bare-metal-like. BlueALSA registers all known Bluetooth audio profiles in Bluez, so in theory every Bluetooth device (with audio capabilities) can be connected. In order to access the audio stream, one has to connect to the ALSA PCM device called bluealsa
. The device is based on the ALSA software PCM plugin.
a2dp 之美聲︰
pi@raspberrypi:~ more ~/.asoundrc pcm.!default { type plug slave.pcm { type bluealsa device "00:02:5B:00:47:4E" profile "a2dp" } } ctl.!default { type bluealsa } pi@raspberrypi:~ $
奈何還難忘懷開機
systemctl status bluetooth
的錯誤耶?
Failed to obtain handles for “Service Changed” characteristic
Sap driver initialization failed.
sap-server: Operation not permitted (1)
事實,科技本就來自人性◎
Bluetooth HSP/HFP not working in Raspberry PI 3 #2229
Trying to use a bluetooth mic/speaker in a raspberry pi 3 (headless).
Hardware is Raspberry pi 3, firmware updated today, running raspbian also dist-upgraded today. Using bluez and pulseaudio (system service start mode).
No error messages seen in any log file. Moreover, if I “down” (“hciadmin hci0 down”) the internal raspberry bluetooth controller and use instead an external bluetooth controller connected in an usb port, both modes works correctly. Thus, problem seems related with the bluetooth device in raspberry card. |
bluetoothd sap driver issue
Hello All,
I quite new to rpi world.. When I try to check the status of my bluetooth, I am getting the Sap driver initialization failed error as shown below. Could someone please help me resolve this issue?
……
Bluetooth issues
Hi everyone,
currently I am trying to connect my raspberry pi 2 with my Android 5.1.1 phone via bluetooth (I am trying with Bluez 5.23). The pairing seems to work, but it always returns “Connected: no”. If I try to connect manually it says “Failed to connect: org.bluez.Error.Failed”.
………
新舊換代之間能無大哉辯嘛!
SoloVeniaASaludar commented on Oct 15 •