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

pipewire + phone calls do not work on the pinephone pro. #648

Open
ewtoombs opened this issue Jul 17, 2024 · 7 comments
Open

pipewire + phone calls do not work on the pinephone pro. #648

ewtoombs opened this issue Jul 17, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@ewtoombs
Copy link

ewtoombs commented Jul 17, 2024

Device info

  • Device: PinePhone (Pro)
  • Kernel Version : 6.7.7-1-danctnix
  • UI: Phosh

Describe the bug
Phone calls start, but are silent both ways.

To Reproduce
Steps to reproduce the behavior:
0. vol up + power on

  1. connect USB.
  2. curl -L 'https://github.com/dreemurrs-embedded/Pine64-Arch/releases/download/20240326/archlinux-pinephone-pro-phosh-20240326.img.xz' | xzcat | sudo dd of=/dev/<the device node> bs=1M conv=fsync
  3. Reboot the phone.
  4. Configure wifi.
  5. Enable ssh.
  6. pacman -Syu
  7. Reboot the phone.
  8. Try calling the phone.

Expected behavior
I hear call audio.

Logfiles and additional information
Switching back to pulseaudio fixes it:
0. pacman -Rdd pipewire-pulse

  1. pacman -S pulseaudio-alsa
  2. pacman -Rs pipewire-audio pipewire-session-manager
  3. Reboot.
  4. Call the phone again.

Before submitting a bug report, please be sure that you have done the following:

  • [ * ] I have checked for updates (pacman -Syu) and installed the updates but the problem persisted.
  • [ * ] I am not using Megi's multiboot image, which is unsupported by the developer.
@ewtoombs ewtoombs added the bug Something isn't working label Jul 17, 2024
@lajonss
Copy link

lajonss commented Jul 18, 2024

This issue has been bugging me for some time now, but I was unable to pin the problem down: #645
I'm glad it's not just me. Unfortunately this workaround doesn't seem to fix the problem for me.

@Danct12
Copy link
Member

Danct12 commented Jul 18, 2024

Try the latest callaudiod from the testing repo (you need to enable it by editing pacman.conf)

@ewtoombs
Copy link
Author

Try the latest callaudiod from the testing repo (you need to enable it by editing pacman.conf)

You mean from [danctnix-testing]?

@ewtoombs
Copy link
Author

ewtoombs commented Jul 18, 2024

Try the latest callaudiod from the testing repo (you need to enable it by editing pacman.conf)

I installed callaudiod from [danctnix-testing].
That fixed the first problem, but now I have a different problem.
Say my ppp is phone A and the phone it is phoning is phone B.
Audio gets from B's microphone to A's speaker, though it's a little quiet.
I can't really hear any audio at all coming from A's microphone to B's speaker.
Instead, on B's speaker, I can hear really bad feedback loops.

@mikeshenson
Copy link

ewtoombs,
I just did a complete rebuild of my PinePhonePro with Phosh. Here is a link to how I got calls working.
https://forum.pine64.org/showthread.php?tid=19428

Danct12,
Thank you for all the great work you have done and are doing!

@ewtoombs
Copy link
Author

Sounds like you switched to Biktorbg's UCM, @mikeshenson, and it worked.

Except for PinePhonePro.conf, though.
Why didn't you switch it over exactly?

@mikeshenson
Copy link

mikeshenson commented Sep 23, 2024

Simple Answer, I updated the Biktorgj 0.8.0 because I was told it helped a lot with calls.

Long answer:
I have used the PinePhonePro for over a year now. Early on, the Biktorgj 0.7.2 firmware worked really good. I had calls at an OK state. So, in my experience, I have had calls working in different states. Last week, I had to reload the OS on the PinePhonePro. I was having calls issues and I was told the Biktorgj 0.8.0 helped a lot with calls.

Definitions:
"during a call" is any phone call started or received between my PinePhonePro and my wife's Android phone.
"Freight train" is during a call, the Android phone sounds like the PinePhonePro is on a train, Android phone is extremely loud and full of noise.
"Echo" is during a call, the Android phone has a clear half second delay an echo. My wife would hear herself.
"DanctNIX VoiceCall.conf" also includes the DanctNIX HiFi.conf, PinePhone.conf
"Biktorgj VoiceCall.conf" also includes the DanctNIX PinePhone.conf and the Biktorgj HiFi.conf, EnableSeq.conf and DisableSeq.conf

In all situations I tested, the PinePhonePro always seamed to be OK. It was always the Android phone that showed the issues.

Scenario one:
OS: DanctNIX Arch with Phosh (archlinux-pinephone-pro-phosh-20230203.img.xz)
EG25 Firmware: Biktorgj 0.7.2
Audio: Pulseaudio (not pipewire)
DanctNIX VoiceCall.conf
With some slight edits of the VoiceCall.conf the "Freight train" was fixed and there was only a slight whisper of an "echo".

Scenario two:
OS: DanctNIX Arch with Phosh (archlinux-pinephone-pro-phosh-20240326.img.xz)
EG25 Firmware: Biktorgj 0.7.2
Audio: pipewire (not Pulseaudio)
DanctNIX VoiceCall.conf
With some slight edits of the VoiceCall.conf the "Freight train" was fixed and there was a clear and audible "echo".
Biktorgj VoiceCall.conf
With and without edits on VoiceCall.conf the "Freight train" was an issue.

Scenario three:
OS: DanctNIX Arch with Phosh (archlinux-pinephone-pro-phosh-20240326.img.xz)
EG25 Firmware: Biktorgj 0.8.0
Audio: pipewire (not Pulseaudio)
DanctNIX VoiceCall.conf
With and without edits on VoiceCall.conf the "Freight train" was fixed and there was a clear and audible "echo".
Biktorgj VoiceCall.conf
Setting the PipeWire Mic volume to 0 with alsamixer.
Without edits on VoiceCall.conf the "Freight train" was fixed and the "echo" is fixed. Also, the side volume up and down buttons work during a phone call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants