* [Buildroot] Problem with Raspberry Pi 3B+and BT @ 2018-10-11 8:45 Oscar Gomez Fuente 2018-10-11 12:48 ` Matthew Weber 0 siblings, 1 reply; 10+ messages in thread From: Oscar Gomez Fuente @ 2018-10-11 8:45 UTC (permalink / raw) To: buildroot Hi everyone, I have a problem with the Bluetooth on my raspberry pi 3B+, I have installed the following packages: [*] bluez-tools [*] bluez-utils 5.x [*] build OBEX support [*] build CLI client [*] build experimental obexd plugin [*] build health plugin [*] build midi profile [*] build nfc plugin [*] build sap plugin [*] build sixaxis plugin [*] build tests [*] install bdaddr tool I'm using the raspberry pi for scanning BT devices continuously, using this command: # bt-adapter -a hci0 -d And everything works fines, but occasionally this command fails and Ii doesn't work anymore and I have to reboot my HW. I was taking a look at the kernel messages: [25124.029835] Bluetooth: hci0: Frame reassembly failed (-84) [25124.031902] Bluetooth: hci0: Frame reassembly failed (-90) [25124.033665] Bluetooth: hci0: Frame reassembly failed (-84) [28601.218856] Bluetooth: hci0 advertising data length corrected [29425.140974] Bluetooth: hci0: Frame reassembly failed (-84) [29427.218670] Bluetooth: Failed to disable LE scan: status 0x1f [29427.220413] Bluetooth: hci0 command 0x200c tx timeout [29561.841776] Bluetooth: hci0 command 0x200c tx timeout Does anyone if it is a problem related to the driver (kernel level) or something related to the package bluez-utils 5.x? Best regards. Oscar Gomez Fuente TST Sistemas www.tst.sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-11 8:45 [Buildroot] Problem with Raspberry Pi 3B+and BT Oscar Gomez Fuente @ 2018-10-11 12:48 ` Matthew Weber 2018-10-11 14:44 ` Oscar Gomez Fuente 2018-10-12 21:41 ` Peter Seiderer 0 siblings, 2 replies; 10+ messages in thread From: Matthew Weber @ 2018-10-11 12:48 UTC (permalink / raw) To: buildroot Oscar, On Thu, Oct 11, 2018 at 3:46 AM Oscar Gomez Fuente <oscargomezf@gmail.com> wrote: > > Hi everyone, > > I have a problem with the Bluetooth on my raspberry pi 3B+, I have > installed the following packages: > > [*] bluez-tools > [*] bluez-utils 5.x > [*] build OBEX support > [*] build CLI client > [*] build experimental obexd plugin > [*] build health plugin > [*] build midi profile > [*] build nfc plugin > [*] build sap plugin > [*] build sixaxis plugin > [*] build tests > [*] install bdaddr tool > > I'm using the raspberry pi for scanning BT devices continuously, using > this command: > > # bt-adapter -a hci0 -d > > And everything works fines, but occasionally this command fails and Ii > doesn't work anymore and I have to reboot my HW. I was taking a look > at the kernel messages: > > [25124.029835] Bluetooth: hci0: Frame reassembly failed (-84) > [25124.031902] Bluetooth: hci0: Frame reassembly failed (-90) > [25124.033665] Bluetooth: hci0: Frame reassembly failed (-84) > [28601.218856] Bluetooth: hci0 advertising data length corrected > [29425.140974] Bluetooth: hci0: Frame reassembly failed (-84) > [29427.218670] Bluetooth: Failed to disable LE scan: status 0x1f > [29427.220413] Bluetooth: hci0 command 0x200c tx timeout > [29561.841776] Bluetooth: hci0 command 0x200c tx timeout > That looks kernel related. I believe the PI has some GPU firmware loaded that applies to bluetooth. I've never tried updating it, however there are tools out there to update the firmware that's stored in some non-volatile space on the board. https://github.com/Hexxeh/rpi-update # notes here: https://raspberrypi.stackexchange.com/questions/164/how-do-i-update-software-and-firmware Another idea would be verifying your power supply is large enough to accommodate bluetooth. To check this, If you have other USB devices attached, unplug a few usb devices, startup and see if bluetooth is more stable. Matt ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-11 12:48 ` Matthew Weber @ 2018-10-11 14:44 ` Oscar Gomez Fuente 2018-10-12 21:41 ` Peter Seiderer 1 sibling, 0 replies; 10+ messages in thread From: Oscar Gomez Fuente @ 2018-10-11 14:44 UTC (permalink / raw) To: buildroot Hi Mattew, > Another idea would be verifying your power supply is large enough to > accommodate bluetooth. To check this, If you have other USB devices > attached, unplug a few usb devices, startup and see if bluetooth is > more stable. I am using a 5V at 3A power supply, and I was checking with a Power Analyzer, the maximum peak current is 1.9A, so I am sure that the power supply is good enough. Best regards. Oscar Gomez Fuente TST Sistemas www.tst.sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-11 12:48 ` Matthew Weber 2018-10-11 14:44 ` Oscar Gomez Fuente @ 2018-10-12 21:41 ` Peter Seiderer 2018-10-13 9:13 ` Oscar Gomez Fuente 1 sibling, 1 reply; 10+ messages in thread From: Peter Seiderer @ 2018-10-12 21:41 UTC (permalink / raw) To: buildroot Hello Oscar, Matt, On Thu, 11 Oct 2018 07:48:43 -0500, Matthew Weber <matthew.weber@rockwellcollins.com> wrote: > Oscar, > > On Thu, Oct 11, 2018 at 3:46 AM Oscar Gomez Fuente > <oscargomezf@gmail.com> wrote: > > > > Hi everyone, > > > > I have a problem with the Bluetooth on my raspberry pi 3B+, I have > > installed the following packages: > > > > [*] bluez-tools > > [*] bluez-utils 5.x > > [*] build OBEX support > > [*] build CLI client > > [*] build experimental obexd plugin > > [*] build health plugin > > [*] build midi profile > > [*] build nfc plugin > > [*] build sap plugin > > [*] build sixaxis plugin > > [*] build tests > > [*] install bdaddr tool > > > > I'm using the raspberry pi for scanning BT devices continuously, using > > this command: > > > > # bt-adapter -a hci0 -d > > > > And everything works fines, but occasionally this command fails and Ii > > doesn't work anymore and I have to reboot my HW. I was taking a look > > at the kernel messages: > > > > [25124.029835] Bluetooth: hci0: Frame reassembly failed (-84) > > [25124.031902] Bluetooth: hci0: Frame reassembly failed (-90) > > [25124.033665] Bluetooth: hci0: Frame reassembly failed (-84) > > [28601.218856] Bluetooth: hci0 advertising data length corrected > > [29425.140974] Bluetooth: hci0: Frame reassembly failed (-84) > > [29427.218670] Bluetooth: Failed to disable LE scan: status 0x1f > > [29427.220413] Bluetooth: hci0 command 0x200c tx timeout > > [29561.841776] Bluetooth: hci0 command 0x200c tx timeout > > > > That looks kernel related. I believe the PI has some GPU firmware > loaded that applies to bluetooth. I've never tried updating it, > however there are tools out there to update the firmware that's stored > in some non-volatile space on the board. > https://github.com/Hexxeh/rpi-update # notes here: > https://raspberrypi.stackexchange.com/questions/164/how-do-i-update-software-and-firmware The GPU Firmware is stored on the SD card image, the given links are about updating the firmware when using a Raspbian SD card image, for the buildroot way to update to latest versions see [1]... > > Another idea would be verifying your power supply is large enough to > accommodate bluetooth. To check this, If you have other USB devices > attached, unplug a few usb devices, startup and see if bluetooth is > more stable. Or try out a latest original Raspbian image and check if your errors occur there too (sorry no B+ at hand to try out myself, only a legacy B one)... Regards, Peter [1] http://lists.busybox.net/pipermail/buildroot/2018-October/233136.html > > Matt > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-12 21:41 ` Peter Seiderer @ 2018-10-13 9:13 ` Oscar Gomez Fuente 2018-10-16 6:45 ` Oscar Gomez Fuente 0 siblings, 1 reply; 10+ messages in thread From: Oscar Gomez Fuente @ 2018-10-13 9:13 UTC (permalink / raw) To: buildroot Hi Peter, Thank you very much for your help. I will try on Monday I will report it to you. Do you know if there is any plan to add WiFi monitor support on the kernel driver for the WiFi /BT chip: CYW43455 on Raspberry Pi 3B+? Best regards. Oscar Gomez Fuente TST Sistemas www.tst-sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-13 9:13 ` Oscar Gomez Fuente @ 2018-10-16 6:45 ` Oscar Gomez Fuente 2018-10-16 21:56 ` Peter Seiderer 0 siblings, 1 reply; 10+ messages in thread From: Oscar Gomez Fuente @ 2018-10-16 6:45 UTC (permalink / raw) To: buildroot Hi Peter, I've tried the BT with the new rpi-bt-firmware [8c1e2bff1d], rpi-wifi-firmware [8c1e2bff1d] and linux-firmware [44d4fca992] and new linux [6d27aa156c] packages, but it fails with the same error: [30090.903743] Bluetooth: hci0: Frame reassembly failed (-84) [30092.980340] Bluetooth: Failed to disable LE scan: status 0x1f [30092.980346] Bluetooth: hci0 command 0x200c tx timeout After around 8 hours the BT didn't work again. Does anyone any suggestion? Best regards. Oscar Gomez Fuente TST Sistemas www.tst-sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-16 6:45 ` Oscar Gomez Fuente @ 2018-10-16 21:56 ` Peter Seiderer 2018-10-17 6:37 ` Oscar Gomez Fuente 0 siblings, 1 reply; 10+ messages in thread From: Peter Seiderer @ 2018-10-16 21:56 UTC (permalink / raw) To: buildroot Hello Oscar, On Tue, 16 Oct 2018 08:45:36 +0200, Oscar Gomez Fuente <oscargomezf@gmail.com> wrote: > Hi Peter, > > I've tried the BT with the new rpi-bt-firmware [8c1e2bff1d], > rpi-wifi-firmware [8c1e2bff1d] and linux-firmware [44d4fca992] and new > linux [6d27aa156c] packages, but it fails with the same error: > > [30090.903743] Bluetooth: hci0: Frame reassembly failed (-84) > [30092.980340] Bluetooth: Failed to disable LE scan: status 0x1f > [30092.980346] Bluetooth: hci0 command 0x200c tx timeout > > After around 8 hours the BT didn't work again. > > Does anyone any suggestion? Do the check with an original Raspbian Image, if the same error occurs complain upstream about it, otherwise find out what makes the difference... Try the search the web, your are not the only one with this problem [1], [2]... Regards, Peter [1] https://github.com/raspberrypi/linux/issues/2264 [2] https://raspberrypi.stackexchange.com/questions/70217/tons-of-bluetooth-hci0-frame-reassembly-failed-84-messages > > Best regards. > > Oscar Gomez Fuente > TST Sistemas > www.tst-sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-16 21:56 ` Peter Seiderer @ 2018-10-17 6:37 ` Oscar Gomez Fuente 2018-10-29 7:24 ` Oscar Gomez Fuente 0 siblings, 1 reply; 10+ messages in thread From: Oscar Gomez Fuente @ 2018-10-17 6:37 UTC (permalink / raw) To: buildroot Hi Peter, Thank you very much for your help, after reading other similar problems, it seems to be it could be related due to the speed. Right now the uart speed is set to 921600 bps, I'm going to try to reduce the speed to 460800 bps. I will report to you if the problem was solved. Best regards. Oscar Gomez Fuente TST Sistemas www.tst-sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-17 6:37 ` Oscar Gomez Fuente @ 2018-10-29 7:24 ` Oscar Gomez Fuente 2018-10-29 18:38 ` Peter Seiderer 0 siblings, 1 reply; 10+ messages in thread From: Oscar Gomez Fuente @ 2018-10-29 7:24 UTC (permalink / raw) To: buildroot Hi everyone, I was checking with lower speed: 460800bps instead of 921600bps and the same problem. Best regards. Oscar Gomez Fuente TST Sistemas www.tst-sistemas.es ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] Problem with Raspberry Pi 3B+and BT 2018-10-29 7:24 ` Oscar Gomez Fuente @ 2018-10-29 18:38 ` Peter Seiderer 0 siblings, 0 replies; 10+ messages in thread From: Peter Seiderer @ 2018-10-29 18:38 UTC (permalink / raw) To: buildroot Hello Oscar, On Mon, 29 Oct 2018 08:24:12 +0100, Oscar Gomez Fuente <oscargomezf@gmail.com> wrote: > Hi everyone, > > I was checking with lower speed: 460800bps instead of 921600bps and > the same problem. Thanks for the update, but I think your problem is maybe not buildroot specific? My remaining (and repeated) advice: Do the check with an original Raspbian Image, if the same error occurs complain upstream about it, otherwise find out what makes the difference... Nevertheless an update on success/failure is welcome ;-) Regards, Peter > > Best regards. > > Oscar Gomez Fuente > TST Sistemas > www.tst-sistemas.es > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-10-29 18:38 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-10-11 8:45 [Buildroot] Problem with Raspberry Pi 3B+and BT Oscar Gomez Fuente 2018-10-11 12:48 ` Matthew Weber 2018-10-11 14:44 ` Oscar Gomez Fuente 2018-10-12 21:41 ` Peter Seiderer 2018-10-13 9:13 ` Oscar Gomez Fuente 2018-10-16 6:45 ` Oscar Gomez Fuente 2018-10-16 21:56 ` Peter Seiderer 2018-10-17 6:37 ` Oscar Gomez Fuente 2018-10-29 7:24 ` Oscar Gomez Fuente 2018-10-29 18:38 ` Peter Seiderer
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.