Bug 82301 - backlight sets to maximum when switching TTYs
Summary: backlight sets to maximum when switching TTYs
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P2 normal
Assignee: Daniel Vetter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 10:32 UTC by Igor Raits
Modified: 2014-08-22 11:45 UTC (History)
3 users (show)

See Also:
Kernel Version: kernel-3.16.0-1.fc21.x86_64
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
logs with drm.debug=0xe (19.28 KB, text/plain)
2014-08-13 10:35 UTC, Igor Raits
Details

Description Igor Raits 2014-08-13 10:32:10 UTC
Steps to reproduce:
1. set backlight to some value (through sysfs or any way)
2. switch to TTY

Actual results:
when TTY switched backlight setted to maximum value

Expected results:
when TTY switched backlight saved

Additional info:
I have only `intel_backlight`.
Comment 1 Igor Raits 2014-08-13 10:35:20 UTC
Created attachment 146421 [details]
logs with drm.debug=0xe

I can reproduce on X1 Carbon and on X230
Comment 2 Jani Nikula 2014-08-13 11:48:15 UTC
Seems to me the driver is setting exactly the backlight values requested by userspace.
Comment 3 Igor Raits 2014-08-21 22:38:31 UTC
Why invalid?
Comment 4 Alan 2014-08-22 11:45:33 UTC
The kernel is doing exactly what your userspace told it to so this would if anything be a distribution problem (probably in the X server)

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