29 Mar
2018
29 Mar
'18
6:41 p.m.
* Pavel Machek pavel@ucw.cz [180329 16:38]:
Hi!
And I do hear a voice talking over the speakerphone :) Sorry have not tested the mic yet..
And calling a person I can hear the other end but the mic is not working. So maybe I need to tweak the alsamixer settings too for mic?
Your override kills most settings from alsamixer. You can try to just override CPCAP_REG_VAUDIOC, CPCAP_REG_CC and CPCAP_REG_CDI and setup everything else with alsamixer.
I tried that, and could not get it to work; will try some more.
Is there easy way to get the register dump?
For mainline kernel:
# cat /sys/kernel/debug/regmap/spi0.0/registers
For Android v3.0.8 kernel, see cpcaprw on github.
Regards,
Tony