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

Device becomes unresponsive when switching bluetooth profile #35

Open
akss13 opened this issue Aug 5, 2020 · 2 comments
Open

Device becomes unresponsive when switching bluetooth profile #35

akss13 opened this issue Aug 5, 2020 · 2 comments

Comments

@akss13
Copy link

akss13 commented Aug 5, 2020

I'm trying to create a script that checks the battery status at regular intervals. My headphone also has a mic so I have to switch Bluetooth profile from A2DP to HSP/HFP since A2DP doesn't allow mic and speaker to work simultaneously. Since the release of Pulseaudio v. 11.0 this profile switching can be performed automatically. (I've followed this guide to do so. It works.)
But if the script runs while I'm on HSP/HFP profile the headphones become unresponsive. I have to restart the headphone to get them working. Any workarounds?

@TheWeirdDev
Copy link
Owner

I don't know any workarounds for this at the moment. I have made a few changes to the script today. You might want to give it another try.

@akss13
Copy link
Author

akss13 commented Aug 5, 2020

Gave the new script a try, doesn't solve the problem. When the headphones are in HSP/HFP profile, and the script is run the connections breaks but even after that battery status can be checked. Maybe the problem lies with how PulseAudio handles HSP/HFP profile.

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