FS#55024 - [linux] Enable support for cherry trail PWM controller for backlight brightness control
Attached to Project:
Arch Linux
Opened by Daniel Goß (dgoss) - Thursday, 03 August 2017, 10:33 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 08 December 2017, 08:37 GMT
Opened by Daniel Goß (dgoss) - Thursday, 03 August 2017, 10:33 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 08 December 2017, 08:37 GMT
|
Details
Description:
The current arch linux kernel does not include the necessary code and modules for the cherry trail PWM controller included inside the low power subsystem of the atom SoCs. Kernel 4.12 now contains the necessary patches to detect the cherry trail PWM controller even if DSDT does not explicitly list it. dmesg states "80862288:00: Device [PWM1] is in always present list" on boot. To allow backlight control to work on some cherry trail tablets and notebooks (namely the Asus T102HA) the PWM subsystem of the kernel has to be activated. I'd like to recommend to enable the following options with the default arch linux kernel to allow backlight brightness control to work out of the box with cherry trail tablets: CONFIG_PWM=y CONFIG_PWM_SYSFS=y CONFIG_PWM_CRC=y CONFIG_PWM_LPSS=m CONFIG_PWM_LPSS_PCI=m CONFIG_PWM_LPSS_PLATFORM=m I've confirmed that this worked an Asus T102HA with Kernel 4.12.3. All other settings are the default settings for package linux-4.12.3. Additional info: * Linux 4.12.3-1 Steps to reproduce: With the current arch linux kernel configuration the i915 module complains "failed to own the PWM chip" on boot and backlight control does not work. Enabling the configuration options (see above) on kernel 4.12.3 and including pwm-lpss-platform and pwm-lpss-acpi into the initcpio backlight control works as expected. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Friday, 08 December 2017, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: 4.14.4-2
Friday, 08 December 2017, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: 4.14.4-2
Thanks!!!
Take a look at the wiki for details: https://wiki.archlinux.org/index.php/Mkinitcpio#MODULES
PS: You should use the forum for such requests.
I can confirm that adding the above mentioned options also works with the tablet Lenovo Yoga 2 8" Windows Edition (Lenovo Yoga 851F).
Building a new kernel on every update to keep the backlight working is really tedious.