From patchwork Fri Mar 30 15:22:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 10317835 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D495260212 for ; Fri, 30 Mar 2018 15:22:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1F54286E3 for ; Fri, 30 Mar 2018 15:22:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B67F528712; Fri, 30 Mar 2018 15:22:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D38BB286E3 for ; Fri, 30 Mar 2018 15:22:42 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 8CBC426720A; Fri, 30 Mar 2018 17:22:39 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 72C2926720C; Fri, 30 Mar 2018 17:22:37 +0200 (CEST) Received: from muru.com (muru.com [72.249.23.125]) by alsa0.perex.cz (Postfix) with ESMTP id C5A682671DB for ; Fri, 30 Mar 2018 17:22:34 +0200 (CEST) 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 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, kernel@collabora.com, Dan Williams , linux-kernel@vger.kernel.org, Mark Brown , Takashi Iwai , Liam Girdwood , Rob Herring , Pavel Machek , Sebastian Reichel , linux-omap@vger.kernel.org, Lee Jones Subject: Re: [alsa-devel] omap4-droid4: voice call support was Re: [PATCHv5, 5/5] ARM: dts: omap4-droid4: add soundcard X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP * 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);