inverted brightness for HP notebook
A message that is not in the archive (sent off-list or not yet received): 1487587494.280244480.1415843877885.JavaMail.root@spooler1-g27.priv.proxad.net
Hi there,
$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)
$ sudo lspci -v -s 00:02 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 2213 Flags: bus master, fast devsel, latency 0, IRQ 107 Memory at 90000000 (32-bit, non-prefetchable) [size=4M] Memory at 80000000 (32-bit, prefetchable) [size=256M] I/O ports at 3050 [size=8] Expansion ROM at <unassigned> [disabled] Capabilities: [d0] Power Management version 2 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [b0] Vendor Specific Information: Len=07 <?> Kernel driver in use: i915
=> requires the following to make brightness control keys work as expected
$ cat /etc/modprobe.d/i915.conf options i915 invert_brightness=1
tested on ubuntu 14.04 (with added xorg conf below)
$ cat /usr/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "card0"
Driver "intel"
Option "Backlight" "intel_backlight"
BusID "PCI:0:2:0"
EndSectionNote that the same brightness inversion happened also on ubuntu 14.10 (vanilla install, no xorg conf required)
Cheers,
Olivier.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 19 lines · On Thu, 13 Nov 2014, [email protected] wrote:
Hi there,
$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)$ sudo lspci -v -s 00:02 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 2213 Flags: bus master, fast devsel, latency 0, IRQ 107 Memory at 90000000 (32-bit, non-prefetchable) [size=4M] Memory at 80000000 (32-bit, prefetchable) [size=256M] I/O ports at 3050 [size=8] Expansion ROM at <unassigned> [disabled] Capabilities: [d0] Power Management version 2 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [b0] Vendor Specific Information: Len=07 <?> Kernel driver in use: i915
Quoted 4 lines
=> requires the following to make brightness control keys work as expected
$ cat /etc/modprobe.d/i915.conf options i915 invert_brightness=1
I highly doubt this. This might be true for some gen4 models, but not Valleyview. Please file a bug on DRM/Intel at [1], and describe the symptoms.
BR,
Jani.
[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
Quoted 24 lines
tested on ubuntu 14.04 (with added xorg conf below)
$ cat /usr/share/X11/xorg.conf.d/20-intel.conf Section "Device" Identifier "card0" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI:0:2:0" EndSectionNote that the same brightness inversion happened also on ubuntu 14.10 (vanilla install, no xorg conf required)
Cheers,
Olivier.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 7 lines · Jani Nikula <jani.nikula <at> linux.intel.com> writes:
Quoted 5 lines · On Thu, 13 Nov 2014, olivier.fambon <at> free.fr wrote:
$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)$ sudo lspci -v -s 00:02 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev
0e) (prog-if 00 [VGA controller])
Quoted 11 lines
Quoted 10 lines
Subsystem: Hewlett-Packard Company Device 2213
Flags: bus master, fast devsel, latency 0, IRQ 107 Memory at 90000000 (32-bit, non-prefetchable) [size=4M] Memory at 80000000 (32-bit, prefetchable) [size=256M] I/O ports at 3050 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: [d0] Power Management version 2
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [b0] Vendor Specific Information: Len=07 <?> Kernel driver in use: i915
Quoted 4 lines
Quoted 4 lines
=> requires the following to make brightness control keys work as expected
$ cat /etc/modprobe.d/i915.conf options i915 invert_brightness=1
As there's a specific broadwell i915 module, you have to adapt as follows:
options i915_bdw invert_brightness=1
Quoted 2 lines
I highly doubt this. This might be true for some gen4 models, but not Valleyview.
The above mentioned i915_bdw option fixes the backlight inversion on my HP 250 G3 (same lspci output as in original post)
So long.
Max
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 30 lines · Max Manheimer
Hi,
Quoted 7 lines · Jani Nikula <jani.nikula <at> linux.intel.com> writes:
Quoted 5 lines · On Thu, 13 Nov 2014, olivier.fambon <at> free.fr wrote:
$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)$ sudo lspci -v -s 00:02 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev0e) (prog-if 00 [VGA controller])
Quoted 11 lines
Quoted 10 lines
Subsystem: Hewlett-Packard Company Device 2213
Flags: bus master, fast devsel, latency 0, IRQ 107 Memory at 90000000 (32-bit, non-prefetchable) [size=4M] Memory at 80000000 (32-bit, prefetchable) [size=256M] I/O ports at 3050 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: [d0] Power Management version 2
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [b0] Vendor Specific Information: Len=07 <?> Kernel driver in use: i915Quoted 4 lines
Quoted 4 lines
=> requires the following to make brightness control keys work as expected
$ cat /etc/modprobe.d/i915.conf options i915 invert_brightness=1As there's a specific broadwell i915 module, you have to adapt as follows:
Quoted 7 lines
options
i915_bdwinvert_brightness=1Quoted 2 lines
I highly doubt this. This might be true for some gen4 models, but not Valleyview.
The above mentioned
i915_bdwoption fixes the backlight inversion on my HP 250 G3 (same lspci output as in original post)
i915_bdw is an Ubuntu thing, upstream has nothing to do with it. But I'm surprised they'd use i915_bdw for a Baytrail/Valleyview.
If you can reproduce with the upstream driver, please file a bug at [1].
BR,
Jani.
[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel