Bug 63671

Summary: HP 2000-2d11dx needs inverted backlight brightness
Product: Drivers Reporter: Bryan Hundven (bryanhundven)
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED CODE_FIX    
Severity: normal CC: aaron.lu, daniel, intel-gfx-bugs
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.12.0-rc6 Subsystem:
Regression: No Bisected commit-id:
Attachments: Patch to add HP 2000-2d11dx to quirk list
drm.debug=0xe

Description Bryan Hundven 2013-10-25 08:51:01 UTC
Created attachment 112231 [details]
Patch to add HP 2000-2d11dx to quirk list

This is similar to Bug 53881.

Adding i915.invert_brightness=1 to the kernel parameters allowed me to install multiple distributions perfectly.

This change adds the HP 2000-2d11dx to the list that needs quirk_invert_brightness.
Comment 1 Daniel Vetter 2013-10-27 18:32:59 UTC
Most likely not, the backlight inversion is only known to affect gen4 models from Acer. You have a gen7 modell from HP.

Please boot with drm.debug=0xe on latest kernels but without any other options and then attach the full dmesg to this report.

Also please try out whether any of the backlight interfaces in /sys/class/backlight work or whether the backlight adjustment keys work.

The background is that on some recent machines something (which we haven't tracked down yet) resets the backlight to 0 when booting. Inverting the scale doesn't fix this at all (and actually breaks your backlight pretty badly overall).
Comment 2 Jani Nikula 2013-10-28 11:07:35 UTC
Agree with Daniel.

Two things to try, separately:

1) video.use_bios_initial_backlight=0 module parameter

2) Aaron's patches at http://mid.gmane.org/1381498066-16011-1-git-send-email-aaron.lu@intel.com
Comment 3 Bryan Hundven 2013-10-29 00:42:51 UTC
(In reply to Daniel Vetter from comment #1)
> Most likely not, the backlight inversion is only known to affect gen4 models
> from Acer. You have a gen7 modell from HP.
> 
> Please boot with drm.debug=0xe on latest kernels but without any other
> options and then attach the full dmesg to this report.
> 
> Also please try out whether any of the backlight interfaces in
> /sys/class/backlight work or whether the backlight adjustment keys work.
> 
> The background is that on some recent machines something (which we haven't
> tracked down yet) resets the backlight to 0 when booting. Inverting the
> scale doesn't fix this at all (and actually breaks your backlight pretty
> badly overall).

Tried #1 from Jani's post and that worked. I've not tried #2.

Attached is the dmesg from drm.debug=0xe.

Backlight controls do not seem to work, but I haven't tried with video.use_bios_initial_backlight=0 yet.
Comment 4 Bryan Hundven 2013-10-29 00:43:22 UTC
Created attachment 112621 [details]
drm.debug=0xe
Comment 5 Jani Nikula 2014-01-23 08:42:44 UTC
Adding Aaron - this should be fixed in 3.13, right? Can we close the bug?
Comment 6 Aaron Lu 2014-01-23 08:58:39 UTC
Yes, it should be fixed by:
commit 2c62333a408f5badd2d2ffd7177f95deeccc5ca4
Author: Aaron Lu <aaron.lu@intel.com>
Date:   Wed Nov 6 09:07:10 2013 +0800

    ACPI / video: Quirk initial backlight level 0

Which entered v3.13.
Comment 7 Jani Nikula 2014-01-23 18:14:54 UTC
Thanks Aaron! Presumed fixed in 3.13, please reopen if problem persists with that.