Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Bluetooth stops working after device has been connected #4

Closed
benp44 opened this issue Jul 18, 2017 · 1 comment
Closed

Bluetooth stops working after device has been connected #4

benp44 opened this issue Jul 18, 2017 · 1 comment

Comments

@benp44
Copy link
Contributor

benp44 commented Jul 18, 2017

NOTE: The modifications that are causing this break are only required by Raspbian Jessie (not Raspbian Stretch)
These steps can simply be removed when migrating to Stretch

Audio data from the microphone is captured and LED data is sent over the Raspberry Pi serial ports. This data is sent and received at a custom baud rate of 250KHz, hence the serial port baud rate is set via /boot/config.txt:

enable_uart=1
init_uart_clock=1627604
init_uart_baud=460800

Although these settings are documented as only affecting the secondary, mini uart port, they seem to disable Bluetooth.

After the pi-topPULSE is disconnected, these settings are not restored to their defaults, so the pi-topPULSE can be reconnected and used without rebooting.

Workaround

For the time being, it is possible to restore Bluetooth functionality after using a pi-topPULSE by manually commenting out these settings in /boot/config.txt.

  1. Disconnect the pi-topPULSE. If a pi-topPULSE is connected, serial device settings will be restored automatically.

  2. In a terminal window run the following:
    sudo leafpad /boot/config.txt

  3. Find the following lines:

init_uart_clock=1627604
init_uart_baud=460800
  1. Comment them out by adding a # symbol in front of each:
#init_uart_clock=1627604
#init_uart_baud=460800
  1. Save the file
  2. Reboot your Pi
@benp44 benp44 added this to the 0.5.1 Dashboard Release milestone Jul 18, 2017
@m-roberts m-roberts changed the title Bluetooth stops working after a Pulse has been connected Bluetooth stops working after device has been connected Jul 18, 2017
@benp44 benp44 removed this from the pi-topOS 0.5.1 Release milestone Jul 26, 2017
@m-roberts
Copy link
Collaborator

Closing this, as this no longer happens on Stretch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants