On Wed, Mar 28, 2018 at 04:02:19PM +0200, Sebastian Reichel wrote:
> In case of the last two variants, the bus clock is provided by
> CPCAP, so it needs to be enabled for any audio stream. I suppose
> the codec <-> codec as part of TDM is out of scope for the graph
> card and we need a Droid 4 spe
* Tony Lindgren [180329 22:00]:
> If it entered low-power mode, in theory we should see the state
> change interrupt that's handled by phy-mapphone-mdm6600.c.
> I never managed to do that so far so maybe you figured it out
> with some command.
And looks like the trigger to mdm6600 to enter low po
Hi!
> > 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.
>
> OK I'll try to narrow it down and play with the mic settings
> tonight or over the weekend.
No, just the
Hi!
> > > Would you mind sharing those hacks - I would like to play around with
> > > ofonod as well. Maybe I can help with a way forward.
> >
> > Okay. Here's less hacky version of the hack, but still using AT
> > commands. You still need to set up udev, as described in the other
> > mail.
> >
On Fri 2018-03-30 19:50:50, Pavel Machek wrote:
> On Fri 2018-03-30 15:07:24, Merlijn Wajer wrote:
> > On 30/03/18 12:37, Pavel Machek wrote:
> > > On Thu 2018-03-29 14:56:13, Tony Lindgren wrote:
> > >> * Pavel Machek [180329 18:41]:
> > >>> Thanks. I got call working including outgoing audio: in
On Fri 2018-03-30 15:07:24, Merlijn Wajer wrote:
> On 30/03/18 12:37, Pavel Machek wrote:
> > On Thu 2018-03-29 14:56:13, Tony Lindgren wrote:
> >> * Pavel Machek [180329 18:41]:
> >>> Thanks. I got call working including outgoing audio: in capture
> >>> settings, right->mic 1, Mic1 + Mic2 in alsa
Hi!
> > >> Great, good to hear that :)
> > >
> > > I also got ofonod to work, with rather crazy hacks. But I now have
> > > incoming/outgoing calls with GUI :-).
> >
> > Would you mind sharing those hacks - I would like to play around with
> > ofonod as well. Maybe I can help with a way forward.
* Merlijn Wajer [180330 13:09]:
> On 30/03/18 12:37, Pavel Machek wrote:
> > On Thu 2018-03-29 14:56:13, Tony Lindgren wrote:
> >> * Pavel Machek [180329 18:41]:
> >>> Thanks. I got call working including outgoing audio: in capture
> >>> settings, right->mic 1, Mic1 + Mic2 in alsamixer -> 100%. B
On 30/03/18 12:37, Pavel Machek wrote:
> On Thu 2018-03-29 14:56:13, Tony Lindgren wrote:
>> * Pavel Machek [180329 18:41]:
>>> 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 do
Hi,
On Thu, Mar 29, 2018 at 09:06:11AM -0700, Tony Lindgren wrote:
> * Sebastian Reichel [180329 15:47]:
> > Hi,
> >
> > On Thu, Mar 29, 2018 at 06:59:04AM -0700, Tony Lindgren wrote:
> > > > I think cpcap is always the clock and frame master, but I think
> > > > mdm6600 is the remote side and O
On Thu 2018-03-29 14:56:13, Tony Lindgren wrote:
> * Pavel Machek [180329 18:41]:
> > 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
> >
* Pavel Machek [180329 18:07]:
> On Thu 2018-03-29 09:34:50, Tony Lindgren wrote:
> > * Pavel Machek [180329 16:09]:
> > > > 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"
* Pavel Machek [180329 18:41]:
> 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.
Great, good to hear that :)
Tony
> ---
On Thu 2018-03-29 09:41:13, Tony Lindgren wrote:
> * Pavel Machek [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
On Thu 2018-03-29 09:34:50, Tony Lindgren wrote:
> * Pavel Machek [180329 16:09]:
> > > 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 thi
* Pavel Machek [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 sett
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 m
* Pavel Machek [180329 16:09]:
> > 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#1
Hi!
> @@ -510,17 +510,17 @@
> 07f4:
> 07f8:
> 07fc:
> -0800: 0065
> -0804:
> -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
* Sebastian Reichel [180329 15:47]:
> Hi,
>
> On Thu, Mar 29, 2018 at 06:59:04AM -0700, Tony Lindgren wrote:
> > > I think cpcap is always the clock and frame master, but I think
> > > mdm6600 is the remote side and OMAP is not involved at all.
> >
> > OK. So could it be just an alsamixer on/off
Hi,
On Thu, Mar 29, 2018 at 06:59:04AM -0700, Tony Lindgren wrote:
> > I think cpcap is always the clock and frame master, but I think
> > mdm6600 is the remote side and OMAP is not involved at all.
>
> OK. So could it be just an alsamixer on/off toggle then for
> "Modem" or something similar?
I
* Pavel Machek [180329 14:11]:
> Hi!
>
> > Meanwhile, I can try to make voice calls more reproducable with
> > qmi or MM for example instead of just n_gsm.. And then I'll try
> > to fix my n_gsm pile of hacks for posting..
>
> If you get something to work, that will be great.
Yeah I need to at
Hi!
> Meanwhile, I can try to make voice calls more reproducable with
> qmi or MM for example instead of just n_gsm.. And then I'll try
> to fix my n_gsm pile of hacks for posting..
If you get something to work, that will be great.
If you get ofonod to work, that would be even better :-). [That'
* Sebastian Reichel [180329 13:37]:
> Hi,
>
> On Wed, Mar 28, 2018 at 06:45:07PM -0700, Tony Lindgren wrote:
> > Hi,
> >
> > * Sebastian Reichel [180328 14:03]:
> > > Hi,
> > >
> > > On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote:
> > > > On Wed, Mar 28, 2018 at 12:22:37AM +0200, S
Hi,
On Wed, Mar 28, 2018 at 06:45:07PM -0700, Tony Lindgren wrote:
> Hi,
>
> * Sebastian Reichel [180328 14:03]:
> > Hi,
> >
> > On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote:
> > > On Wed, Mar 28, 2018 at 12:22:37AM +0200, Sebastian Reichel wrote:
> > > > On Tue, Mar 27, 2018 at 0
Hi,
* Sebastian Reichel [180328 14:03]:
> Hi,
>
> On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote:
> > On Wed, Mar 28, 2018 at 12:22:37AM +0200, Sebastian Reichel wrote:
> > > On Tue, Mar 27, 2018 at 08:14:41PM +0800, Mark Brown wrote:
> >
> > > > No, this is exactly the sort of use
Hi,
On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote:
> On Wed, Mar 28, 2018 at 12:22:37AM +0200, Sebastian Reichel wrote:
> > On Tue, Mar 27, 2018 at 08:14:41PM +0800, Mark Brown wrote:
>
> > > No, this is exactly the sort of use case with multiple DAIs that the
> > > graph card is int
Hi!
> > > I can talk to the modem and start a call.
> >
> > Doing an AT query is the easy part :)
> >
> > > Then something like this (untested!) is certainly needed.
> > > Probably more...
> >
> > I intentionally left this part out. The CPCAP codec has two DAIs
> > and not 3+. The code you just
Hi!
> > I can talk to the modem and start a call.
>
> Doing an AT query is the easy part :)
>
> > Then something like this (untested!) is certainly needed.
> > Probably more...
>
> I intentionally left this part out. The CPCAP codec has two DAIs
> and not 3+. The code you just added is a hack f
On Wed, Mar 28, 2018 at 12:22:37AM +0200, Sebastian Reichel wrote:
> On Tue, Mar 27, 2018 at 08:14:41PM +0800, Mark Brown wrote:
> > No, this is exactly the sort of use case with multiple DAIs that the
> > graph card is intended to enable over the old simple-card.
> +--+ +
Hi Mark,
On Tue, Mar 27, 2018 at 08:14:41PM +0800, Mark Brown wrote:
> On Mon, Mar 26, 2018 at 05:58:28PM +0200, Sebastian Reichel wrote:
>
> > My understanding is, that we only need to replace the audio-graph-card
> > driver to something more complex. The VOICE DAI needs to be configured
> > dif
* Pavel Machek [180327 20:42]:
> But Motorola code seems to do different magic according to modem type,
> so things may not be as easy.
>
> if (pdata->voice_type == VOICE_TYPE_STE) {
> /* STE_M570 */
> ret = cpcap_audio_reg_write(cod
Hi!
> > > My understanding is, that we only need to replace the audio-graph-card
> > > driver to something more complex. The VOICE DAI needs to be configured
> > > differently based on the use case:
> > >
> > > call:
> > > * mode=i2s
> > > * freq=2600
> > > * samprate=16000 or samprate=
On Mon, Mar 26, 2018 at 05:58:28PM +0200, Sebastian Reichel wrote:
> My understanding is, that we only need to replace the audio-graph-card
> driver to something more complex. The VOICE DAI needs to be configured
> differently based on the use case:
No, this is exactly the sort of use case with m
Hi,
On Mon, Mar 26, 2018 at 10:31:54PM +0200, Pavel Machek wrote:
> Hi!
>
> > On Mon, Mar 26, 2018 at 04:16:38PM +0200, Pavel Machek wrote:
> > > Do you have any ideas what needs to be done for voice calls
> > > support?
> >
> > Sure.
>
> :-).
>
> > > I can talk to the modem and start a call.
Hi!
> On Mon, Mar 26, 2018 at 04:16:38PM +0200, Pavel Machek wrote:
> > Do you have any ideas what needs to be done for voice calls
> > support?
>
> Sure.
:-).
> > I can talk to the modem and start a call.
>
> Doing an AT query is the easy part :)
Well, yes. Doing it right (ofono, etc) is not
Hi,
On Mon, Mar 26, 2018 at 04:16:38PM +0200, Pavel Machek wrote:
> Do you have any ideas what needs to be done for voice calls
> support?
Sure.
> I can talk to the modem and start a call.
Doing an AT query is the easy part :)
> Then something like this (untested!) is certainly needed.
> Proba
Hi!
Do you have any ideas what needs to be done for voice calls support? I
can talk to the modem and start a call.
Then something like this (untested!) is certainly needed. Probably
more...
Thanks,
Pavel
diff --git a/sound/
38 matches
Mail list logo