07-19-2023, 07:03 AM
(07-19-2023, 05:40 AM)DominiqueM Wrote:(07-13-2023, 06:46 AM)Dominique M Wrote: I do not like the idea of modifying in /usr because it is against the spirit of Linux and lost in upgrade. I would like to override only the 47 with 160, say in /etc. Suppose I write something as
SectionVerb {
EnableSequence [
# Set capture volume to 0dB so modem audio doesn't overdrive the ADC
cset "name='ADC Capture Volume' 160"
cset "name='Mono ADC Capture Volume' 160"
]
DisableSequence [
]
Value {
TQ "HiFi"
}
}
1. Will this override only the value 47 or override and break all of PinePhonePro.conf? 2. Where, under what name, in which file under /etc/alsa? (I never did such a thing in my life.)
Rules are rules… but I could not wait, so I did
sudo sed -i 's/47/160/g' /usr/share/alsa/ucm2/PinePhonePro/VoiceCall.conf
sudo sed -i 's/47/160/g' /usr/share/alsa/ucm2/PinePhonePro/HiFi.conf
and it works perfectly. Thanks to all the people who ever mentioned 47 and 160.
Some Mobian images (like mobian-pinephonepro-phosh-20230709) give other path: /usr/share/alsa/ucm2/Rockchip/PinePhonePro/
Anyway, I have a new annoying problem for phone calls: not sound at all (not outgoing, not incoming).
@Dominique M, in post prior to the above it was stated that phone audio worked perfectly after sed change from 47 to 160. That was a week or so ago. When did the complete audio go out, for how long did it work, how many calls did it work on, and did you change anything OS/desktop software related?
thanks, tom kosvic