Skip to content
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

BT audio not always routed correctly #105

Open
piggz opened this issue Apr 23, 2021 · 1 comment
Open

BT audio not always routed correctly #105

piggz opened this issue Apr 23, 2021 · 1 comment

Comments

@piggz
Copy link

piggz commented Apr 23, 2021

This is probably some weird corner case, but i will raise it now that you support BT_SCO param.

Sometimes audio is not correctly routed to my car kit. Example, today, i was in the car, and I have 2 BT devices, 1 for audio only and and the car kit. Phone is paired with both. I was playing audio to the audio-only device, which always worked. I then disconnected both devices, and connected to just the car kit and made a call. No audio was connected, and I had to use speaker.

Please indicate which logs would be most useful.

@jusa
Copy link
Contributor

jusa commented May 12, 2021

Please indicate which logs would be most useful.

logcat, pulseaudio and ohmd.. make sure to disable rate limiter before taking logs from journal.

usual things to enable logging, for pulseaudio
. /etc/sysconfig/pulseaudio ; echo "CONFIG=\"$CONFIG -vvvv\"" > /etc/sysconfig/pulseaudio

for ohm install ohm-tracing package

disable ratelimiter

sed -i 's/.*RateLimitBurst.*/RateLimitBurst=0/' /etc/systemd/journald.conf
sed -i 's/.*RateLimitInterval=.*/RateLimitInterval=0/g' /etc/systemd/journald.conf
sed -i 's/^RuntimeMaxUse/#RuntimeMaxUse/g' /etc/systemd/journald.conf

After these reboot and take logs of all use cases, working and failing

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

No branches or pull requests

2 participants