Received: by 10.213.65.68 with SMTP id h4csp3903789imn; Tue, 3 Apr 2018 12:45:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx49COrXy4TmKDefz8AdGvigsxsinmMhZOMV+huGbxxbUSp+pwR9DReE6la88AwNx3bA7opD6 X-Received: by 10.167.130.76 with SMTP id e12mr11633701pfn.192.1522784751159; Tue, 03 Apr 2018 12:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522784751; cv=none; d=google.com; s=arc-20160816; b=xkrt26HgfPqhpkO7rrqSBxtMLVFrmiQTpvp9CEgz+syDd4N0/sSmA26M/yJ1EPFw90 PFIY5ZGQjx4ULq37+RtVNX8rHcZ5ciOiIZ4mq9oRZTI2W58XVm1L4aRQCUWyq+c1NtL1 uMI3lVcf1YN+/5czt3uPgpXofqWMpQ3ww52Xlkzyj1KWJib0LsfeNZZ2uG/rufEzTHEy DTGOc0O4WoodGzp5o7KIll3feOYTOTTyrIwTM6POsRa1/4WhRBDQsQ/Px/jOX1pxQNGR hWW4pVVvvVMRws4iyCEgMul6XPunDzC+XxQaRdRBHIgZaao98WABw3vxdROVvijhNemN elQw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/PcG899AyfmIRDz8OV39WnF6XIJdjUbLDoikujUn77Y=; b=QMsaDKYkqECBHFvYrQzNmb80gX67wxZ9zfABUur8Hgm8Wy7W50yXcaQHNqudCbcyui ao3eVtYll3bQIu3hTDo4+fXPjSD0G/yJAdknYtgikgTV+qnqk6qBa7qX2gvvnc3Xzjxx KaRpStVYPMPY6tEfvP2K4P4gHpnDHZ+rWOx1s4cGST6ECwRfWA/XiFNhuqHFSDvFWw4P ekhqjl6wvPQE1F3cb4MxI4dPlPQgYqv209+K1Pp4UEV0YM5zGQdGxiI33pZeCmNy6VEA IHIZ4R54MJpCKfguIZhXKUmwDkFuJIlQMphg7wG5Z1co4IT2bJc6rYSB9ENRg2hB3n+A Ehpg== 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 f14si2422530pgu.742.2018.04.03.12.45.36; Tue, 03 Apr 2018 12:45:51 -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 S1752880AbeDCToZ (ORCPT + 99 others); Tue, 3 Apr 2018 15:44:25 -0400 Received: from muru.com ([72.249.23.125]:35114 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752240AbeDCToY (ORCPT ); Tue, 3 Apr 2018 15:44:24 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 88C9D80C3; Tue, 3 Apr 2018 19:45:46 +0000 (UTC) Date: Tue, 3 Apr 2018 12:44:19 -0700 From: Tony Lindgren To: Pavel Machek Cc: Dan Williams , Sebastian Reichel , Mark Brown , 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 Subject: Re: call/normal switch was Re: omap4-droid4: voice call support was Message-ID: <20180403194419.GG5700@atomide.com> References: <20180331194616.GA19388@amd> <20180331195524.GB19388@amd> <20180331234314.GZ5700@atomide.com> <20180401131852.GA11086@amd> <20180401153631.GA5700@atomide.com> <20180401173012.GB5700@atomide.com> <67086fdd0cdd69142cb89cd00f90e5a580e6607a.camel@redhat.com> <20180402155754.GD5700@atomide.com> <20180403150444.GE5700@atomide.com> <20180403155023.GA14638@atrey.karlin.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180403155023.GA14638@atrey.karlin.mff.cuni.cz> 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 * Pavel Machek [180403 15:51]: > Hi! > > > > OK thanks for checking. So probably only n_gsm channel 1 is for normal > > > Qualcomm at commands, and then channel 2 and others are commands > > > implemented by Motorola on the mdm6600. > > > > > > I guess we'd have to add support for reading and writing to > > > /dev/gsmtty2 at least as it looks like these cannot be accessed > > > via /dev/ttyUSB4. Or at least I have not figured out any other > > > way to access them. > > > > Hmm or maybe there is some way to select where qmi to tunnels the > > AT commands to? Some kind of channel type paramenter like n_gsm > > has? > > > > Anyways, for trying to figure out things for alsamixer, I tested > > that ngsm 2 "AT+EACC=3,0" is not related to cpcap audio register > > settings and the mic is enabled during the call with Pavel's patch > > with alsamixer "Mode" set to either "Call" or "Normal". Also speaker > > keeps working during the call toggling between "Call" and "Normal". > > "Voice" in alsamixer does also control the speaker volume during > > the call. And setting the second "Speaker" from "Voice" to "HiFi" > > mutes the speaker. > > Take a look at the patch. Selecting "call" does something at hardware > level, selecting "normal" is a nop. > > Sorry for confusion. > > Yes, that patch needs more work. OK that explains why the speaker keeps working then :) Regards, Tony