Re: 2.6.31-rc2: thinkpad boots with backlight low

From: Tobias Diedrich
Date: Wed Jul 15 2009 - 18:39:40 EST


Henrique de Moraes Holschuh wrote:
> There is one thing that comes to mind: display power management.
>
> Is anything, by chance, setting the backlight devices to low power mode
> on machine restart? The backlight drivers would try to set brightness
> to 0 when it cannot turn the display off for real...

Whatever registers /sys/class/backlight/thinkpad_screen/ seems to be
responsible.
After boot this has 0 for brightness and actual_brightness, 7 for
max_brightness.
Adjusting the backlight brightness with thinkpad keys does not
affect this at all, it always stays at 0.
If I manually change it to 7 and reboot (or poweroff, for
that matter), then backlight brightness is apparently changed to
that value (instead of minimum).

grepping shows it's actually thinkpad_acpi registering
thinkpad_screen. (Well, that was kind of to be expected)
And /proc/acpi/ibm/brightness also doesn't seem to reflect the real
current value...

What irritates me is that a compiled in thinkpad_acpi does not show
up as a module in /sys/modules and so I can't look at the
module parameters. (brightness_mode looks interesting)

--
Tobias PGP: http://9ac7e0bc.uguu.de
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/