openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
256 stars 80 forks source link

install.sh require pulseaudio-module-bluetooth #85

Closed egisz closed 3 years ago

egisz commented 3 years ago

Issue

On raspbian Lite, android phone does not pair bluetooth until pulseaudio-module-bluetooth installed

Hardware

Device Connection Method Screen Mobile Device Android Auto Version
Raspberry Pi 4 4GB Wireless video output (composite) Samsung Galaxy S21 v.1.EXAMPLE

Installation Method: Install.sh

Description of problem:

On Raspbian Lite, android phone does not pair over bluetooth, error in logs:

blueman.bluez.errors.DBusFailedError: Protocol not available.

Found solution in this thread:

Expected Result:

Bluetooth pairs out of the box on Raspberry Lite image using command

Problem-relevant steps to reproduce:

bluetoothctl
discoverable on
pairable on
agent on
default-agent
robert5974 commented 3 years ago

Technically Bluetooth not pairing is an undeveloped feature. Current implementation only allows a phone to connect and not pair. I have been looking at building it into dash but currently it's not something that is broken really. The commands provided are utilizing the Bluez agent which will be the way to go. It is the handler of authentication of the adapter. While this is brought up though, does anyone need authentication to require a pin or maybe I should say, does anyone care about a pin to pair via BT? It can be done with or without.

egisz commented 3 years ago

Actually phone pairs, but does not connect without mentioned package...

memtech3 commented 3 years ago

I just made a PR that adds the pulseaudio module to the install.sh dependencies. Could you test it on your pi and report back? https://github.com/memtech3/dash/tree/patch-2

100