Comment 12 for bug 136693

Revision history for this message
Richard Theil (richard-theil) wrote : Confirmed on IBM T41, bogus number of levels from HAL?

Since a recent update, I see the bug on an IBM T41. On "gnome-power-manager --no-daemon --verbose" it outputs:

[gpm_brightness_lcd_init] gpm-brightness-lcd.c:496 (16:17:54): Laptop panel levels: 134648572
*** WARNING ***
[gpm_brightness_lcd_init] gpm-brightness-lcd.c:498 (16:17:54): Laptop panel levels are invalid!

(gnome-power-manager:6019): GLib-GObject-CRITICAL **: g_value_set_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
[gpm_brightness_lcd_get_hw] gpm-brightness-lcd.c:116 (16:17:54): GetBrightness returned level: 0

Looks like the number of levels is bogus. This value seems to originate in the Hardware Information, where under "Generic Backlight Device" laptop_panel.num_levels already shows "134648572 (0x80692fc)". I'd expect something like "8" or "16".