Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753902AbYJ1N1M (ORCPT ); Tue, 28 Oct 2008 09:27:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752599AbYJ1N05 (ORCPT ); Tue, 28 Oct 2008 09:26:57 -0400 Received: from cantor2.suse.de ([195.135.220.15]:52550 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbYJ1N04 (ORCPT ); Tue, 28 Oct 2008 09:26:56 -0400 From: Thomas Renninger Organization: SUSE Linux - Novell To: Andrey Borzenkov , Len Brown Subject: Re: ACPI video.c brightness handler conflicts with toshiba_acpi Date: Tue, 28 Oct 2008 14:26:52 +0100 User-Agent: KMail/1.9.9 Cc: toshiba_acpi@memebeam.org, linux-acpi@vger.kernel.org, Linux Kernel Mailing List References: <200809061108.34877.arvidjaar@mail.ru> <200809080301.24907.trenn@suse.de> <200810271953.04764.arvidjaar@mail.ru> In-Reply-To: <200810271953.04764.arvidjaar@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810281426.53499.trenn@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2043 Lines: 47 On Monday 27 October 2008 17:52:55 Andrey Borzenkov wrote: > On Monday 08 September 2008, Thomas Renninger wrote: > > On Saturday 06 September 2008 09:19:59 am Andrey Borzenkov wrote: > > > On Saturday 06 September 2008, Andrey Borzenkov wrote: > > > > I have now two different devices that refer to the same hardware: > > > > > > > > lrwxrwxrwx 1 root root 0 2008-09-06 11:04 acpi_video0 -> > > > > ../../devices/virtual/backlight/acpi_video0/ lrwxrwxrwx 1 root root 0 > > > > 2008-09-06 11:04 toshiba -> ../../devices/virtual/backlight/toshiba/ > > > > > > > > Unfortunately, due to ACPI implementation the acpi_video0 one is much > > > > inferior (as it provides only effectively two levels instead of 8); > > > > and user level tools are apparently quite confused which one to > > > > select. > > > > > > > > Is there any mechanism that would allow tochiba_acpi to claim > > > > brightness for internal LCD screen that video would not attempt to > > > > grab it too? > > > > > > > > Of course manually disabling brightness handling in video is always > > > > possible, > > > > > > Actually it is not. brightness_switch_enabled only disables event > > > handling; it still resets actual brightness on loading and creates > > > sysfs files to confuse user space. > > > > > > > still is nice for this to be handled automatically. > > > > It is in latest ACPI test branch queued for 2.6.28. > > It is still not in rc2; is it scheduled for 2.6.28 or delayed further? Right, it's not there. Len, what happened with the: "Check for ACPI backlight support otherwise use vendor ACPIdrivers - version 4" patches? They are pretty essential for video.ko. Otherwise graphics devices may get double poked (through vendor_acpi.ko drivers) or may register for graphics cards which are not there. Thomas -- 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/