Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Daniel Vetter
On Sun, Dec 2, 2012 at 2:49 PM, Tom St Denis  
wrote:
> Ok so on v3.7-rc1 [and I suspect up] I can manually control the brightness by 
> echoing to
>
> /sys/class/backlight/intel_backlight/brightness
>
> But I still can't use the buttons to control it (it only goes one tick down 
> from max and stops there).  I'm using GNOME3 from a x86_64 unstable debian 
> install [up to date with latest].
>
> I just noticed that under v3.7 I have a new directory 
> /sys/class/backlight/acpi_video1 which is what GNOME is actually controlling. 
>  I can't disable ACPI video control so is there a workaround?

Hah, acpi registered a broken backlight driver, which overwrites the
intel backlight - for once it's not i915.ko's fault ;-) For a
workaround either disable the acpi backlight with
acpi_backlight=vendor (iirc) kernel option or teach the X driver that
you want a different backlight driver in the xorg.conf (Option
"Backlight" "intel_backlight" should do the trick).
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Daniel Vetter
Including a bunch more lists to the cc.

On Sun, Dec 2, 2012 at 12:42 PM, Daniel Vetter  
wrote:
> On Sun, Dec 2, 2012 at 12:32 PM, Tom St Denis  
> wrote:
>> I've narrowed it down to sometime between v3.6.8 and v3.7-rc1.  So none of 
>> the v3.7 series will work with this GPU/panel.
>
> Hm, that's still a few hundred relevant commits intermingled with a
> few thousand that likely don't matter ;-) Can you please attempt a
> kernel bisect with git? For a nice howto check out
> http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
>
> Also, can you please check which of the different backlight controls
> in /sys/class/backlight work on 3.6 (and whether any of them still
> work on 3.7)?
>
> Thanks, Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Tom St Denis
Thanks Daniel so I'm taking back my bug report on the i915 and claiming this as 
a bug against the acpi_video stack.

What sort of information would the ACPI folk like from me to help diagnose this?

Here's a dmesg dump of all ACPI messages.

http://pastebin.com/b4XKe5Fk

Tom

- Original Message -
> From: "Daniel Vetter" 
> To: "Tom St Denis" 
> Cc: linux-kernel at vger.kernel.org, "intel-gfx"  lists.freedesktop.org>, "dri-devel"
> 
> Sent: Sunday, 2 December, 2012 9:42:39 AM
> Subject: Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 
> 915/Dell Vostro 3560)
> 
> On Sun, Dec 2, 2012 at 2:49 PM, Tom St Denis
>  wrote:
> > Ok so on v3.7-rc1 [and I suspect up] I can manually control the
> > brightness by echoing to
> >
> > /sys/class/backlight/intel_backlight/brightness
> >
> > But I still can't use the buttons to control it (it only goes one
> > tick down from max and stops there).  I'm using GNOME3 from a
> > x86_64 unstable debian install [up to date with latest].
> >
> > I just noticed that under v3.7 I have a new directory
> > /sys/class/backlight/acpi_video1 which is what GNOME is actually
> > controlling.  I can't disable ACPI video control so is there a
> > workaround?
> 
> Hah, acpi registered a broken backlight driver, which overwrites the
> intel backlight - for once it's not i915.ko's fault ;-) For a
> workaround either disable the acpi backlight with
> acpi_backlight=vendor (iirc) kernel option or teach the X driver that
> you want a different backlight driver in the xorg.conf (Option
> "Backlight" "intel_backlight" should do the trick).
> -Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> 


Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Tom St Denis
Ok so on v3.7-rc1 [and I suspect up] I can manually control the brightness by 
echoing to 

/sys/class/backlight/intel_backlight/brightness

But I still can't use the buttons to control it (it only goes one tick down 
from max and stops there).  I'm using GNOME3 from a x86_64 unstable debian 
install [up to date with latest].

I just noticed that under v3.7 I have a new directory 
/sys/class/backlight/acpi_video1 which is what GNOME is actually controlling.  
I can't disable ACPI video control so is there a workaround?

Tom



- Original Message -
> From: "Daniel Vetter" 
> To: "Tom St Denis" 
> Cc: linux-kernel at vger.kernel.org, "intel-gfx"  lists.freedesktop.org>, "dri-devel"
> 
> Sent: Sunday, 2 December, 2012 6:43:14 AM
> Subject: Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 
> 915/Dell Vostro 3560)
> 
> Including a bunch more lists to the cc.
> 
> On Sun, Dec 2, 2012 at 12:42 PM, Daniel Vetter
>  wrote:
> > On Sun, Dec 2, 2012 at 12:32 PM, Tom St Denis
> >  wrote:
> >> I've narrowed it down to sometime between v3.6.8 and v3.7-rc1.  So
> >> none of the v3.7 series will work with this GPU/panel.
> >
> > Hm, that's still a few hundred relevant commits intermingled with a
> > few thousand that likely don't matter ;-) Can you please attempt a
> > kernel bisect with git? For a nice howto check out
> > http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
> >
> > Also, can you please check which of the different backlight
> > controls
> > in /sys/class/backlight work on 3.6 (and whether any of them still
> > work on 3.7)?
> >
> > Thanks, Daniel
> > --
> > Daniel Vetter
> > Software Engineer, Intel Corporation
> > +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> 
> 
> 
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> 


Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Daniel Vetter
Including a bunch more lists to the cc.

