~mil/sxmo-tickets#502: 
"We failed to reset call audio"

On latest git head. To reproduce: On PHONE A call the pinephone. Let it ring once or twice. Hang up on PHONE A. We consistently get the "We failed to reset call audio" red notification error.

Not quite sure the solution just yet, but noting this before I forget :D

Status
RESOLVED IMPLEMENTED
Submitter
~phartman
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~mungfusensei 2 years ago*

I ran into this a lot while trying to rewrite sxmo_modemaudio.sh to use pactl instead of callaudiod. Here's my version for reference. It's still WIP, but I was able to get rid of that problem.

https://termbin.com/1c59

Tweaking the volume made sure that the sink/card was not suspended, which allowed the switch to happen. It's probably not the right way to fix it, but it works.

EDIT: I should note that I did this to solve both "failed to setup" and "failed to reset" errors, not sure if it'd solve your exact issue with the sequence you stated.

~rbrewer 2 years ago

I got this error with a fresh install of the official build of pmOS Edge with sxmo-de-sway 1.9.0 on my OG pinephone. It happened for me by calling the pinephone from another phone, answering the call, and after 5 or 10 seconds I hung up the call on the calling phone.

~aren 2 years ago

I tracked this down a few days ago and sent a patch to fix it https://lists.sr.ht/~mil/sxmo-devel/patches/31955

The only thing I find odd is why it (reportedly, I couldn't get it to) sometimes works. During my investigation the mic was always re-enabled by callaudiocli when disabling call audio, which caused the checks to fail.

~earboxer 2 years ago

I tried out ~mungfusensei's sxmo_modemaudio.sh, and got it working after changing _card and _sink to grep -v out the _hdmi entries, and changing "VoiceCall" to "Voice Call". (I'm using pipewire, if that's relevant).

It seemed to work fine for receiving a call, and switching back/forth between speaker phone/earpiece, but when I plugged in headphones, nothing worked any more. (it should be noted that callaudiod was still running in the background, just not sure what exactly it does anyway.)

~baroque0 2 years ago

Since the switch to pw i have this message after every phone call.

~phartman 2 years ago

On Mon, May 16, 2022 at 08:16:39AM +0000, ~baroque0 wrote:

Since the switch to pw i have this message after every phone call.

What is pw?

-- sic dicit magister P https://phartman.sites.luc.edu/ GPG keyID 0xE0DBD3D6 (CAE6 3A6F 755F 7BC3 36CA 330D B3E6 39C6 E0DB D3D6)

~earboxer 2 years ago

pipewire. I have always had this message (since I started taking phone calls last month; have been using pipewire-pulse exclusively).

~stacyharper REPORTED IMPLEMENTED 2 years ago

Register here or Log in to comment, or comment via email.