Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1068790imm; Wed, 8 Aug 2018 10:10:49 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxx1+ah4YOFTRhw7ZpAfd7/vgK0mXimvxlXfcaAsnXDWVjR7tICJaGSeBjSw6boax+cmJ9q X-Received: by 2002:a63:9b19:: with SMTP id r25-v6mr3373323pgd.44.1533748249567; Wed, 08 Aug 2018 10:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533748249; cv=none; d=google.com; s=arc-20160816; b=LR8+X6SOEr0b08lVjxdGd+/OzMs4ey6Zco1s8/4dgXZDi4URzZNgjb8GyM//5GICtx kZL9rPAo5nbX8Hv5bqQW9k9alRVcNnPXMqo47oRana0pMQOSuQDgV1KZuSwxxoKybXSb 3qBc0I4R7QEFW63mOpHi0BjCBUVRu2StKJUuV4DYybK9YlZc/VVPVrPqnoz6RB4ByfBR 04ZCy9A4h1vMtk/WhhEfM/49H7D6kiJddQcVrj/9CfpoXlgOorQiXhimcn8SZD5bt3gV IHD9lI/fgRr2YjwiwCdR68Wh0e9BCHp6XebTeqnYEO1TLw7IC0x43YEV0L8uGbXgjKp8 tK9g== 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=rBc6d3P7NBE2LpNIdeZLx/+qC+b/Vne1SnoZeCyrkRs=; b=t7Huc7gX7SMTUoY0K1AJ+4s3fbF4h/UfAksNKPH4PvzyWPcOVNx3q/J0NKj0yFvJAb WZrP3Azc9A3GKJMcSlRe7pUjnE4fg1yGGvv++qmcM+jaCzef2gd2oqciy01Z5rOuilok 9oQCmQ18FHWukCsCTbFz3OIlXmTlXHQyATcQ8ygLnJr38Dn+sRy79yCnxOvN3fgsxfv4 tv0YFGytghLtj0YQ/hLQuPk9MFEUtzz0niAQajior/Ezmr8OVC1p2Tn6n03FJpseom3E 7HRFnPmiR28Zmi22N8QcXvrr4Z7all5Y6paf+d3MKTYZBB6tPdj3DIgHb16OPTSZVSov zOOw== 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 h187-v6si5302458pfb.62.2018.08.08.10.10.33; Wed, 08 Aug 2018 10:10:49 -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 S1727867AbeHHTaS (ORCPT + 99 others); Wed, 8 Aug 2018 15:30:18 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33583 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbeHHTaS (ORCPT ); Wed, 8 Aug 2018 15:30:18 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 5A34F805C8; Wed, 8 Aug 2018 19:09:39 +0200 (CEST) Date: Wed, 8 Aug 2018 19:09:33 +0200 From: Pavel Machek To: Sebastian Reichel Cc: Tony Lindgren , j-keerthy@ti.com, narmstrong@baylibre.com, claudiu.beznea@microchip.com, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org Subject: Re: Vibrations on Droid 4? Message-ID: <20180808170933.GC7306@amd> References: <20180709220211.GA7760@amd> <20180710101147.lyu65ro4czvrs2da@earth.universe> <20180710133040.GA4391@amd> <20180710161123.azym6sbboriuj4yc@earth.universe> <20180711080218.GA21225@amd> <20180711132739.GL99251@atomide.com> <20180715201729.GB19675@amd> <20180716075926.GU99251@atomide.com> <20180801185823.GC26087@amd> <20180802110701.3b4voigegy67h4p5@earth.universe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GPJrCs/72TxItFYR" Content-Disposition: inline In-Reply-To: <20180802110701.3b4voigegy67h4p5@earth.universe> 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 --GPJrCs/72TxItFYR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > On Wed, Aug 01, 2018 at 08:58:24PM +0200, Pavel Machek wrote: > > > > Yep, so I have two patches that make the device appear, but vibrati= ons > > > > still do not work for me. > > > >=20 > > > > a) any ideas how to debug that / get them to work? > > >=20 > > > Hmm no new ideas except I wonder if there is also some other > > > regression with the timer pdata not being passed properly now. > >=20 > > I checked vibrations work in original Motorola Android; my hardware is > > not broken. >=20 > You got it working, but this information might still be interesting > in case of future problems: >=20 > The Android "driver" is very different from the one I wrote from > scratch and upstreamed. The mainline driver is less lines of code > (iirc 25%), less complicated (Android vibration support is spread > over multiple drivers/arch code), more efficient (Android drivers > does GPIO bitbanging instead of PWM) and provides more features > (Android driver does not allow all strength settings). Also it uses > normal input device API instead of a custom one. Thanks for doing it right. > P.S.: Sorry, I don't have much time to work on D4 at the moment :( Thanks for doing the work, d4 seems to be the most usable phone at the moment. Yes, there's more work to do, but there's always more work to do. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --GPJrCs/72TxItFYR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltrI80ACgkQMOfwapXb+vLgkQCggzpi9K5+lYalLpefgKEEBvYI JaQAn3jjgKOiQ5LPwnbzA0ucR8NGi9t0 =oSb0 -----END PGP SIGNATURE----- --GPJrCs/72TxItFYR--