Received: by 10.213.65.68 with SMTP id h4csp440086imn; Fri, 30 Mar 2018 08:24:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/TFlvHGnqm8Zm5k2ktnS3MiMAWg+LuM2Xvi6jybqntoo3qsMg8xjDQynfxT86uvpgYzZ3C X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr13336877plo.357.1522423440153; Fri, 30 Mar 2018 08:24:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522423440; cv=none; d=google.com; s=arc-20160816; b=XzKoN5SeRBb2lUt9AbIrdhNbdl6KhIGuuv/RE2cHpeoM+7rVok2xpq1sH00O7nghrQ f/LCLTTvRTRYh519HBKS6EqJNFW92BGwT6wHjVPXrXAdP0Qvbc/4b4c6fWmEglyb2uJx DxXgd1F9c873jkokkTuwBdPByp+UN8GfRGZqdTDLyZJlqabM/kBtT74Z4SX4lJ5a8Klx FHU67/uO9AKIdD8aW2AFxG+Bn0jMTlSAOsD11VEyVdbPQUNFY19EA1DY4dG4uLUO6kF0 8VvRHL6swCpFDjvNsA3+E4hjtsEu7KNZe8GCEFRlncTxKs4N/TlEJFKS+kzwiTvgseP/ Itaw== 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=GYr9Cx3GRceOAO+WCYHQ9EZWkjSfnpenc2X0Ye7zcuE=; b=UepgDRsb4vtSaHzdtcJKWIzKr7R34gPh7rdc8KDcL/4XFiwBJLHUzmKvqiPW00GRAu Rmi7lzHKz6j5MiOiRf02ixpbktQVR4i4vHWKXylNzdtouxhxyB2S4pAtzQRi66JesM+/ cUNthl5cMFd4J6fka43VqyuqGG3GHOAaef8KXLdKqZnFMdfSatgcKeaeoa2pb/6trY3y 4JPqL6qw5Zzk7WKmM4tJYSU283wrdQwh2xLgSmPbFQdJ8pSD3AdmF7k+Gqbodrb+fUMN JwE2Scv3WbAUtXv6QZSXsqPbnPjpJpavWROHjiPcEXryaQSwLPUZcGLF2P+8HayCjasj mc2Q== 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 k7si1655547pgc.505.2018.03.30.08.23.46; Fri, 30 Mar 2018 08:24:00 -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 S1751592AbeC3PWd (ORCPT + 99 others); Fri, 30 Mar 2018 11:22:33 -0400 Received: from muru.com ([72.249.23.125]:34514 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbeC3PWb (ORCPT ); Fri, 30 Mar 2018 11:22:31 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id DB965807E; Fri, 30 Mar 2018 15:23:49 +0000 (UTC) Date: Fri, 30 Mar 2018 08:22:27 -0700 From: Tony Lindgren To: Merlijn Wajer Cc: Pavel Machek , 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, Dan Williams Subject: Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180330152227.GU5700@atomide.com> References: <20180329014507.GM5700@atomide.com> <20180329133613.khldv72w3zj63vsk@earth.universe> <20180329135904.GN5700@atomide.com> <20180329154600.qhels5fqzzg364gj@earth.universe> <20180329163716.GA20743@amd> <20180329164113.GR5700@atomide.com> <20180329184007.GA27688@amd> <20180329215612.GS5700@atomide.com> <20180330103744.GA17404@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 * 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%. 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 :) > > > > 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. Yeah that would be fun to play with :) Below is a patch that works better at least for ModemManager, does anybody have ideas what the unused three ports might be? I wonder if ofono can use /dev/ttyUSB0 CQDM port? Regards, Tony 8< ------------------------- From tony Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Sun, 19 Nov 2017 19:55:56 -0800 Subject: [PATCH] USB: qcaux: Add droid 4 mdm6600 modem We have five USB ports on mdm6600 modem and does not have the same layout as layout as Gobi 1K/2K/etc devices listed in qcserial.c So we should not be adding them to qcserial.c but instead use qcaux.c or option.c as noted by Dan Williams . The ttyUSB ports detected by ModemManager are: ttyUSB0 CQDM-capable ttyUSB1 no response ttyUSB2 no response ttyUSB3 no response ttyUSB4 AT-capable Note that it takes a while for ModemManager to start while it's detecting the ports, so we may want to eventually limit the ports. So far no luck finding out what the unused three ports are, maybe there is NMEA there if somebody knows how to enable it. Signed-off-by: Tony Lingren --- drivers/usb/serial/qcaux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/qcaux.c b/drivers/usb/serial/qcaux.c --- a/drivers/usb/serial/qcaux.c +++ b/drivers/usb/serial/qcaux.c @@ -66,6 +66,7 @@ static const struct usb_device_id id_table[] = { { USB_VENDOR_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, 0xff, 0xfe, 0xff) }, /* WMC */ { USB_VENDOR_AND_INTERFACE_INFO(UTSTARCOM_VENDOR_ID, 0xff, 0xff, 0xff) }, /* DIAG */ { USB_DEVICE_AND_INTERFACE_INFO(0x1fac, 0x0151, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(0x22b8, 0x2a70, 0xff, 0xff, 0xff) }, { }, }; MODULE_DEVICE_TABLE(usb, id_table); -- 2.16.3