On Tue, 29 Jan 2008, Jim Paris wrote: > Henrique de Moraes Holschuh wrote: > > On Mon, 28 Jan 2008, Jim Paris wrote: > > > On my system, another hacky way to control the backlight (which seems > > > to be the same thing the intel X driver does) is: > > > > > > # setpci -d 8086:2a02 0xf4=0xff > > > # setpci -d 8086:2a02 0xf4=0x80 > > > > Yikes! If you are going to do that, it is better to just use > > brightness_enable=1 in thinkpad-acpi. Much safer, too. > > Except "thinkpad_acpi brightness_enable=1" only gives me 15 levels > instead of 255, it doesn't go all the way off, and it can only go up > to half-brightness when I'm on battery power. But you're of course > right, setpci is unsafe like that. Heh, complain to Lenovo. Apparently, they didn't want to implement the entire capabilities of the hardware in the new ACPI firmware. But directly poking the pci config space really ain't the best way to go about it. At all. -- "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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel