I have managed to get some degree of functionality with this on my pinephone pro. Not with a new pipewire profile, but rather with some amixer changes to the sound card to provide "dangling software wires" for the inputs and outputs to the phone modem, and then a perl script to monitor every second for a voice call state, and then use the pulseaudio / pipewire module-loopback to connect all the available ports together, and reset the state when the call is ended. I should acknowledge that I've used some of megi's insights into the device to get where I am now.
This does not implement the ability to type in a number using the car interface ( rather more advanced than I can get my head around), but it does work quite well, with decent audio quality and without doing any fiddles the system ( at least in my car ) does not feedback between the two audio channels and maybe cuts between them well ( but I'm not sure exactly what it does, only that it works). But you can type in a number into the pinephone, and after a few seconds it will notice the voice call state and hook up the bluetooth interface to the bluetooth effective mic and speaker. You can also answer a call too, but it can get confused if you are playing audio on the car system. Also, in can get confused about the voice call state, but I may have fixed this problem, I've not had it for a while now. I personally find this "hack" satisfying and worth using, gives me a good use of the pinephone pro while driving around.
I'm happy to put the effort into making it available for the said bounty - equally, I know that in the fine tradition of you get an answer to a question on the internet by asking the question and then posting your own wrong answer, similarly the real experts only get involved when they know someone is making a half-arsed attempt because they don't want to get shown up. Further, I'll donate 10% of the bounty to megi if he wants it and this actually happens and I get my paws on it.
Well, if I prompt people to actually write the necessary pulseaudio/pipewire profile, I don't mind missing out on the bounty as long as I get a better solution for my own pinephone pro. I wrote it because I couldn't find anything better out there.
But ... there's the bounty ... and here's a nibble. Is a perl script hack what people are willing to pay for, or does it need to be the "profile" mentioned? Clearly I need to identify myself better than just being some random voice on the internet, but one thing at a time.
This does not implement the ability to type in a number using the car interface ( rather more advanced than I can get my head around), but it does work quite well, with decent audio quality and without doing any fiddles the system ( at least in my car ) does not feedback between the two audio channels and maybe cuts between them well ( but I'm not sure exactly what it does, only that it works). But you can type in a number into the pinephone, and after a few seconds it will notice the voice call state and hook up the bluetooth interface to the bluetooth effective mic and speaker. You can also answer a call too, but it can get confused if you are playing audio on the car system. Also, in can get confused about the voice call state, but I may have fixed this problem, I've not had it for a while now. I personally find this "hack" satisfying and worth using, gives me a good use of the pinephone pro while driving around.
I'm happy to put the effort into making it available for the said bounty - equally, I know that in the fine tradition of you get an answer to a question on the internet by asking the question and then posting your own wrong answer, similarly the real experts only get involved when they know someone is making a half-arsed attempt because they don't want to get shown up. Further, I'll donate 10% of the bounty to megi if he wants it and this actually happens and I get my paws on it.
Well, if I prompt people to actually write the necessary pulseaudio/pipewire profile, I don't mind missing out on the bounty as long as I get a better solution for my own pinephone pro. I wrote it because I couldn't find anything better out there.
But ... there's the bounty ... and here's a nibble. Is a perl script hack what people are willing to pay for, or does it need to be the "profile" mentioned? Clearly I need to identify myself better than just being some random voice on the internet, but one thing at a time.