public inbox for dri-devel@lists.freedesktop.org
 help / color / mirror / Atom feed
* inverted brightness for HP notebook
       [not found] <1487587494.280244480.1415843877885.JavaMail.root@spooler1-g27.priv.proxad.net>
@ 2014-11-13  2:11 ` olivier.fambon
  2014-11-13 12:30   ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: olivier.fambon @ 2014-11-13  2:11 UTC (permalink / raw)
  To: dri-devel

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"
EndSection


Note that the same brightness inversion happened also on ubuntu 14.10 (vanilla install, no xorg conf required)


Cheers,
Olivier.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: inverted brightness for HP notebook
  2014-11-13  2:11 ` inverted brightness for HP notebook olivier.fambon
@ 2014-11-13 12:30   ` Jani Nikula
  2015-06-17 14:44     ` Max Manheimer
  0 siblings, 1 reply; 4+ messages in thread
From: Jani Nikula @ 2014-11-13 12:30 UTC (permalink / raw)
  To: olivier.fambon, dri-devel

On Thu, 13 Nov 2014, olivier.fambon@free.fr 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
>
>
> => 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

>
>
>
>
> 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"
> EndSection
>
>
> Note that the same brightness inversion happened also on ubuntu 14.10 (vanilla install, no xorg conf required)
>
>
> Cheers,
> Olivier.
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: inverted brightness for HP notebook
  2014-11-13 12:30   ` Jani Nikula
@ 2015-06-17 14:44     ` Max Manheimer
  2015-06-18  6:19       ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: Max Manheimer @ 2015-06-17 14:44 UTC (permalink / raw)
  To: dri-devel

Hi,

Jani Nikula <jani.nikula <at> linux.intel.com> writes:

> 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])
>> 	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

As there's a specific broadwell i915 module, you have to adapt as follows:

options i915_bdw invert_brightness=1
 
> 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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: inverted brightness for HP notebook
  2015-06-17 14:44     ` Max Manheimer
@ 2015-06-18  6:19       ` Jani Nikula
  0 siblings, 0 replies; 4+ messages in thread
From: Jani Nikula @ 2015-06-18  6:19 UTC (permalink / raw)
  To: Max Manheimer, dri-devel

On Wed, 17 Jun 2015, Max Manheimer <stiltskin@ymail.com> wrote:
> Hi,
>
> Jani Nikula <jani.nikula <at> linux.intel.com> writes:
>
>> 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])
>>> 	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
>
> As there's a specific broadwell i915 module, you have to adapt as follows:
>
> options i915_bdw invert_brightness=1
>  
>> 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)

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


-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-18  6:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1487587494.280244480.1415843877885.JavaMail.root@spooler1-g27.priv.proxad.net>
2014-11-13  2:11 ` inverted brightness for HP notebook olivier.fambon
2014-11-13 12:30   ` Jani Nikula
2015-06-17 14:44     ` Max Manheimer
2015-06-18  6:19       ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox