Comments (44)
Any updates on this? I patched the base pulseaudio
package in NixOS before realizing that pulseaudio-modules-bt
replaces the relevant modules and the hfp-v7
patches don't apply cleanly.
With just base pulseadio
+ hfp-v7
I lose the ability to enable A2DP as well, so that's not an option for me.
from pulseaudio-modules-bt.
See also upstream PR status at https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/254
from pulseaudio-modules-bt.
This is probably more important
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/288
from pulseaudio-modules-bt.
I would not merge any of those patches. But the idea of https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/288 is great!
I am reading/learning HSP/HFP/A2DP/... specs and bluez sources currently.
I would like to implement a daemon which handles both HSP/HFP and A2DP.
There is an perl prototype daemon at https://github.com/pali/hsphfpd-prototype
It works fine for my and a few more people
from pulseaudio-modules-bt.
Yes, using pali's hsphfpd branch I can switch between high quality audio without mic, and HSP with mic. In fact there are multiple audio profiles (HFP can't be used, but isn't useful anyway):
It would preferrably be merged into Pulseaudio, but there is a discussion that pali's changeset would remove some features used by an old component that a minority of users somehow still need, i.e. the outdated HFP profile. pali commented that it would be too much work to modify his changeset and the maintainers can't do it themselves.
Seeing that this repository here exists to me it seems like the Pulseaudio maintainers have problems to keep up with users' needs even though solutions exist.
from pulseaudio-modules-bt.
Note that @pali has deleted that fork on gitlab.
from pulseaudio-modules-bt.
See #115 (comment)
from pulseaudio-modules-bt.
So headset with HFP only profile can't work with ofono?
from pulseaudio-modules-bt.
Theory has it that ofono could work but then you have setup some sort of dummy modem and configure
stuff manually. Consider if HSP were the same, would you accept that?
HSP/HFP should work the same I think in PA. ofono is for special needs.
The first 4 patches just adds a working HFP profile which I think applies on top of your repo.
The mSBC stuff does not apply and is extra ATM
from pulseaudio-modules-bt.
Merged to https://github.com/EHfive/pulseaudio-modules-bt/commits/hfp,
could you please make a test?
My headset support both HFP and HSP, but can't get it connected with HFP.
from pulseaudio-modules-bt.
Thanks, will test but I am leaving for one a week vacation tmw so I will test when I get back(headset at home)
That said, I don't think it will work with your patch on top(to prefer HSP) as my headset has a "false"
HSP UUID that does work at all. I think that adding this was to PA was a mistake, it didn't
fix HFP headsets at all. I am referring to PA_BLUETOOTH_UUID_HSP_HS_ALT
from pulseaudio-modules-bt.
9109668 is not for prefer HSP, but leave HSP,HFP choosing to bluez.
The concernd thing is my headset can't get connected in bluez layer without that commit.
So there might be some conflicts with HSP/HFP in bluez or PA behaivor, we could add an option making module prefer HFP to solve it.
from pulseaudio-modules-bt.
Oh, I was too quick reading that commit, sorry. I will check my headset at home then.
from pulseaudio-modules-bt.
I should mention that those HFP patches on top of PA 12.2 does work for me.
from pulseaudio-modules-bt.
This branch works as well for me. Thank you very much for your work on this stuff!
from pulseaudio-modules-bt.
This branch works as well for me. Thank you very much for your work on this stuff!
Does that enable wideband speech out of the box for conference calls or do I still need to setup ofono for this?
from pulseaudio-modules-bt.
I don't know, easy to test though.
from pulseaudio-modules-bt.
Thanks for this branch/patch, I can use it to get my Logitech H800 Bluetooth head set working; however, I cannot switch to a2dp_sink_sbc ("hq audio") after I apply this patch, any idea?
from pulseaudio-modules-bt.
Apply patch on top of master ?
This branch is old
from pulseaudio-modules-bt.
thanks for the idea, that's what I did!
(running on Pulseaudio 12.2 as provided by openSUSE)
from pulseaudio-modules-bt.
These patches should not affect a2dp so not sure what is wrong.
Try rebuild you src without them and see if it works, then add a patch at a time
from pulseaudio-modules-bt.
@EHfive , any chance you can add these to your patch set ?
from pulseaudio-modules-bt.
James has upped his patch set to PA 13:
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/pulseaudio.git/log/?h=jejb-v13
from pulseaudio-modules-bt.
@EHfive , any chance you can add these to your patch set ?
As @EHfive told on #51 (comment) , the patches were added to hfp branch . BTW, the patches do their work. The only issues I have found are that the A2DP profile remains unavailable when applied, and the volume of the device can only be adjusted either at the application level or with its embedded buttons.
from pulseaudio-modules-bt.
Thanks for this branch/patch, I can use it to get my Logitech H800 Bluetooth head set working; however, I cannot switch to a2dp_sink_sbc ("hq audio") after I apply this patch, any idea?
These patches should not affect a2dp so not sure what is wrong.
Try rebuild you src without them and see if it works, then add a patch at a time
From my experience with my headphones, I guess the problem here is on PulseAudio - BlueZ interaction. PulseAudio backend first identifies all the profiles, and then it tries activating them in order to mark them as available. But the HFP profile identification does some kind of activation first, so, A2DP profile fails.
My trick to get both A2DP and HFP profiles has been:
-
Connecting the headphones: the A2DP profile should appear unavailable in pavucontrol.
-
Restarting the PulseAudio daemon (for instance, with pulseaudio -k) which is going to disconnect from the headphones.
-
Last, using some tool like bluetoothctl (blueman could also work), explicitly reconnecting to the headphones. Both HFP and A2DP profiles should appear available in pavucontrol.
EDIT: There are more tricks in next page: https://wiki.archlinux.org/index.php/Bluetooth_headset#A2DP_sink_profile_is_unavailable
from pulseaudio-modules-bt.
@jmfernandez , are you using latest bluez(5.51)? There is a patch on top of 5.51:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=52faac4648500dd45c06b6aa41f1be426c43a125
I do not know if that fixes you case, just an idea.
from pulseaudio-modules-bt.
bluez 5.52 is out
from pulseaudio-modules-bt.
Just played som with my HFP headset and i too have problems to switch to A2DP, it just fails.
But then I rembered reading somewhere that some headsets needs some fiddling.
I press Play button on headset and after that I switch between A2DP and HFP
until I turn headset off
from pulseaudio-modules-bt.
@jmfernandez There are some fixes on top of the original HFP patches over at
https://github.com/paravoid/pulseaudio/commits/hfp-v7
This stands out
bluetooth: support soft volume control for HFP
from pulseaudio-modules-bt.
@jmfernandez , are you using latest bluez(5.51)? There is a patch on top of 5.51:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=52faac4648500dd45c06b6aa41f1be426c43a125
I do not know if that fixes you case, just an idea.
bluez 5.52 is out
@joakim-tjernlund Yes, I'm currenly using 5.51 . I'm testing either the patch or 5.52 this evening, thanks!
from pulseaudio-modules-bt.
@jmfernandez There are some fixes on top of the original HFP patches over at
https://github.com/paravoid/pulseaudio/commits/hfp-v7This stands out
bluetooth: support soft volume control for HFP
That patch seem promising, I will test it
from pulseaudio-modules-bt.
Any updates on this? I patched the base
pulseaudio
package in NixOS before realizing thatpulseaudio-modules-bt
replaces the relevant modules and thehfp-v7
patches don't apply cleanly.With just base
pulseadio
+hfp-v7
I lose the ability to enable A2DP as well, so that's not an option for me.
Some headsets needs some fiddling, like pressing Play button once to allow switching.
You can find more somewhere on PA home pages.
That said, when I upgraded to bluez-5.53/5.54 my need for pressing Play went away.
from pulseaudio-modules-bt.
Tried to compile https://github.com/paravoid/pulseaudio/commits/hfp-v7 under arch linux and succeeded, but if I used it I can not switch to hfp profile anymore :/
from pulseaudio-modules-bt.
Yes please, I'd like to see battery level finally.
from pulseaudio-modules-bt.
I would not merge any of those patches. But the idea of https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/288 is great!
I am reading/learning HSP/HFP/A2DP/... specs and bluez sources currently.
I would like to implement a daemon which handles both HSP/HFP and A2DP.
from pulseaudio-modules-bt.
Has there been any progress? Optimally I would like to use your repository merged with https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/288
Because I can't switch my headset to HSP/HFP modeo with your repo, I created this AUR package together with hsphfpd which gives me a working headset with mic but unfortunately a worse audio quality than with your repo.
from pulseaudio-modules-bt.
Of course high quality A2DP is gonna be better than HFP.. But you can't really compare the two things.
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/254
This is the PR you are waiting for if any.
from pulseaudio-modules-bt.
Well yeah. But with your repo, as well as with current Pulseaudio stable release I can not even use HFP, that's my problem. Sometimes it works, sometimes it shows as unavailable, sometimes it's available but when I want to select it, it automatically jumps to "off".
I know, this repo is not a solution for high quality HFP, but with the merge request 288 I can't listen to music as the quality is too bad.
from pulseaudio-modules-bt.
With Freebuds 3 I have the same problem. I'm fine switching profiles as long as I can have one with quality audio and one with a working mic.
Going to try to package it for NixOS.
@SpineEyE can you switch between the two profiles? I'm also confused why this needs to be merged here and not into pulseaudio.
from pulseaudio-modules-bt.
Seems like @georgewhewell packaged it in https://github.com/georgewhewell/nixos-host/blob/98c6ccfb30072d1bcc207a74f223590d906737ff/modules/hsphfpd.nix
from pulseaudio-modules-bt.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from pulseaudio-modules-bt.
Seeing that this repository here exists to me it seems like the Pulseaudio maintainers have problems to keep up with users' needs even though solutions exist.
Off:
When I packaged this for Fedora last year, I was aware that pali's changes into PA could make this package obsolete quick... but it didn't. Which is actually a bit sad, but apparently PA maintainers have limited capacity.
from pulseaudio-modules-bt.
You can help them: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/962
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/733
from pulseaudio-modules-bt.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from pulseaudio-modules-bt.
Related Issues (20)
- ffmpeg_libs.c: Cannot open libavcodec library: libavcodec.so.58. /lib/i386-linux-gnu/libxvidcore.so.4: cannot make segment writable for relocation: Operation not permitted HOT 3
- Support for 2 SBC profiles HOT 2
- [Question] How to change LDAC bit rate or force highest abrQualityModeID HOT 2
- [BUG] bluetooth HSP/HFP does not work with autodetect_mtu=1 HOT 3
- [BUG] Can't build with libpulse/pulseaudio v13.99.3 HOT 2
- Module settings ignored? Cannot connect Bose 700 in Dual Channel SBC HD/XQ mode. HOT 4
- Incompatible with pulseaudio 14.0 release HOT 2
- Packaging issue? Cannot install on Fedora Silverblue 33 using RPM Fusion 33? HOT 2
- [BUG] Only SBC Available on WH-1000xm3 HOT 1
- unsupported codecs on QCC3020 device HOT 5
- [BUG] unable to create file src/modules/alsa/mixer/samples/USB Device 0x46d:0x9a4--USB Mixer: Invalid argument HOT 2
- Get it into official repositories HOT 4
- Pipewire coming to Fedora HOT 10
- Donations HOT 1
- Support for changing AAC frequency cutoff HOT 1
- Errors when trying to use SBC HOT 1
- [BUG] HOT 1
- [BUG] error: pathspec 'v14.0' did not match any file(s) known to git HOT 2
- [BUG] Can no longer switch from HFP/HSP to any other profile HOT 1
- Deprecation Announcement HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-modules-bt.