Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1155245imm; Wed, 4 Jul 2018 12:46:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpexIChlSMydvRXxRlMqvru6zN8fmBl4TFPkbJfygsiiM9iZgq+DQ0Wx7dKH7aCvrod9RGyW X-Received: by 2002:a63:6b86:: with SMTP id g128-v6mr3060680pgc.344.1530733612961; Wed, 04 Jul 2018 12:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530733612; cv=none; d=google.com; s=arc-20160816; b=yPz9rT9sgV/sqdluMYrzo+Lbh/u1BPmcyfDnJuvKOAhZ6GixVtZe103txRXhQfg3ny 3z9GA0B8puZ8BoR2yOtYULj2b4WXIq4rUjTISuo9ooejrRAq+PV4tV8rLnloPzd+ZYRV xN4fIqOluYxYPMguuwNza/0kOw1WS/EMP+S7f0Ie64toCLzVUn9+k21S7uoTH0syNvg+ +CXUv3OGfCfBj5K7kgUMddGeox6wnXjmpv1tZmf543urbMeNTECfFZYXY5XnCdDDEqGy UrJ8Uan0cZDt+ooJBEeIfNORHS8LC0Z4bZ4CwTXqmU6c83aeFo4QGx01sZEnw43aPQLX S2Qw== 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=P11GOW7kNxg+umqPQuzXBPFwNcbuUYDofC6LAxSqI8A=; b=xsnLe8ziZIe0nP3V2ek8rAhFn2RvxS816uUNuKKVmo50DiuymFOKs/RlkNKdabMpli 7tGVl3W/+dRbatUcLO7zbiFDNShCZElQFpDAptP46IjbOEO3vLP6Ae1tPKDoHS0pUevR U+o6YLlSm5x4l4hWaCw2ibbCbjakHeek+7LR5Dsy+SSmiNIuxv9OODiyzHXx3dBL5ywz FSkMkGXB/oK6gO9ton7QbvRTn4qLFeWKi39qBkHrtkNkRND297f/L8jDRfrTVOpoM3st Imd0HsQXchSRffIMWY4/idLHMtWTiWZCtVl+aZn6ViME+LqOotFroA4ysRRdRv3ZGsZ/ B8vA== 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 w16-v6si4561031pfj.144.2018.07.04.12.46.38; Wed, 04 Jul 2018 12:46:52 -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 S1752782AbeGDTqA (ORCPT + 99 others); Wed, 4 Jul 2018 15:46:00 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:41450 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752607AbeGDTp7 (ORCPT ); Wed, 4 Jul 2018 15:45:59 -0400 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23994656AbeGDTp5Fkb55 (ORCPT + 2 others); Wed, 4 Jul 2018 21:45:57 +0200 Date: Wed, 4 Jul 2018 21:45:56 +0200 From: Ladislav Michl To: Pavel Machek Cc: kernel list , linux-pm@vger.kernel.org, linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org Subject: Re: droid 4: connection refused from voltage_now Message-ID: <20180704194556.GA9189@lenoch> References: <20180704171156.GA3158@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180704171156.GA3158@amd> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 04, 2018 at 07:11:56PM +0200, Pavel Machek wrote: > Hi! > > I started to use droid 4 as my primary phone... so I have battery > monitor running for hours... Once every few days it dies with > "connection refused" error reading battery's "voltage_now". I restart > it and it continues working... Ha! What exactly that "connection refused" means? Is it ECONNREFUSED (111)? I have custom at91 based board here with few custom power supply drivers and it sometimes ends with voltage_now of my driver being unreadable. (I modified userspace code and waiting what's in errno in case reading fails) > That was with v4.17; in v4.18, I'm getting "red screen" a lot. Tests are also done v4.17. Adding linux-pm@vger.kernel.org as it seems to be subsytem, specific. ladis