https://bugzilla.kernel.org/show_bug.cgi?id=100231

            Bug ID: 100231
           Summary: Brightness resets on un/plug
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.0.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Video
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

It looks like the kernel/driver resets brightness on every plug/unplug.

/sys/class/backlight/ contains two directories:
acpi_video0/ & radeon_bl0/

Full brightness:

$ cat /sys/class/backlight/*/brightness 
24
255

Zero brightness:

$ cat /sys/class/backlight/*/brightness 
0
255

The reset doesn't actually change any value (or so it seems), even
/sys/devices/virtual/thermal/cooling_device1/, which contains the brightness,
doesn't change. But I tried changing the brightness manually and comparing and
it looks like it resets it to this position, even though it doesn't show it:

$ cat /sys/class/backlight/*/brightness 
10
255

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to