You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mini-uart bluetooth on pi3 not working in 4.9 #2052
The mini-uart bluetooth connection on the pi3 has become unstable in kernel 4.9. The bluetooth connection works initially but after as few seconds it breaks down and the connection to the bluetooth device becomes unresponsive. Restaring the hciuart does not work and only a reboot can bring the hciuart connection back. Lowering the baudrate in the hciattach to something like 115200 does not fix it either.
Running a couple of rpi-update's I have found that the first version that breaks the mini-uart bluetooth is the first bump to kernel 4.9.11 (1371164) from 4.4.50.
I tried BlueZ 5.45 to see if it was a problem with 5.23. If I would have seen this bug report right away, I would just have downgraded my kernel. But there is so much information out there on how to "fix" bluetooth issues on RPi 3 that it took me 3 days to find this entry here.
After downgrading my kernel, everything worked fine again, also with BlueZ 5.45.
Follow-question: how shall I then upgrade the kernel in the future - if the problem gets fixed?
But didn't you note in your first message in this thread, not to use apt-get for updating the raspberrypi-kernel or raspberrypi-bootloader? Is it okay despite the downgrade?
Activity
bigiot-buildingiot commentedon Jun 15, 2017
I have the the same troubles with kernel version 4.9.30-v7+ ... also using bluez version 5.45.
How can safely downgrade my kernel?
pelwell commentedon Jun 15, 2017
Why are you using BlueZ 5.45? Raspbian Jessie ships with 5.23, and it includes patches for BCM43438 - does your version include those patches?
You can revert to the 4.4.50 kernel using:
Note that once you have reverted your kernel you should avoid updating the
raspberrypi-kernelorraspberrypi-bootloaderpackages viaapt-get.bigiot-buildingiot commentedon Jun 15, 2017
I tried BlueZ 5.45 to see if it was a problem with 5.23. If I would have seen this bug report right away, I would just have downgraded my kernel. But there is so much information out there on how to "fix" bluetooth issues on RPi 3 that it took me 3 days to find this entry here.
After downgrading my kernel, everything worked fine again, also with BlueZ 5.45.
Follow-question: how shall I then upgrade the kernel in the future - if the problem gets fixed?
pelwell commentedon Jun 15, 2017
To select the current Raspbian kernel:
or for the latest testing kernel and firmware:
pelwell commentedon Jun 15, 2017
Edit: corrected Raspbian commands.
pelwell commentedon Jun 16, 2017
This is likely to be a more elaborate duplicate of #1855.
bigiot-buildingiot commentedon Jun 17, 2017
But didn't you note in your first message in this thread, not to use apt-get for updating the raspberrypi-kernel or raspberrypi-bootloader? Is it okay despite the downgrade?
pelwell commentedon Jun 17, 2017
Only avoid the upgrade commands if you want to use a specific version of the kernel.
pelwell commentedon Jun 22, 2017
The latest rpi-update firmware (just released) includes a patch that should fix this problem.
JamesH65 commentedon Sep 13, 2017
Please update to the latest kernel which may contain a fix for this issue.