From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752426AbbAFXNn (ORCPT ); Tue, 6 Jan 2015 18:13:43 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:54566 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751070AbbAFXNm (ORCPT ); Tue, 6 Jan 2015 18:13:42 -0500 Date: Wed, 7 Jan 2015 00:13:41 +0100 From: Pavel Machek To: Felipe Balbi Cc: Aaro Koskinen , pali.rohar@gmail.com, sre@debian.org, sre@ring0.de, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, ivo.g.dimitrov.75@gmail.com Subject: Re: 3.19 on Nokia n900: audio quality awful Message-ID: <20150106231341.GA18468@amd> References: <20150106172545.GK6502@saruman> <20150106175115.GA19487@amd> <20150106202857.GB32308@saruman> <20150106205000.GB13902@amd> <20150106205730.GA6071@fuloong-minipc.musicnaut.iki.fi> <20150106220805.GD13902@amd> <20150106222717.GC6071@fuloong-minipc.musicnaut.iki.fi> <20150106224622.GA13752@saruman> <20150106225614.GA31990@amd> <20150106230415.GC13752@saruman> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150106230415.GC13752@saruman> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2015-01-06 17:04:15, Felipe Balbi wrote: > Hi, > > On Tue, Jan 06, 2015 at 11:56:14PM +0100, Pavel Machek wrote: > > > > But I'm mounting it from userspace (using builtin initramfs inside > > > > zImage), with a poll loop that waits for a device to appear. Maybe if you > > > > do it from kernel you need to use root wait/delay etc. options? > > > > > > yeah, rootwait should do it. > > > > No, rootwait does not solve it. Try it. Tested many times. (And yes, > > you need to actually fool the rear cover sensor or close the phone.) > > yeah, just put a magnet or, if you have spare back covers, cut one so > that you "close" it, but still allow you to put the thing on a > development jig. Actually, it should be enough to kill a line from dts somewhere, no need to hack hardware for this. > Also, if why doesn't rootwait work ? You never have a new mmc node or is > the mmc node changing names ? IIRC node and name are ok, but the mount just fails. As I don't have "development jig", I lack serial console and this kind of debugging is not easy. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: pavel@ucw.cz (Pavel Machek) Date: Wed, 7 Jan 2015 00:13:41 +0100 Subject: 3.19 on Nokia n900: audio quality awful In-Reply-To: <20150106230415.GC13752@saruman> References: <20150106172545.GK6502@saruman> <20150106175115.GA19487@amd> <20150106202857.GB32308@saruman> <20150106205000.GB13902@amd> <20150106205730.GA6071@fuloong-minipc.musicnaut.iki.fi> <20150106220805.GD13902@amd> <20150106222717.GC6071@fuloong-minipc.musicnaut.iki.fi> <20150106224622.GA13752@saruman> <20150106225614.GA31990@amd> <20150106230415.GC13752@saruman> Message-ID: <20150106231341.GA18468@amd> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue 2015-01-06 17:04:15, Felipe Balbi wrote: > Hi, > > On Tue, Jan 06, 2015 at 11:56:14PM +0100, Pavel Machek wrote: > > > > But I'm mounting it from userspace (using builtin initramfs inside > > > > zImage), with a poll loop that waits for a device to appear. Maybe if you > > > > do it from kernel you need to use root wait/delay etc. options? > > > > > > yeah, rootwait should do it. > > > > No, rootwait does not solve it. Try it. Tested many times. (And yes, > > you need to actually fool the rear cover sensor or close the phone.) > > yeah, just put a magnet or, if you have spare back covers, cut one so > that you "close" it, but still allow you to put the thing on a > development jig. Actually, it should be enough to kill a line from dts somewhere, no need to hack hardware for this. > Also, if why doesn't rootwait work ? You never have a new mmc node or is > the mmc node changing names ? IIRC node and name are ok, but the mount just fails. As I don't have "development jig", I lack serial console and this kind of debugging is not easy. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html