Bug 1391309 - Screen Brightness keys not working
Summary: Screen Brightness keys not working
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 02:23 UTC by RossSatchell
Modified: 2017-04-28 17:48 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-28 17:12:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description RossSatchell 2016-11-03 02:23:17 UTC
Description of problem:
Dell XPS13 L321X
Using the Fn+F4 and Fn+F5 screen brightness keys have no effect when OS is loaded. When on the GRUB screen to select kernel version the screen brightness keys work as expected.

When I first installed Fedora 24 from LiveUSB(not sure what the kernel version it shipped with was), the brightness keys worked as expected. Within 3 kernel update increments the splash screen would come up and the marker for screen brightness would move, but wouldn't have any effect on the screen brightness. A couple of kernel increments later, the screen brightness splash screen stopped appearing as well as brightness not changing.


Version-Release number of selected component (if applicable):
The kernel version is 4.7.9-200.fc24.x86_64


How reproducible:
Every time

Steps to Reproduce:
1.Power on laptop
2.
3.

Actual results:
I am able to adjust brightness on GRUB screen, but not able to adjust brightness once booted.


Expected results:
Screen brightness to change when Fn+F4 and Fn+F5 keys used


Additional info:

Output with non-working backlight:
[root@ross-dell-system-xps-l321x ross]# ls /sys/class/backlight

     No output


[root@ross-dell-system-xps-l321x ross]# grep '.*' /sys/class/dmi/id/*_* 2> /dev/null
/sys/class/dmi/id/bios_date:08/14/2012
/sys/class/dmi/id/bios_vendor:Dell Inc.         
/sys/class/dmi/id/bios_version:A07
/sys/class/dmi/id/board_asset_tag:        
/sys/class/dmi/id/board_name:085X6F
/sys/class/dmi/id/board_serial:.4QVCRS1.CN486432360822.
/sys/class/dmi/id/board_vendor:Dell Inc.         
/sys/class/dmi/id/board_version:A00
/sys/class/dmi/id/chassis_asset_tag:        
/sys/class/dmi/id/chassis_serial:4QVCRS1
/sys/class/dmi/id/chassis_type:8
/sys/class/dmi/id/chassis_vendor:Dell Inc.         
/sys/class/dmi/id/chassis_version:0.1
/sys/class/dmi/id/product_name:Dell System XPS L321X
/sys/class/dmi/id/product_serial:4QVCRS1
/sys/class/dmi/id/product_uuid:4C4C4544-0051-5610-8043-B4C04F525331
/sys/class/dmi/id/product_version:
/sys/class/dmi/id/sys_vendor:Dell Inc.   


[root@ross-dell-system-xps-l321x ross]# lsmod|grep dell
dell_wmi               16384  0
sparse_keymap          16384  1 dell_wmi
dell_laptop            20480  0
dell_smbios            16384  2 dell_wmi,dell_laptop
dcdbas                 16384  1 dell_smbios
rfkill                 24576  7 cfg80211,bluetooth,dell_laptop
wmi                    16384  1 dell_wmi
video                  40960  3 i915,dell_wmi,dell_laptop

