09-21-2024, 04:48 PM
(This post was last modified: 09-24-2024, 06:39 PM by mikehenson.
Edit Reason: Clean up and adding Mobian steps.
)
START EDIT:
Clean up and adding Mobian steps.
OS: DanctNIX Arch with Phosh fully updated
OS: Mobian fully updated
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
This uses PipeWire, Not PulsaAudio
DanctNIX Arch with Phosh
pipewire-alsa is required to get call audio.
alsa-utils is required to run alsamixer so we can set the Microphone volume to 0
pine64-alsa-ucm configuration files
Restart the phone
During a call, run alsamixer and set the default (PipeWire) microphone value to 0.
The Audio on the "other phone" should clear up
Plug in a headset (3.5mm headphones with microphone)
run alsamixer again and set the default (PipeWire) microphone value to 0.
DONE!
Mobian
alsa-utils is required to run alsamixer so we can set the Microphone volume
pine64-alsa-ucm configuration files
Restart the phone
During a call, run alsamixer and set the default (PipeWire) microphone value to 0.
The Audio on the "other phone" should clear up
Plug in a headset (3.5mm headphones with microphone)
run alsamixer again and set the default (PipeWire) microphone value to 0.
DONE!
Benefits
Calls are OK after each reboot
Calls are OK after deep sleep (and calls waking the phone up)
Calls are OK after plugging in a headset and switching to the headset profile in settings >> sound
The volume up and down buttons actually WORK during a phone call!!!
Issues
Plugging IN a headsets (3.5mm headphones with mic) will not switch over correctly. Go to Settings >> Sounds and select headset.
Un plugging a headset will not auto switch back to the phones earpiece and mic. Go to settings >> Sounds and select earpiece
END EDIT
START OF ORIGINAL POST
After many hours, this is how I got Calls to a stable OK state on my PinePhonePro.
OS: DanctNIX Arch with Phosh (archlinux-pinephone-pro-phosh-20240326.img)
BootLoader: rk2aw
Carrier: USA - Patriot Mobile (T-Mobile SIM)
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
1) Fresh install of the OS on the eMMC
2) Full upgrade "sudo pacman -Syu"
3) No audio during calls
4) Keep in mind, there is no pulseaudio on this version of the OS, they moved to pipewire.
5) Call audio worked, but sounded like a fright train! Extremely loud.
6) I installed "sudo pacman -S pulsemixer "
7) I did a volume change on Built-in Audio to volumes set to 0
8) This helped until a phone reboot and new nodes were created with 100 as the volume
9) I then installed "sudo pacman -S alsa-utils" to set the mic default levels to 0
10) I ran alsamixer during a phone call to set the default mic to 0 for the internal mic.
11) I plugged in a 3.5mm headset (headphones with microphone)
12) I ran alsamixer again with the headset and set the default mic to 0 again.
13) "Freight train" sound is fix. Just leaves the echo on the other (not PinePhonePro) phone
14) The default VoiceCall.conf (danctnix) file had to many options and there was an echo...
15) I tried the VoiceCall.conf from biktorgj and I had to set the default mic back to 0 with alsamixer
16) Steps to use biktorgj VoiceCall.conf
So, No "echoing" no loud feedback!
Calls are OK after each reboot
Calls are OK after deep sleep (and calls waking the phone up)
Calls are OK after plugging in a headset and switching to the headset profile in settings >> sound
EDIT: The volume up and down buttons actually WORK during a phone call!!!
I messed around with a lot settings. I am not sure the pulsemixer steps are needed...
Clean up and adding Mobian steps.
OS: DanctNIX Arch with Phosh fully updated
OS: Mobian fully updated
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
This uses PipeWire, Not PulsaAudio
DanctNIX Arch with Phosh
pipewire-alsa is required to get call audio.
Code:
sudo pacman -S pipewire-alsa
Code:
sudo pacman -S alsa-utils
Code:
cd /usr/share/alsa/ucm2/PinePhonePro/
#backups are good
sudo mv VoiceCall.conf VoiceCall.conf.org
sudo mv PinePhonePro.conf PinePhonePro.conf.org
sudo mv HiFi.conf HiFi.conf.org
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/VoiceCall.conf
sudo wget https://raw.githubusercontent.com/dreemurrs-embedded/Pine64-Arch/master/PKGBUILDS/pine64/alsa-ucm-pinephonepro/PinePhonePro.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/HiFi.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/EnableSeq.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/DisableSeq.conf
During a call, run alsamixer and set the default (PipeWire) microphone value to 0.
The Audio on the "other phone" should clear up
Plug in a headset (3.5mm headphones with microphone)
run alsamixer again and set the default (PipeWire) microphone value to 0.
DONE!
Mobian
alsa-utils is required to run alsamixer so we can set the Microphone volume
Code:
sudo apt install alsa-utils
Code:
cd /usr/share/alsa/ucm2/Rockchip/PinePhonePro/
#backups are good
sudo mv VoiceCall.conf VoiceCall.conf.org
sudo mv PinePhonePro.conf PinePhonePro.conf.org
sudo mv HiFi.conf HiFi.conf.org
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/VoiceCall.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/PinePhonePro.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/HiFi.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/EnableSeq.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/DisableSeq.conf
During a call, run alsamixer and set the default (PipeWire) microphone value to 0.
The Audio on the "other phone" should clear up
Plug in a headset (3.5mm headphones with microphone)
run alsamixer again and set the default (PipeWire) microphone value to 0.
DONE!
Benefits
Calls are OK after each reboot
Calls are OK after deep sleep (and calls waking the phone up)
Calls are OK after plugging in a headset and switching to the headset profile in settings >> sound
The volume up and down buttons actually WORK during a phone call!!!
Issues
Plugging IN a headsets (3.5mm headphones with mic) will not switch over correctly. Go to Settings >> Sounds and select headset.
Un plugging a headset will not auto switch back to the phones earpiece and mic. Go to settings >> Sounds and select earpiece
END EDIT
START OF ORIGINAL POST
After many hours, this is how I got Calls to a stable OK state on my PinePhonePro.
OS: DanctNIX Arch with Phosh (archlinux-pinephone-pro-phosh-20240326.img)
BootLoader: rk2aw
Carrier: USA - Patriot Mobile (T-Mobile SIM)
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
1) Fresh install of the OS on the eMMC
2) Full upgrade "sudo pacman -Syu"
3) No audio during calls
Code:
journalctl showed:
danctnix callaudiod[4807]: Card 'alsa_card.platform-rt5640-sound' lacks speaker and/or earpiece port, skipping...
"sudo pacman -S pipewire-alsa" stopped the "alsa_card" error.
4) Keep in mind, there is no pulseaudio on this version of the OS, they moved to pipewire.
5) Call audio worked, but sounded like a fright train! Extremely loud.
6) I installed "sudo pacman -S pulsemixer "
Code:
pulsemixer --list
Sink: ID: sink-117, Name: Built-in Audio Headphones, Mute: 0, Channels: 2, Volumes: ['40%', '40%'], Default
Source: ID: source-117, Name: Monitor of Built-in Audio Headphones, Mute: 0, Channels: 2, Volumes: ['100%', '100%']
Source: ID: source-118, Name: Built-in Audio Headset Microphone, Mute: 0, Channels: 2, Volumes: ['0%', '0%'], Default
Source output: ID: source-output-103, Name: GNOME Settings, Mute: 0, Channels: 1, Volumes: ['100%']
Source output: ID: source-output-104, Name: GNOME Settings, Mute: 0, Channels: 1, Volumes: ['100%']
7) I did a volume change on Built-in Audio to volumes set to 0
Code:
pulsemixer --id source-118 --change-volume -100
8) This helped until a phone reboot and new nodes were created with 100 as the volume
9) I then installed "sudo pacman -S alsa-utils" to set the mic default levels to 0
10) I ran alsamixer during a phone call to set the default mic to 0 for the internal mic.
11) I plugged in a 3.5mm headset (headphones with microphone)
12) I ran alsamixer again with the headset and set the default mic to 0 again.
13) "Freight train" sound is fix. Just leaves the echo on the other (not PinePhonePro) phone
14) The default VoiceCall.conf (danctnix) file had to many options and there was an echo...
15) I tried the VoiceCall.conf from biktorgj and I had to set the default mic back to 0 with alsamixer
16) Steps to use biktorgj VoiceCall.conf
Code:
cd /usr/share/alsa/ucm2/PinePhonePro/
#backups are good
sudo mv VoiceCall.conf VoiceCall.conf.org
sudo cp PinePhonePro.conf PinePhonePro.conf.org
sudo mv HiFi.conf HiFi.conf.org
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/VoiceCall.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/PinePhonePro.conf (NOT THIS ONE, it points to a different folder, use the default PinePhonePro.conf)
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/HiFi.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/EnableSeq.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/DisableSeq.conf
#backups are good
sudo cp VoiceCall.conf VoiceCall.conf.biktorgj
sudo cp HiFi.conf HiFi.conf.biktorgj
sudo cp EnableSeq.conf EnableSeq.conf.biktorgj
sudo cp DisableSeq.conf DisableSeq.conf.biktorgj
So, No "echoing" no loud feedback!
Calls are OK after each reboot
Calls are OK after deep sleep (and calls waking the phone up)
Calls are OK after plugging in a headset and switching to the headset profile in settings >> sound
EDIT: The volume up and down buttons actually WORK during a phone call!!!
I messed around with a lot settings. I am not sure the pulsemixer steps are needed...