From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64EBBC433E1 for ; Thu, 20 Aug 2020 04:25:25 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 292782054F for ; Thu, 20 Aug 2020 04:25:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YfaVyp8B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 292782054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pXP+EmoQWn68CLFLnrXVy6UEXOeC6WtS4c1iGwhMcw0=; b=YfaVyp8BZqMNqSZf0kFMolq2a uk0mHqJu2oSnsXOQWVS95ZZ24/0pyVDVsgsEdPOq/tAfth/dAIOFqi3Gcdpasu4jqeNEfqaMcXTIl EJtXN9/JM0i0ilsSC0P8yKXNFq6H5LxGGdpUNjm9T6iU4AMo1R5eMVv0tyteDYa/MvKRFtG1G8Xw0 2RkMs/S2VZyk5zOjPEYfUPpFdq6H+J8SS4ql/8OaLlfHCEpGPAn2Kvlk5F99NELHRUgOxnCaJ9dRy SzlancL37mOtIK3MlXNWbye6/0eOdvViJCsWlFNXleeaWKBcaZYVbvHsc9DQnFROnhw75UUTjPjUN vrp/WSU6Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8c7T-0001XM-QE; Thu, 20 Aug 2020 04:24:07 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8c7Q-0001Wz-6h for linux-arm-kernel@lists.infradead.org; Thu, 20 Aug 2020 04:24:04 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C557C807A; Thu, 20 Aug 2020 04:24:02 +0000 (UTC) Date: Thu, 20 Aug 2020 07:24:31 +0300 From: Tony Lindgren To: Pavel Machek Subject: Re: GPS fun on Droid 4 and leste Message-ID: <20200820042431.GI2994@atomide.com> References: <20200712092726.GC13495@amd> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200712092726.GC13495@amd> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200820_002404_312631_8D238620 X-CRM114-Status: GOOD ( 14.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: maemo-leste@lists.dyne.org, mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz, kernel list , sre@kernel.org, nekit1000@gmail.com, linux-omap@vger.kernel.org, linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Pavel Machek [200712 09:28]: > Hi! > > GPS on the droid 4 does not really work out of the box. > > gpsd is not in default installation, maybe it should be? > > What is worse, there's something broken with gpsd. Try: > > /usr/sbin/gpsd -N -D 5 /dev/gnss0 > gpspipe -w > # this seems to work, but do ^C and restart > gpspipe -w > ...and it hangs. Some earlier versions of gpsd I think had issues where you could only connect one client. Or it was a bug in the kernel drivers.. Anyways, multiple gpspipe instances have been working for me for a while now with gpsd-3.21. I also found some issues in gnss-motmdm driver for closing the gnss device, see: https://github.com/tmlind/linux/commits/droid4-pending-v5.8 And I think the xtra2.bin data for agps is now working too :) https://github.com/tmlind/droid4-agps/commits/master At least I now get a fix in about two minutes after running the update.sh, going outside, and starting cgps. > xgps from gpsd-clients is broken: probably missing dependency > on gtk3 libraries. > > user@devuan-droid4:/my/tui/lib$ xgps > Traceback (most recent call last): > File "/usr/bin/xgps", line 30, in > gi.require_version('Gtk', '3.0') > File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line > 129, in require_version > raise ValueError('Namespace %s not available' % namespace) > ValueError: Namespace Gtk not available > > Any ideas? No idea about the xgps related stuff, I mostly use cgps for testing with GPSD_UNITS=metric cgps. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel