On Tue, 2008-01-08 at 15:54 +0000, Matthew Garrett wrote: > On Tue, Jan 08, 2008 at 03:45:02PM +0000, Richard Purdie wrote: > > > I did't get enough context above but I went through the archives and it > > seems this is about linearising backlight values. > > Indeed. The ACPI spec provides a range of 0-100, without specifying what > this actually means (it gives brightness and power consumption as two > different examples). Implementations are only required to support a > subset of these, with the others being ignored. The current hook into > the backlight class exports this range but provides no means for an > application to determine which values are valid - I'd prefer to just > flatten the range to remove the holes. Given the lack of standardisation > in the real meaning of the values, I don't think exporting the 0-100 > range buys us anything. I agree with that. 0-100 actually breaks a useful and valid way the class gets used in the "brightness + 1" case... Cheers, Richard - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html