Comment 1 Marcos Paulo 2016-11-24 01:20:31 UTC
(In reply to RossSatchell from comment #0)
> Description of problem:
> Dell XPS13 L321X
> Using the Fn+F4 and Fn+F5 screen brightness keys have no effect when OS is
> loaded. When on the GRUB screen to select kernel version the screen
> brightness keys work as expected.
> 
> When I first installed Fedora 24 from LiveUSB(not sure what the kernel
> version it shipped with was), the brightness keys worked as expected. Within
> 3 kernel update increments the splash screen would come up and the marker
> for screen brightness would move, but wouldn't have any effect on the screen
> brightness. A couple of kernel increments later, the screen brightness
> splash screen stopped appearing as well as brightness not changing.
> 
> 
> Version-Release number of selected component (if applicable):
> The kernel version is 4.7.9-200.fc24.x86_64
> 
> 
> How reproducible:
> Every time
> 
> Steps to Reproduce:
> 1.Power on laptop
> 2.
> 3.
> 
> Actual results:
> I am able to adjust brightness on GRUB screen, but not able to adjust
> brightness once booted.
> 
> 
> Expected results:
> Screen brightness to change when Fn+F4 and Fn+F5 keys used
> 
> 
> Additional info:
> 
> Output with non-working backlight:
> [root@ross-dell-system-xps-l321x ross]# ls /sys/class/backlight
> 
>      No output
> 
> 
> [root@ross-dell-system-xps-l321x ross]# grep '.*' /sys/class/dmi/id/*_* 2>
> /dev/null
> /sys/class/dmi/id/bios_date:08/14/2012
> /sys/class/dmi/id/bios_vendor:Dell Inc.         
> /sys/class/dmi/id/bios_version:A07
> /sys/class/dmi/id/board_asset_tag:        
> /sys/class/dmi/id/board_name:085X6F
> /sys/class/dmi/id/board_serial:.4QVCRS1.CN486432360822.
> /sys/class/dmi/id/board_vendor:Dell Inc.         
> /sys/class/dmi/id/board_version:A00
> /sys/class/dmi/id/chassis_asset_tag:        
> /sys/class/dmi/id/chassis_serial:4QVCRS1
> /sys/class/dmi/id/chassis_type:8
> /sys/class/dmi/id/chassis_vendor:Dell Inc.         
> /sys/class/dmi/id/chassis_version:0.1
> /sys/class/dmi/id/product_name:Dell System XPS L321X
> /sys/class/dmi/id/product_serial:4QVCRS1
> /sys/class/dmi/id/product_uuid:4C4C4544-0051-5610-8043-B4C04F525331
> /sys/class/dmi/id/product_version:
> /sys/class/dmi/id/sys_vendor:Dell Inc.   
> 
> 
> [root@ross-dell-system-xps-l321x ross]# lsmod|grep dell
> dell_wmi               16384  0
> sparse_keymap          16384  1 dell_wmi
> dell_laptop            20480  0
> dell_smbios            16384  2 dell_wmi,dell_laptop
> dcdbas                 16384  1 dell_smbios
> rfkill                 24576  7 cfg80211,bluetooth,dell_laptop
> wmi                    16384  1 dell_wmi
> video                  40960  3 i915,dell_wmi,dell_laptop

Hi,

would you mind try these two patches?
https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel/commit/?h=drm-intel-next-queued&id=8e1b56a4b1deb3d25674c49255388902901f2c45
https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel/commit/?h=drm-intel-next-queued&id=200453bfced58c0d67c26daeeb845f24f7fee1df

Both are already in queued to next merge window, and it at least solved the same problem in some Asus and Fujitsu laptops[1].

Thanks

[1] https://bugzilla.kernel.org/show_bug.cgi?id=98931

Comment 2 Hans de Goede 2016-11-24 09:19:50 UTC
Hi,

> would you mind try these two patches?
> https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/
> mirror-drm-intel/commit/?h=drm-intel-next-
> queued&id=8e1b56a4b1deb3d25674c49255388902901f2c45
> https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/
> mirror-drm-intel/commit/?h=drm-intel-next-
> queued&id=200453bfced58c0d67c26daeeb845f24f7fee1df

The 2 patches are in drm-intel-next now. Unfortunately creating a rpm from a random git kernel tree is not so easy, so I would like to ask you to manually build the kernel yourself, by following these instructions:

sudo dnf install -y git gcc make
git clone git://anongit.freedesktop.org/drm-intel
cd drm-intel
wget https://fedorapeople.org/~jwrdegoede/config-4.9.0-rc5
mv config-4.9.0-rc5 .config
make oldconfig
<the make oldconfig may ask some questions, simply hit enter to choose the defaults>
make -j4 bzImage && make -j4 modules && sudo make modules_install && sudo make install
<this is going to take a while, say approx. an hour or so>

And now you can reboot, note grub will default to your latest normally installed kernel, to pick this one you need to explictly select it.

And then see if the brightness keys now work

Thanks & Regards,

Hans

Comment 3 Justin M. Forbes 2017-04-11 14:41:31 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs.

Fedora 25 has now been rebased to 4.10.9-100.fc24.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26.

If you experience different issues, please open a new bug report for those.

Comment 4 Justin M. Forbes 2017-04-28 17:12:41 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the 
relevant data from the latest kernel you are running and any data that might have been requested previously.

Comment 5 RossSatchell 2017-04-28 17:48:52 UTC
(In reply to Justin M. Forbes from comment #4)
> *********** MASS BUG UPDATE **************
> This bug is being closed with INSUFFICIENT_DATA as there has not been a
> response in 2 weeks. If you are still experiencing this issue, please reopen
> and attach the 
> relevant data from the latest kernel you are running and any data that might
> have been requested previously.

Hi,
Sorry for the tardy reply.
I have updated to Fedora 25 and no longer have this problem.

Thank you for your great work.


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