Bug 123651 - brightness keys Fn+F8 and Fn+F9 are not recognized
Summary: brightness keys Fn+F8 and Fn+F9 are not recognized
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-12 18:07 UTC by Paolo Stivanin
Modified: 2016-12-06 13:47 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.x
Subsystem:
Regression: No
Bisected commit-id:


Attachments
lspci -vvv (10.42 KB, text/plain)
2016-07-12 18:07 UTC, Paolo Stivanin
Details

Description Paolo Stivanin 2016-07-12 18:07:28 UTC
Created attachment 223051 [details]
lspci -vvv

Laptop model: Santech T67, based on a Clevo P640RE
CPU: i7 6700HQ
VGA: nVidia GTX 970m
RAM: 16 GB ddr4
SDDs: 2x Samsung EVO 850

Expected result: Fn+F8 should decrease screen brightness, Fn+F9 should increase screen brightness

Actual result: nothing happens

More info:
- using 'showkey --scancodes' if I press Fn+F8/F9 nothing appears
- using 'showkey --keycodes' if I press Fn+F8/F9 nothing appears
- using 'xev' if I press Fn+F8/F9 nothing appears
- lspci -vvv output attached

I don't know what else I could add so, please, if you need more info just ask :-)
Comment 1 Paolo Stivanin 2016-07-12 18:09:00 UTC
Forgot to add:

OS: Arch Linux x64
DE: Gnome 3.20
Kernel: 4.6.3 (but this is problem is here since I started using the laptop, so with the kernel 4.4). I have tested also the kernel 4.7-rc7 (mainline and drm-intel-nightly) but the bug is still there.
Comment 2 Peter Wu 2016-07-16 11:19:37 UTC
There are patches for the i915 driver that fix the brightness issues.
See https://patchwork.freedesktop.org/series/4783/
Comment 3 Paolo Stivanin 2016-07-16 11:39:52 UTC
Thank you Peter!

So my next steps are:

1) cloning drm-intel-next
2) cloning opregion-didl-v4 branch
3) merge the 1 and 2
am I right?

Cheers
Comment 4 Peter Wu 2016-07-16 11:46:08 UTC
Try the drm-intel-next-queued branch with the two linked patches or just the opregion-didl-v4 branch from https://cgit.freedesktop.org/~jani/drm (which already contains all patches).
Comment 5 Paolo Stivanin 2016-07-16 16:15:40 UTC
it works! :D
I have compiled the opregion-didl-v4 branch and it works like a charm :D

The only problem is that I can't use the 4.7 kernel until nvidia releases an update (there are some issues building the nvidia kernel drivers for kernel >= 4.7)
Comment 6 Peter Wu 2016-12-06 13:47:40 UTC
The final patch for (presumably) 4.10 is here:
https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-next&id=8e1b56a4b1deb3d25674c49255388902901f2c45

From: Jani Nikula <jani.nikula@intel.com>
Date: Wed, 16 Nov 2016 13:29:56 +0200
Subject: drm/i915: make i915 the source of acpi device ids for _DOD

Note You need to log in before you can comment on or make changes to this bug.