-
-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi | Bluetooth HID device reconnects slow #6127
Comments
Many thanks for your report. So it is a touch screen device attached via Bluetooth to an RPi to control stuff at the RPi, right? Indeed very hard to say what is responsible, kernel, system libraries, bluez, system setup/settings, ... First place to look for matching bug reports would be the Debian bug tracker: https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=bluez I see it works well with Linux 5.10 on a Buster system? Are you open to test with a more recent kernel version there, to see if it then slows down the same way? apt install rpi-update
rpi-update You could also run the same on the Bullseye system and see whether this helps. And to test a more recent Also RPi firmware and kernel repos could be searched for matching issues: |
Hi @MichaIng, I will start with updating the Raspberry system as you wrote and see if the issue also occurs there. In my eyes firmware cannot be the reason why as I use the same Pi4 and only swap the SD-Card. I will be busy with a lot of other tasks the next two weeks so I expect I can work on this issue at the beginning of March. So please leave this issue open I will come back with my findings. Best DrCWO |
I posted another issue in bluez for that: |
Hi @MichaIng, Best DrCWO |
Hi @MichaIng,
In this procedure you find two
I know this is a bad hack as dpkg still believes bluez is at 5.55 but I have no idea how to make a .deb to install ist properly. In the end this solved the issue of slow reconnection and proves that bluez 5.55 causes this issue 👍 👍 👍 👍 Thanks for keeping the issue open for such along time but maybe my input helps others. If you have the chance to add bluez 5.50 as a .deb to properly install it I will be very happy. Best DrCWO |
Would be interesting whether the same issue exists with bluez 5.66 on Bookworm. Btw, as long as you did not replicate the issue with the latest upstream version, upstream devs won't have much motivation to look into it. Better report to the Debian bug tracker. But since current stable is Bookworm, it only makes sense if the Bookworm package is affected as well. EDIT: Ah wait, the package is provided by the RPi repo, to correct place to report first is: https://github.com/RPi-Distro/repo/issues |
If I run dietpi-upgrade am I already on Bookworm? I saw a new kernel but still bluez 5.55? |
No, there is no |
If you like you can close this now. |
So Bluez 5.66 from Bookworm is affected as well? Just in case it is a kernel/driver issue in combination with newer Bluez, would be interesting whether the new kernel/firmware packages for RPi solve it: #6676 |
As my image did is not useable for Pi 5 I have to install all my things on your new Pi 5 release during the next months. |
As said, you can update and migrate it, hence not necessarily need to install everything freshly. But have a backup of the whole image, at best, since the migration cannot be trivially reversed.
If you go that route anyway, or find time for an upgrade (and in case downgrade) loop, that would be nice. I am still not sure where/how to report best, as I am not sure whether it more a kernel/driver issues with the RPi BT adapter, or Bluez, and if Bluez, upstream or Debian package/config. But if the latest version on Bookworm, or the new RPi kernel solve it, we would no longer have to rack our brains about it. EDIT: In case, https://github.com/RPi-Distro/repo/issues really is best, re-reading my post above. |
@DrCWO cycling through open issues, did you find time to give it a try? |
Creating a bug report/issue
Required Information
DietPi version |
-G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=10
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Distro version |
bullseye 0
Kernel version |
Linux rooExtend 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
SBC model |
RPi 4 Model B (aarch64)
Power supply used |
5V 15W
SD card used |
SanDisk ultra
Additional Information (if applicable)
Software title |
bluez
Can this issue be replicated on a fresh installation of DietPi?
yes
Steps to reproduce
Please take a look at the Issue I opened in Github: bluez/bluez#466
I currently have no idea who's responsibility this is.
Support would be very welcome:-)
Expected behavior
Immediate availability of HID device after reconnection
Actual behavior
Take more than 2s that HID device is available after reconnection
Extra details
none
The text was updated successfully, but these errors were encountered: