Bug 95691 - [byt edp] Brightness adjustment function keys do not work on Asus EeeBook X205TA
Summary: [byt edp] Brightness adjustment function keys do not work on Asus EeeBook X205TA
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-26 19:00 UTC by Lubomir Kucera
Modified: 2017-08-03 09:41 UTC (History)
9 users (show)

See Also:
Kernel Version: 4.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Debug log (117.12 KB, text/plain)
2015-03-27 12:36 UTC, Lubomir Kucera
Details
ACPI dump (423.95 KB, text/plain)
2015-03-30 04:14 UTC, Lubomir Kucera
Details

Description Lubomir Kucera 2015-03-26 19:00:59 UTC
Brightness adjustment function keys does not work on Asus EeeBook X205TA. The laptop uses Intel Atom Z3735F with embedded Intel HD Graphics.
Comment 1 Jani Nikula 2015-03-27 07:51:18 UTC
Please add drm.debug=14 parameter and attach dmesg all the way from early boot to trying to adjust the brightness.
Comment 2 Lubomir Kucera 2015-03-27 12:36:59 UTC
Created attachment 172491 [details]
Debug log
Comment 3 Lubomir Kucera 2015-03-27 12:37:43 UTC
However, software brightness adjustment works well.
Comment 4 Jani Nikula 2015-03-27 13:05:41 UTC
(In reply to Lubomir Kucera from comment #3)
> However, software brightness adjustment works well.

That sounds like a problem in acpi (hotkeys not reported) or userspace (key events not received/acted on), not i915.

Btw what do you have under /sys/class/backlight?

Cc: Aaron
Comment 5 Jani Nikula 2015-03-27 13:07:03 UTC
Logs say:

[    5.345260] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input6
[    5.351233] asus_wmi: Backlight controlled by ACPI video driver

PS. Why do you have video=SVIDEO-1:d on your kernel command line?
Comment 6 Lubomir Kucera 2015-03-27 13:10:35 UTC
(In reply to Jani Nikula from comment #4)
> (In reply to Lubomir Kucera from comment #3)
> > However, software brightness adjustment works well.
> 
> That sounds like a problem in acpi (hotkeys not reported) or userspace (key
> events not received/acted on), not i915.
> 
> Btw what do you have under /sys/class/backlight?
> 
> Cc: Aaron

intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
Comment 7 Lubomir Kucera 2015-03-27 13:11:19 UTC
(In reply to Jani Nikula from comment #5)
> Logs say:
> 
> [    5.345260] input: Asus WMI hotkeys as
> /devices/platform/asus-nb-wmi/input/input6
> [    5.351233] asus_wmi: Backlight controlled by ACPI video driver
> 
> PS. Why do you have video=SVIDEO-1:d on your kernel command line?

Display does not work without video=SVIDEO-1:d.
Comment 8 Ville Syrjala 2015-03-27 13:19:09 UTC
(In reply to Lubomir Kucera from comment #7)
> (In reply to Jani Nikula from comment #5)
> > Logs say:
> > 
> > [    5.345260] input: Asus WMI hotkeys as
> > /devices/platform/asus-nb-wmi/input/input6
> > [    5.351233] asus_wmi: Backlight controlled by ACPI video driver
> > 
> > PS. Why do you have video=SVIDEO-1:d on your kernel command line?
> 
> Display does not work without video=SVIDEO-1:d.

That makes no sense since BYT has no SVIDEO.
Comment 9 Lubomir Kucera 2015-03-27 13:57:43 UTC
I have removed video=SVIDEO-1:d and the display works. Hmm, that is interesting, it did not work without the parameter on linux 3.19.2.
Comment 10 Aaron Lu 2015-03-30 02:05:10 UTC
acpidump please:
# acpidump > acpidump.txt
Comment 11 Lubomir Kucera 2015-03-30 04:14:07 UTC
Created attachment 172611 [details]
ACPI dump
Comment 12 Aaron Lu 2015-03-30 04:52:17 UTC
It seems that you need asus-wmi or asus-nb-wmi to handle the hotkey: the only ACPI method that I found to send notification is WMNB but I don't see it is called anywhere. And there are many 32bits numbers that the asus-wmi.c seems to recognize them, so please try that two modules.
Comment 13 Lubomir Kucera 2015-03-30 05:12:01 UTC
(In reply to Aaron Lu from comment #12)
> It seems that you need asus-wmi or asus-nb-wmi to handle the hotkey: the
> only ACPI method that I found to send notification is WMNB but I don't see
> it is called anywhere. And there are many 32bits numbers that the asus-wmi.c
> seems to recognize them, so please try that two modules.

I have tried them already, no effect.
Comment 14 Aaron Lu 2015-03-30 06:07:24 UTC
Based on the firmware table, there is nothing we can do in ACPI video driver. I'll move this bug to platform category, maybe they have some idea.
Comment 15 Skullnet 2016-11-07 15:46:57 UTC
Still not working.
#uname -a
Linux eee 4.5.0-040500-generic #201603140130 SMP Mon Mar 14 05:46:27 UTC 2016 i686 i686 i686 GNU/Linux
Comment 16 Jani Nikula 2016-11-07 17:45:17 UTC
(In reply to Skullnet from comment #15)
> Still not working.
> #uname -a
> Linux eee 4.5.0-040500-generic #201603140130 SMP Mon Mar 14 05:46:27 UTC
> 2016 i686 i686 i686 GNU/Linux

That's saying it didn't work 8 months ago...

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