Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758233Ab3GaFOa (ORCPT ); Wed, 31 Jul 2013 01:14:30 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:59851 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988Ab3GaFO3 (ORCPT ); Wed, 31 Jul 2013 01:14:29 -0400 Date: Wed, 31 Jul 2013 06:14:22 +0100 From: Matthew Garrett To: Felipe Contreras Cc: "Rafael J. Wysocki" , Aaron Lu , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Len Brown , Linus Torvalds Subject: Re: [REGRESSION/PATCH] acpi: blacklist win8 OSI for ASUS Zenbok Prime UX31A Message-ID: <20130731051421.GA15766@srcf.ucam.org> References: <1375125658-1223-1-git-send-email-felipe.contreras@gmail.com> <3453253.oZLO1ChPbL@vostro.rjw.lan> <37178266.QXgbv9rq0i@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1025 Lines: 24 On Tue, Jul 30, 2013 at 07:11:06PM -0500, Felipe Contreras wrote: > No, the ACPI driver is exposing a backlight interface, which has a > defined stable API. >From the ACPI spec: 'The OEM may define the number 0 as "Zero brightness" that can mean to turn off the lighting (e.g. LCD panel backlight) in the device.' There's no mechanism for an OS to know whether or not a firmware implementation will actually turn the backlight off at 0, so there's no way the OS can define the lowest backlight state as anything other than "May or may not turn the screen off". If your userspace application depends on specific numbers having specific meanings, your userspace application is broken. Don't ascribe meanings to arbitrary values. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/