Received: by 10.213.65.68 with SMTP id h4csp577579imn; Fri, 30 Mar 2018 11:06:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx49hNTT1YImfQ37md9Hh0AzmGzmPKqN7w5BXKU7gH6CuGcoX8NJhVfsc8o37RBKAqgaVn4/+ X-Received: by 10.101.76.10 with SMTP id u10mr9236989pgq.445.1522433216473; Fri, 30 Mar 2018 11:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522433216; cv=none; d=google.com; s=arc-20160816; b=Iprm3P+hRDIHcyBaeWiCA5bXmD29+FH99gHMbSGBLdm9DiTYDYGMzRvXkRzLEnFtGH AvVyBjXrhzKmhtKgV5yjwe6W0Bz1r+lcjoYuPYtbeAphtzj2jJZsaJFNmEj+NJIUDtZs vNBW9E7B42sKLQfN/UO8UBzR9gTPMMLu2jnf8AY9tN39c2TGDX1RS4MMc4ma/oi6IjGM pN6jrEShXmw2+vx83uvVV5V7CFQIH+E3YoEE9321tHlDrQ0FxyJaq7ozKLWe/VDK2FfY mE27GppNctLexAZZ+QAaPQao+FW08rOB2HD3DMtzZcPVLTCivbKWfJAeB9+JfWdxfrqZ iTOQ== 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=SCmyaxZWdm4245g1nPirHpmKERVU8xgsd9Y4FgLvVjs=; b=GPdjY9eP7MiHJhfSZKG10k65Phts6I20DoTOIC+/1m1PwAKC8QpGivxZxq/5IWAfxq r8t7BT9tXkeS6ovDD8cRH6sUFqdEejOVrBVfhJFAQP0VXaUxA7d/2jsqKdV1cVRWJokt 4drrnrBgmbnt1MFyHoL7Tod41/6+32t5gRraI59vIKEbI9DqJovnmHTp24tX59Mb29ty Gygl0b43te2n/DrmvYLjmIs+LM9yuz6goXPuQcGF1O9w/8J2NG43Vkyk0A05Z1zs5F5D Tyshm3RtIEIL8OqAvQspa042T/YhLhQJP35Gdl1q+hlQPHsZSdzFMjSyY4K14R89IxbZ hOHw== 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 n81si6670480pfj.152.2018.03.30.11.05.56; Fri, 30 Mar 2018 11:06:56 -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 S1752043AbeC3SBz (ORCPT + 99 others); Fri, 30 Mar 2018 14:01:55 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49846 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751163AbeC3SBy (ORCPT ); Fri, 30 Mar 2018 14:01:54 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 4B07880385; Fri, 30 Mar 2018 20:01:52 +0200 (CEST) Date: Fri, 30 Mar 2018 20:01:51 +0200 From: Pavel Machek To: Merlijn Wajer Cc: Tony Lindgren , 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: <20180330180151.GA27494@amd> References: <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> <20180330175050.GA26571@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20180330175050.GA26571@amd> 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 On Fri 2018-03-30 19:50:50, Pavel Machek wrote: > On Fri 2018-03-30 15:07:24, Merlijn Wajer wrote: > > 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 :) > > >=20 > > > I also got ofonod to work, with rather crazy hacks. But I now have > > > incoming/outgoing calls with GUI :-). > >=20 > > Would you mind sharing those hacks - I would like to play around with > > ofonod as well. Maybe I can help with a way forward. >=20 > Okay. Here's less hacky version of the hack, but still using AT > commands. You still need to set up udev, as described in the other > mail. >=20 > And... it seems I can have a qmi connection, too, but that's topic for > other email. This, applied on top of previous patch, gives me some kind of qmi connection, AFAICT. I can enable/online a modem, but nothing else works. LocationReporting is advertised but does not work. dial-number does not work either. But from list-modems, it looks like some kind of communication works... Pavel user@devuan:/my/ofono/test$ sudo python2 ./list-modems=20 [ /gobi_0 ] SystemPath =3D /sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a= 064800.ohci/usb2/2-1 Features =3D sim gps=20 Emergency =3D 0 Powered =3D 1 Lockdown =3D 0 Interfaces =3D org.ofono.SimManager org.ofono.LocationReporting org.ofo= no.VoiceCallManager=20 Online =3D 1 Model =3D 196 Revision =3D M6600A-SCAUHSZ-3.1.3310T 1 [Jun 09 2011 17:00:00] Type =3D hardware Serial =3D 809DE736 Manufacturer =3D QUALCOMM INCORPORATED [ org.ofono.SimManager ] Present =3D 0 [ org.ofono.LocationReporting ] Type =3D nmea Enabled =3D 0 [ org.ofono.VoiceCallManager ] EmergencyNumbers =3D 08 000 999 110 112 911 118 119=20 user@devuan:/my/ofono/test$=20 diff --git a/doc/location-reporting-api.txt b/doc/location-reporting-api.txt index 21e346d4..ff0a35dc 100644 --- a/doc/location-reporting-api.txt +++ b/doc/location-reporting-api.txt @@ -13,7 +13,7 @@ Methods dict GetProperties() filedescriptor Request() =20 Asks to turn ON the NMEA stream and supplies the - gps device file descriptor. The external cliend should + gps device file descriptor. The external client should use the file descriptor to receive the NMEA data. =20 Possible Errors: [service].Error.InProgress diff --git a/plugins/udevng.c b/plugins/udevng.c index a4b18488..1c6a6679 100644 --- a/plugins/udevng.c +++ b/plugins/udevng.c @@ -234,9 +234,10 @@ static gboolean setup_gobi(struct modem_info *modem) } =20 DBG("qmi=3D%s net=3D%s mdm=3D%s gps=3D%s diag=3D%s", qmi, net, mdm, gps, = diag); -=09 +#if 0=09 if (qmi =3D=3D NULL || mdm =3D=3D NULL || net =3D=3D NULL) return FALSE; +#endif =20 =20 ofono_modem_set_string(modem->modem, "Device", qmi); @@ -1251,7 +1252,7 @@ static struct { { "cinterion", setup_serial_modem }, { "nokiacdma", setup_serial_modem }, { "sim900", setup_serial_modem }, - { "g1", setup_serial_modem }, + // { "g1", setup_serial_modem }, { "wavecom", setup_wavecom }, { "tc65", setup_tc65 }, { "ehs6", setup_ehs6 }, @@ -1602,8 +1603,8 @@ static struct { { "telit", "cdc_acm", "1bc7", "0021" }, { "telitqmi", "qmi_wwan", "1bc7", "1201" }, { "telitqmi", "option", "1bc7", "1201" }, - { "telitqmi", "qmi_wwan", "22b8", "2a70" }, - { "telitqmi", "option", "22b8", "2a70" }, + { "gobi", "qmi_wwan", "22b8", "2a70" }, + { "gobi", "option", "22b8", "2a70" }, { "nokia", "option", "0421", "060e" }, { "nokia", "option", "0421", "0623" }, { "samsung", "option", "04e8", "6889" }, @@ -1719,7 +1720,7 @@ static void check_device(struct udev_device *device) return; } =20 -#if 0 +#if 1 if ((g_str_equal(bus, "usb") =3D=3D TRUE) || (g_str_equal(bus, "usbmisc") =3D=3D TRUE)) check_usb_device(device); 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 iEYEARECAAYFAlq+e48ACgkQMOfwapXb+vJD1gCgxNvt0ofMvzAYh/uqSmUDyQrX /bYAn0SgUaES+d4ejF2SWAuPL8ZF9pSk =ErPL -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--