On Sun, Dec 2, 2012 at 12:42 PM, Daniel Vetter daniel.vet...@ffwll.ch wrote:
 On Sun, Dec 2, 2012 at 12:32 PM, Tom St Denis tstde...@elliptictech.com 
 wrote:
 I've narrowed it down to sometime between v3.6.8 and v3.7-rc1.  So none of 
 the v3.7 series will work with this GPU/panel.

 Hm, that's still a few hundred relevant commits intermingled with a
 few thousand that likely don't matter ;-) Can you please attempt a
 kernel bisect with git? For a nice howto check out
 http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/

 Also, can you please check which of the different backlight controls
 in /sys/class/backlight work on 3.6 (and whether any of them still
 work on 3.7)?

 Thanks, Daniel
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Daniel Vetter
On Sun, Dec 2, 2012 at 2:49 PM, Tom St Denis tstde...@elliptictech.com wrote:
 Ok so on v3.7-rc1 [and I suspect up] I can manually control the brightness by 
 echoing to

 /sys/class/backlight/intel_backlight/brightness

 But I still can't use the buttons to control it (it only goes one tick down 
 from max and stops there).  I'm using GNOME3 from a x86_64 unstable debian 
 install [up to date with latest].

 I just noticed that under v3.7 I have a new directory 
 /sys/class/backlight/acpi_video1 which is what GNOME is actually controlling. 
  I can't disable ACPI video control so is there a workaround?

Hah, acpi registered a broken backlight driver, which overwrites the
intel backlight - for once it's not i915.ko's fault ;-) For a
workaround either disable the acpi backlight with
acpi_backlight=vendor (iirc) kernel option or teach the X driver that
you want a different backlight driver in the xorg.conf (Option
Backlight intel_backlight should do the trick).
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Tom St Denis
Ok so on v3.7-rc1 [and I suspect up] I can manually control the brightness by 
echoing to 

/sys/class/backlight/intel_backlight/brightness

But I still can't use the buttons to control it (it only goes one tick down 
from max and stops there).  I'm using GNOME3 from a x86_64 unstable debian 
install [up to date with latest].

I just noticed that under v3.7 I have a new directory 
/sys/class/backlight/acpi_video1 which is what GNOME is actually controlling.  
I can't disable ACPI video control so is there a workaround?

Tom



- Original Message -
 From: Daniel Vetter daniel.vet...@ffwll.ch
 To: Tom St Denis tstde...@elliptictech.com
 Cc: linux-ker...@vger.kernel.org, intel-gfx 
 intel-...@lists.freedesktop.org, dri-devel
 dri-devel@lists.freedesktop.org
 Sent: Sunday, 2 December, 2012 6:43:14 AM
 Subject: Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 
 915/Dell Vostro 3560)
 
 Including a bunch more lists to the cc.
 
 On Sun, Dec 2, 2012 at 12:42 PM, Daniel Vetter
 daniel.vet...@ffwll.ch wrote:
  On Sun, Dec 2, 2012 at 12:32 PM, Tom St Denis
  tstde...@elliptictech.com wrote:
  I've narrowed it down to sometime between v3.6.8 and v3.7-rc1.  So
  none of the v3.7 series will work with this GPU/panel.
 
  Hm, that's still a few hundred relevant commits intermingled with a
  few thousand that likely don't matter ;-) Can you please attempt a
  kernel bisect with git? For a nice howto check out
  http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
 
  Also, can you please check which of the different backlight
  controls
  in /sys/class/backlight work on 3.6 (and whether any of them still
  work on 3.7)?
 
  Thanks, Daniel
  --
  Daniel Vetter
  Software Engineer, Intel Corporation
  +41 (0) 79 365 57 48 - http://blog.ffwll.ch
 
 
 
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch
 
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 915/Dell Vostro 3560)

2012-12-02 Thread Tom St Denis
Thanks Daniel so I'm taking back my bug report on the i915 and claiming this as 
a bug against the acpi_video stack.

What sort of information would the ACPI folk like from me to help diagnose this?

Here's a dmesg dump of all ACPI messages.

http://pastebin.com/b4XKe5Fk

Tom

- Original Message -
 From: Daniel Vetter daniel.vet...@ffwll.ch
 To: Tom St Denis tstde...@elliptictech.com
 Cc: linux-ker...@vger.kernel.org, intel-gfx 
 intel-...@lists.freedesktop.org, dri-devel
 dri-devel@lists.freedesktop.org
 Sent: Sunday, 2 December, 2012 9:42:39 AM
 Subject: Re: Brightness control fails between 3.6.8 and 3.7.0-rc7 (Intel 
 915/Dell Vostro 3560)
 
 On Sun, Dec 2, 2012 at 2:49 PM, Tom St Denis
 tstde...@elliptictech.com wrote:
  Ok so on v3.7-rc1 [and I suspect up] I can manually control the
  brightness by echoing to
 
  /sys/class/backlight/intel_backlight/brightness
 
  But I still can't use the buttons to control it (it only goes one
  tick down from max and stops there).  I'm using GNOME3 from a
  x86_64 unstable debian install [up to date with latest].
 
  I just noticed that under v3.7 I have a new directory
  /sys/class/backlight/acpi_video1 which is what GNOME is actually
  controlling.  I can't disable ACPI video control so is there a
  workaround?
 
 Hah, acpi registered a broken backlight driver, which overwrites the
 intel backlight - for once it's not i915.ko's fault ;-) For a
 workaround either disable the acpi backlight with
 acpi_backlight=vendor (iirc) kernel option or teach the X driver that
 you want a different backlight driver in the xorg.conf (Option
 Backlight intel_backlight should do the trick).
 -Daniel
 --
 Daniel Vetter
 Software Engineer, Intel Corporation
 +41 (0) 79 365 57 48 - http://blog.ffwll.ch
 
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel