morrolinux / mpradio-py

Morrolinux's Pirate radio (PiFmAdv wrapper with Bluetooth and mp3 support) - Stream music to your car's FM radio or use it as a Bluetooth speaker via headphone jack
73 stars 11 forks source link

What happens when i disable the on-board bluetooth and use another bluetooth adapter? #66

Open GiannisDorokidis opened 3 months ago

GiannisDorokidis commented 3 months ago

I got a pi zero w installed the configuration on the latest buster lite image. Its all working great without any major problems. Also the lagging over bluetooth seems to be fixed for now but there is still noise is that because of the bluetooth chip or any other factor?

If i disable the onboard bluetooth adapter will it recoginise and work out of the box with a usb bluetooth adapter? What file do i need to edit to specify what bluetooth adapter to use (if needed)? Also the wifi is off. I used 'dtoverlay=disable-wifi' in /boot/config.txt .I will disable bluetooth the same way

GiannisDorokidis commented 3 months ago

if i change the interface "hci0"in the config located at: /usr/local/bin/mpradio-bt-setup.sh with another will it work without any problems? `#!/bin/bash

bring up bluetooth interface

hciconfig hci0 up hciconfig hci0 piscan

make sure udev events are not being ignored

systemctl force-reload udev systemd-udevd-control.socket systemd-udevd-kernel.socket

register bluetooth serial port

sdptool add SP chgrp bluetooth /var/run/sdp`