From: Daniel Vetter Subject: Re: Packard Bell EasyNote LV need i915.invert_brightness=1 Date: Fri, 28 Jun 2013 14:15:16 +0200 Message-ID: <20130628121516.GV18285@phenom.ffwll.local> References: <20130611151313.GG31600@ulrik.uio.no> <20130624215743.GJ28197@ulrik.uio.no> <20130625125810.GT5823@phenom.ffwll.local> <2flr4fpyurq.fsf@diskless.uio.no> <20130626170856.GG18285@phenom.ffwll.local> <20130626173539.GS28197@ulrik.uio.no> <20130627130343.GO9549@diskless.uio.no> <20130627150544.GW28197@ulrik.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 51EFCE5EEB for ; Fri, 28 Jun 2013 05:15:17 -0700 (PDT) Received: by mail-ee0-f47.google.com with SMTP id e49so994161eek.34 for ; Fri, 28 Jun 2013 05:15:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130627150544.GW28197@ulrik.uio.no> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Petter Reinholdtsen Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Thu, Jun 27, 2013 at 05:05:44PM +0200, Petter Reinholdtsen wrote: > [Daniel Vetter] > > The buttons might do something fancy behind the scenes (kernel or > > userspace), so can you please also check whether directly changing > > the backlight values in /sys/class/backlight works correctly? > > There is full brightness when I set the value of max_brightness into > the brightness file (as in 'echo 4882 > brightness'), and complete > darkness when it is set to 0. This was using acpi_backlight=vendor. > I suspect that mean the intel_backlight driver is working correctly, > but am not sure if 0 is supposed to be completely dark or not. Ok, so the intel backlight actually seems to work here and we only have a funny interaction between the acpi backlight and the intel backlight. I'll drop your patch to invert the i915 backlight brightness again. > > acpi can't invert, and the different backlight drivers can affect > > each another in funny ways. Which is way we have a clearly defined > > priority order that userspace should use, and then _only_ touch the > > selected backlight. ACPI wins over i915, so if the ACPI backlight is > > broken (but the raw i915 backlight driver works) we need to > > blacklist it. > > Right. I guess my findings above mean the hardware should be > blacklisted (from acpi?). Sounds like. Please file a bug report against ACPI -> Video on bugzilla.kernel.org. > > Is there no way to discover using ACPI if the backlight brightness > setting should be inverted or not? Afai we know, not. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch