Received: by 10.213.65.68 with SMTP id h4csp1686767imn; Thu, 29 Mar 2018 09:08:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ylAd28lsRJECFK/Fh8+rZHy6bUcggs5pgdmO/KXtrzw+iaIi9c2hpEH//EU6SXwLeRUyr X-Received: by 2002:a17:902:6ec5:: with SMTP id l5-v6mr8968907pln.113.1522339702686; Thu, 29 Mar 2018 09:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522339702; cv=none; d=google.com; s=arc-20160816; b=Jt6WPXHaqCk5QylChOHCI/QVwgPBd1tqYVqPj24MeIH2GseqJvggOZA0h2MBnHKYMR LlQBFt7WSHRAn+EEHcGOqtz8BWRCW0yNPKCyQyxuOnwY0sfnpqrT8WaZuFETTkgteyCl BLr7cDDSyeWIYO0Yej+ubkis5bnTM7PIWU7RWQFGj7sMzRnkAedCBlxMMn/ix8msspoI ZXsm0sSSECpC/T1fj0P4ifuXxsLJ9bE1CS+qXaBXY7LmkepBZtPlCQfcUdIBMtXwpxLk 0yIjZ/g3+EC+SdjkOLY2Eg8E2mXpCNDwY3daoc5kBA1KsoMNnmjj4a5KAlFr2FybKyIu Wong== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=j5tMtAejFJyKe3GdcDKsx1BpUKSbxxiKPybwO1SCaqw=; b=jed3W5adXa4QTljrNggpqs6x7oa2DjIIZftd7lRY0xA3YyJnjrFYOTq1IyzhhTv94u vRk3loH+qtv+JcvacHgqIFzfxLaVYOFAFrCUEZJ9SAE2Uqg+7zzBVaCWTwwCNoo36xQZ S+6kf4OHxjGD/t1QGmAidaFdDytS8PSSLrVWet2fDT3NfzCks1B4JHb+3BcYjnjm8VG8 mVTXa8EMmg2eBSbm52XOQEmLH6ldRVBHDGbIrjnS1NG19aEJdntpiQLeBmNJVRDuAwxg pyK28/+SAcM6YWBIFemBcRRFtZ5TeiByJHWHPQzMbcwQmEgd1Kx0lb47MSgMm5uSOkv+ kpfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h68si4149557pgc.537.2018.03.29.09.08.08; Thu, 29 Mar 2018 09:08:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752273AbeC2QG1 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 29 Mar 2018 12:06:27 -0400 Received: from muru.com ([72.249.23.125]:34372 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398AbeC2QGZ (ORCPT ); Thu, 29 Mar 2018 12:06:25 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 0083B80BD; Thu, 29 Mar 2018 16:07:32 +0000 (UTC) Date: Thu, 29 Mar 2018 09:06:11 -0700 From: Tony Lindgren To: Sebastian Reichel Cc: Mark Brown , Pavel Machek , Liam Girdwood , Rob Herring , Lee Jones , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Dan Williams Subject: Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180329160611.GP5700@atomide.com> References: <20180326141638.GB1450@amd> <20180326155828.ttnduivadob4iqmd@earth.universe> <20180327121441.GH29239@sirena.org.uk> <20180327222237.wcx2aqznvdrvbaa5@earth.universe> <20180328022910.GM29239@sirena.org.uk> <20180328140219.f6667up5evrrafkv@earth.universe> <20180329014507.GM5700@atomide.com> <20180329133613.khldv72w3zj63vsk@earth.universe> <20180329135904.GN5700@atomide.com> <20180329154600.qhels5fqzzg364gj@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20180329154600.qhels5fqzzg364gj@earth.universe> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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 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