Received: by 10.213.65.68 with SMTP id h4csp215369imn; Wed, 28 Mar 2018 02:05:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+TRYf0xwTTv/laedDzjukvjgs7TLzfOc0xu4OFuAUmL2B8yzT1D8LwkdOlMDchMuvBzkhf X-Received: by 2002:a17:902:b20f:: with SMTP id t15-v6mr2906129plr.349.1522227929542; Wed, 28 Mar 2018 02:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522227929; cv=none; d=google.com; s=arc-20160816; b=f2IUZdMFBOsEsQvk4z02zuT6xbqa+zoSl2SA9ReZJC6picjO3MaoGxlXsmYxsprE+s cUPVXA27/wTo8/1LWfJQ1uyF2f6KZpgch0sN+Mp8y2CoCZL5GO6zlYRU7dB3Enww3WTB 2MFS+crYdOcM4kuwonBk5TUfNIpqTvammF3f6PgAghQcaKj8CHoZF05NllpQv0HhjOP0 M7ovkhLm7yS3pQp0IoLmK4OUJ/cOxS6xMgZ1/5Wm3Ht6OjK0/xq7QE0txLPSw8zSR8Db oHV6uq6Nk50P87oKyBBLdJf6hNHyTNP+hIuMZwdE0Kh6l/yM0sI9eHhZFw+LRQXccK7b hvKw== 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=JSeQ3mlVPE0/xCHXlgisN38WleBAX0e5E7/qnNV2WPA=; b=q0AyzzzXSQKCVM+hSSAPrGKuCzTSIuR2AlWOJEGxzNqrpGNbKCK0b59B+hE5+ED3ax c2w8jPJcliJKHiXpyOTAAOQJauCtKcJ82BIyUhVQuMFTxLMKMAnoAjyiK0WCD1cl2xIQ Bi0DiDZ2BysZmnfm66kou7U+j24z3GSQRixpwJMJ61N708ahVoe6kANHT9eX2KDKLGgR oIEuMw+O/ui3LHthU688kAK80VknKEpit6jPL7HqMewfTGZ+JUQc4N0w+hPombvM0hNc 4jQiIl29VBcVS67QMxQ8jfLEuDI0NAeTuOSMQbxafnihotZU4Jj1NvB/hReN9J3U8t7c MXpg== 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 a60-v6si3121179pli.13.2018.03.28.02.05.15; Wed, 28 Mar 2018 02:05:29 -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 S1752833AbeC1JAg (ORCPT + 99 others); Wed, 28 Mar 2018 05:00:36 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:57813 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbeC1JAd (ORCPT ); Wed, 28 Mar 2018 05:00:33 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id EF35B8039F; Wed, 28 Mar 2018 11:00:31 +0200 (CEST) Date: Wed, 28 Mar 2018 11:00:31 +0200 From: Pavel Machek To: Sebastian Reichel Cc: Liam Girdwood , Mark Brown , Rob Herring , Tony Lindgren , 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: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180328090031.GA17300@amd> References: <20180223200254.25685-6-sebastian.reichel@collabora.co.uk> <20180322204804.GA26871@amd> <20180322234832.o24ut5ahon46mdu4@earth.universe> <20180323100930.GA21644@amd> <20180323103006.alymgb3ywftb4gek@earth.universe> <20180326141638.GB1450@amd> <20180326155828.ttnduivadob4iqmd@earth.universe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20180326155828.ttnduivadob4iqmd@earth.universe> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > I can talk to the modem and start a call. >=20 > Doing an AT query is the easy part :) >=20 > > Then something like this (untested!) is certainly needed. > > Probably more... >=20 > I intentionally left this part out. The CPCAP codec has two DAIs > and not 3+. The code you just added is a hack from Motorola. Their > driver is full of hacks and it's obvious its author(s) did not > fully understand the ASoC APIs. >=20 > 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: Does the voice part work for you? I configured all the mixers to voice, and then am using sudo aplay -D plughw:CARD=3DAudio,DEV=3D1 /usr/share/sounds/alsa/Front_Cent= er.wav -r 16000 X11 connection rejected because of wrong authentication. xcb_connection_has_error() returned true Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono user@devuan:/my/tui/rweb$ to play the test sound. But I get white noise, not a test sound :-(. [This also shows problem with card naming.] Any ideas? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq7Wa8ACgkQMOfwapXb+vIATwCeOgkbcM0d8QDXDvcFTXgp03kW BmUAnRiOuZwHPw3EtgKRu3+sYyYK87X/ =pttb -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--