[ltp] T61/intel: LCD brightness

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Mon, 29 Oct 2007 20:01:59 -0200


On Mon, 29 Oct 2007, Theodore Tso wrote:
> On Mon, Oct 29, 2007 at 01:00:01PM -0200, Henrique de Moraes Holschuh wrote:
> > My answer to Ubuntu is, and it has always been "Don't Do That".  It is that
> > simple.  Either the thinkpad does it fine by itself (so you must make sure
> > you try to change the brightness yourself only if you get brightness up/down
> > from an external keyboard or somesuch), or the thinkpad has a proper ACPI
> > BIOS that should be used for all brightness changes in sync with whatever
> > X.org thinks should happen.
> 
> ... and one of these days, when someone actually documents the
> complicated and convoluted path that that causes signals to go from
> the input layer, through hal, dbus, etc., and the complicated set of
> scripts and XML configuration files which control said scripts, maybe
> I'll try to fix Ubuntu's set up.  (Quite frankly, I consider sysfs and

Heh.

> Is there any downside to using the old /proc/acpi/brightness
> interface, other than political correctness --- we-must-do-everything-
> the-complicated-XML-way-and-use-unstable-sysfs-path-names-that-are-almost-
> impossible-to-use-correctly-from-a-shell-script?

Well, that interface will not stay around forever, and it is in deep-freeze.
But that's about it.

I certainly prefer to cat /proc/acpi/ibm/thermal to know what is happening
to my T43 when it is a bit hot, that's for sure...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh