[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180329160611.GP5700@atomide.com>
Date: Thu, 29 Mar 2018 09:06:11 -0700
From: Tony Lindgren <tony@...mide.com>
To: Sebastian Reichel <sebastian.reichel@...labora.co.uk>
Cc: Mark Brown <broonie@...nel.org>, Pavel Machek <pavel@....cz>,
Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Lee Jones <lee.jones@...aro.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com,
Dan Williams <dcbw@...hat.com>
Subject: Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts:
omap4-droid4: add soundcard
* Sebastian Reichel <sebastian.reichel@...labora.co.uk> [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 toggle then for
> > "Modem" or something similar?
>
> I think so. We might want to have an "Mode" enum instead, though.
> That can be extended, once we unlock the other modes (bluetooth,
> bluetooth call).
OK. Seems in addition to the "Mode" enum, we also need
some other switch for modem on and off toggle?
I guess most people want to save the preferred "Mode" enum,
then for the duration of the call enable the selected mode.
And I guess the mute is already there for the mic with 'm'
in alsamixer for conf calls :)
> > > > 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
> >
> > There's a typo above, it should be just ATD123 where 123 is the
> > number.
> >
> > I was just doing few test calls to robots. Payback time for all
> > the robocalls, you know! :)
> >
> > > > 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.
OK I'll try to narrow it down and play with the mic settings
tonight or over the weekend.
Regards,
Tony
Powered by blists - more mailing lists