Re: omap4-droid4: voice call support was Re: [PATCHv5, 5/5] ARM: dts: omap4-droid4: add soundcard

Pavel Machek
2018-03-29T16:08:28Z

[-- Attachment #1.1: Type: text/plain, Size: 1774 bytes --]

Hi!

> @@ -510,17 +510,17 @@
> 07f4: 0000
> 07f8: 0000
> 07fc: 0000
> -0800: 0065
> -0804: 0000
> -0808: 0040
> +0800: 0025 # CPCAP_REG_VAUDIOC VAUDIO Control
> +0804: 60cf # CPCAP_REG_CC Codec Control, moto cpcap.c:1337 sets 0x0093?
> +0808: ae0a # CPCAP_REG_CDI Codec Digital Interface
> 080c: 0000
> 0810: 0004
> -0814: 0804
> -0818: 079c
> -081c: 0000
> -0820: 0924
> -0824: 0000
> -0828: 0000
> +0814: 0cc0 # CPCAP_REG_TXI TX Inputs, moto cpcap.c:1340 sets 0x0CC6?
> +0818: 0610 # CPCAP_REG_TXMP TX MIC PGA's, moto cpcap.c:1343 sets 0x0273?
> +081c: 0006 # CPCAP_REG_RXOA RX Output Amplifiers
> +0820: 0b2c # CPCAP_REG_RXVC RX Volume Control
> +0824: 0606 # CPCAP_REG_RXCOA RX Codec to Output Amps
> +0828: 0600 # CPCAP_REG_RXSDOA RX Stereo DAC to Output Amps
> 082c: 0400
> 0830: 0000
> 0834: 0030
>
> I wonder if mdm6600 is the i2s master during the voice call?
>
> Then using the n_gsm ts 27.010 uart mux, I dial:
>
> ./ngsm-rw 1 "AT+CFUN=1" # connect to network
> U0001+CFUN:OK
> ./ngsm-rw 2 "AT+CMUT=0" # unmute speaker over ch2, do this over qmi?
> U0001+CMUT:OK
> ./ngsm-rw 1 "ATD#123" # dial number
> U0001D:OK
>
> And I do hear a voice talking over the speakerphone :) Sorry have not tested the
> mic yet..

Hehe, ok, that's fun! I don't need +CMUT=0. It gave me error but then
the call worked, anyway... (I'm working with ttyUSB4).

I don't know how to hang the call up. ATH did not work for me.

And no, microphone does not work.

Thanks!
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]