[alsa-devel] omap4-droid4: voice call support was Re: [PATCHv5, 5/5] ARM: dts: omap4-droid4: add soundcard
Pavel Machek
pavel at ucw.cz
Thu Mar 29 20:40:07 CEST 2018
On Thu 2018-03-29 09:41:13, Tony Lindgren wrote:
> * Pavel Machek <pavel at 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.
Thanks. I got call working including outgoing audio: in capture
settings, right->mic 1, Mic1 + Mic2 in alsamixer -> 100%. But I had
the other phone muted, so I don't yet know if such call would be of
usable quality.
Thanks!
Pavel
--- tony.as 2018-03-29 18:29:41.715742372 +0000
+++ mic.as 2018-03-29 18:33:40.910759649 +0000
@@ -258,8 +258,8 @@
0404: 0000
0408: 0000
040c: 0000
-0410: 0014
-0414: 0104
+0410: 0004
+0414: 0105
0418: 000e
041c: 00ff
0420: 44d3
@@ -515,8 +515,8 @@
0808: ae0a
080c: 0078
0810: 003c
-0814: 0cc0
-0818: 0610
+0814: 0cc4
+0818: 061f
081c: 0006
0820: 0b2c
0824: 0606
@@ -641,13 +641,13 @@
0a00: 0000
0a04: 23b6
0a08: 002b
-0a0c: 1530
+0a0c: 18ec
0a10: 0000
-0a14: 4e54
-0a18: 0036
+0a14: 6a90
+0a18: 0040
0a1c: 0000
0a20: 0000
-0a24: 0738
+0a24: 0b40
0a28: 0000
0a2c: 0000
0a30: 0000
@@ -769,12 +769,12 @@
0c00: 9004
0c04: 0136
0c08: 0000
-0c0c: 02fb
+0c0c: 02fc
0c10: 01da
-0c14: 015b
-0c18: 0300
-0c1c: 0271
-0c20: 01e5
+0c14: 015a
+0c18: 02fe
+0c1c: 0270
+0c20: 01f5
0c24: 0000
0c28: 0204
0c2c: 0205
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180329/64429300/attachment.sig>
More information about the Alsa-devel
mailing list