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

           Summary: Asus F80L: backlight brightness as a cooling_device
           Product: ACPI
           Version: 2.5
    Kernel Version: 3.5.0 and earlier
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Video
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No


Created an attachment (id=76771)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=76771)
gzipped acpidump

On my Asus F80L laptop one of the cooling_devices
reports (inverted) backlight brightness level.

cat /sys/class/thermal/cooling_device2/type
LCD
cat /sys/class/thermal/cooling_device2/cur_state
9
# set max brightness by [Fn+F6]
cat /sys/class/thermal/cooling_device2/cur_state 
0
# set min brightness by [Fn+F5]
cat /sys/class/thermal/cooling_device2/cur_state 
15
ls -l /sys/class/thermal/cooling_device2 
lrwxrwxrwx 1 root root 0 Aug  4 23:20 /sys/class/thermal/cooling_device2 ->
../../devices/virtual/thermal/cooling_device2
ls -l /sys/class/thermal/cooling_device2/
total 0
-rw-r--r-- 1 root root 4096 Aug  4 23:22 cur_state
lrwxrwxrwx 1 root root    0 Aug  4 23:22 device ->
../../../LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/device:1e
-r--r--r-- 1 root root 4096 Aug  4 23:22 max_state
drwxr-xr-x 2 root root    0 Aug  4 23:22 power
lrwxrwxrwx 1 root root    0 Aug  4 23:11 subsystem -> ../../../../class/thermal
-r--r--r-- 1 root root 4096 Aug  4 23:20 type
-rw-r--r-- 1 root root 4096 Aug  4 23:11 uevent

Brightness level is presented in
/sys/class/backlight/acpi_video0/brightness
There is another file that always gives 0
/sys/class/backlight/intel_backlight/brightness

Other two cooling_devices are useless since
cur_state is always 0 for them
cat /sys/class/thermal/cooling_device[01]/type 
Processor
Processor

No fans are detected although the laptop has one.

I do not think that backlight brightness should be
listed in cooling_device directory. I would prefer
to have fan speed instead.

acpidump > asus-f80l-acpidump
Wrong checksum for generic table!
Wrong checksum for generic table!

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to