Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932793AbZGRLtH (ORCPT ); Sat, 18 Jul 2009 07:49:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932688AbZGRLtG (ORCPT ); Sat, 18 Jul 2009 07:49:06 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60508 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932549AbZGRLtE (ORCPT ); Sat, 18 Jul 2009 07:49:04 -0400 Date: Sat, 18 Jul 2009 13:48:46 +0200 From: Pavel Machek To: Matthew Garrett Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, rpurdie@rpsys.net, lenb@kernel.org, rui.zhang@intel.com, corentincj@iksaif.net Subject: Re: [PATCH 1/3] backlight: Allow drivers to update the core, and generate events on changes Message-ID: <20090718114846.GE1433@ucw.cz> References: <1247587564-27737-1-git-send-email-mjg@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1247587564-27737-1-git-send-email-mjg@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 868 Lines: 18 On Tue 2009-07-14 17:06:02, Matthew Garrett wrote: > Certain hardware will send us events when the backlight brightness > changes. Add a function to update the value in the core, and > additionally send a uevent so that userspace can pop up appropriate > UI. The uevents are flagged depending on whether the update originated > in the kernel or from userspace, making it easier to only display UI > at the appropriate time. This adds new kernel API. Should it be documented somewhere? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/