-
Notifications
You must be signed in to change notification settings - Fork 1
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
having some trouble keeping a stable connection #1
Comments
Try without
This is a classic symptom of dropped PCM samples. I've seen it with a Pi3 two or three years ago, before Raspbian fixed up the UART config correctly for bluetooth. Possibly some other device (maybe console?) is using the same UART as bluetooth during and just after boot. You could try a USB adapter to rule out UART issues. I've only used this fork on an Intel box (I developed it specifically for use with chromium browser). I don't have a Pi4, but do have a spare Pi Zero W I could use for testing. It may take me a couple of weeks before I can set it up though. |
Looks like some service has failed. What does |
I'm still testing. Your hint that the bluetooth stutter may have come from serial being enabled was spot on. Disabling that seems to have improved that situation already. Now I'm testing longevity. My speakers are sending out a submarine Ping sound every 30 seconds, until I tune it out.. and at some point I go "hey, where did the sound go" :-) |
The speaker seems to remain connected so far. I'm playing silence every 30 seconds. I am seeing an error, but the speaker seems to still be connected (I can play music to it).
Would you mind if a ask a few other questions regarding bluetooth? Feel free to ignore. The speaker I'm currently testing with is a JBL GO. It has a microphone and can accept phone calls. When I check the systemctl status of bluetooth.service, I see an error once in a while:
Bluetooth is started with: The mac address of my Raspberry Pi 4's bluetooth adapter seems to be wrong: AA:AA:AA:AA:AA:AA. I've tried removing the bluetooth folder, which is a solution I found online, but to no avail. Could it be because the bluetooth folder is on a second partition that is mounted over I've also been trying to allow the system to connect to bluetooth keyboards and mice. To original system is "Raspbian lite", which has been modified to run a minimal kiosk desktop (X11, openbox, chromium-browser). After enabling a kernel mod file I can now see the keyboard presses coming into bluetooth via |
|
And just like that the keyboard started working. Thank you SO much, I never would have figured that out! |
Good news, this morning the connection has survived all through the night. I also managed to fix the AA:AA:AA:AA:AA:AA following the advise in this thread to create a symlink: Perhaps the "Headset Voice gateway failed connect" error was also caused by my plugin abuse :-) |
So far I have only tested SBC and AptX codecs. Once you are happy with your system setup, if you could possibly report back results with other codecs that would be very helpful for knowing if the mixing code is ready for merging upstream. I've done very little testing of the snoop code, so anything you can contribute there would also very useful. |
I'm using the legally 'safe' codecs, as mentioned here: APTx is not part of that. MP3Lame is, and I'm listening to internet radio streams via ffplay, most of which are MP3. It's mixing in 22500 and 16000 wav files from voice control via aplay. So far it's been perfect. |
I don't know if I should post this here or at BlueAlsa "prima", but I thought it safe to start here, since I'm now using your version.
First: it rocks. It's so nice to have the audio mixing work transparently.
I'm having some trouble keeping a speaker connected to my Raspberry Pi 4B though, and I'm not sure where to start debugging this.
This is now BlueAlsa is started in the systemd file:
This is an error I spotted:
I suspect the first two lines refer to the speaker being offline.
The text was updated successfully, but these errors were encountered: