public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* rc6+ regression - backlight reset to 0 on boot after 7c0ea45be4f114d85ee35caeead8e1660699c46f
@ 2008-04-02 18:53 Andrey Borzenkov
  2008-04-03  1:59 ` Zhao Yakui
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Borzenkov @ 2008-04-02 18:53 UTC (permalink / raw)
  To: Rafael J. Wysocki, Zhao Yakui; +Cc: linux-acpi, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

Commit 7c0ea45be4f114d85ee35caeead8e1660699c46f registers ACPI backlight
even if _BQC method (query current backlight level) is missing. The effect is:

during initialization video.c:acpi_video_device_find_cap() calls backlight_update_status(). It tries to fetch actual level via acpi_video_get_brightness() - but as _BQC is missing it just returns current value
as stored in memory - i.e. zero, because it was never set. So effectively
backlight_update_status() reset brightness to minimal value == 0.

This happens on Toshiba Portege 4000. Verified by reverting commit on top of
rc8.

On a side note, it would be nice to fit backlight device into actual ACPI
device tree instead of /devices/virtual.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-08  6:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02 18:53 rc6+ regression - backlight reset to 0 on boot after 7c0ea45be4f114d85ee35caeead8e1660699c46f Andrey Borzenkov
2008-04-03  1:59 ` Zhao Yakui
2008-04-03 18:34   ` Andrey Borzenkov
2008-04-08  6:05     ` Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox