From: Mark Brown Subject: Re: [PATCH] PCAP misc input driver (for 2.6.32) Date: Mon, 29 Jun 2009 17:33:23 +0100 Message-ID: <20090629163323.GI11855@sirena.org.uk> References: <1246122592.3727.20.camel@brutus> <20090629094658.GE11855@sirena.org.uk> <800a98740906290927q5469f17fpcd74295e7ce40fb0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cassiel.sirena.org.uk ([80.68.93.111]:56336 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751515AbZF2QdV (ORCPT ); Mon, 29 Jun 2009 12:33:21 -0400 Content-Disposition: inline In-Reply-To: <800a98740906290927q5469f17fpcd74295e7ce40fb0@mail.gmail.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Ilya Petrov Cc: Daniel Ribeiro , Dmitry Torokhov , linux-input@vger.kernel.org, inux-kernel , openezx-devel , Samuel Ortiz On Mon, Jun 29, 2009 at 07:27:24PM +0300, Ilya Petrov wrote: > 2009/6/29 Mark Brown : > > Depending on the power management capabilities of the CODEC it may be > > better to support at laest the headphone insert/removal via the audio > > driver as a jack to allow automatic management of the power for the > > relevant paths within the CODEC. > we need to control this manually from userspace - for example, even with > headphone plugged in ringtone should be played via speaker. ALSA jacks are still visible to user space as input devices. The difference it will make here is that the kernel can autonomously control power for paths where that makes sense.