[ltp] X61 Brightness Question

Hendrik-Jan Heins linux-thinkpad@linux-thinkpad.org
Tue, 14 Aug 2007 12:58:47 +0200


Thanks a lot for that Henrique!

I knew the 0xffff mask, but not the 0xffffff
I implemented 2 small scripts in my acpi events based on the
brightness keys (I kicked out the "video" module again), and now I can
easily change the brightness of the screen.
The only trouble is that the brightness level is not picked up in
/sys/class/backlight or /proc/acpi/ibm/brightness

What I currently do is change the setting thru /proc/acpi/ibm/cmos
I'll post the scripts I'm using for this later today.

Only thing left for me to get running now are the volume up/down buttons

Thanks Jeremy and Henrique!

Hendrik-Jan


2007/8/14, Henrique de Moraes Holschuh <hmh@hmh.eng.br>:
> On Mon, 13 Aug 2007, Jeremy L. Moles wrote:
> > In 0.14 thinkpad-acpi I used /proc/acpi/event to watch for chatter
> > relating to the keypress. In 0.15 I used a small utility to monitor the
> > evdev device node (/dev/input/event5 in our case) to monitor any noise.
> > In both cases, only brightness UP did anything.
>
> That would mean Lenovo broke the ACPI DSDT/SSDT.  Complain to them if that's
> the case (but see below, first).
>
> > the kernel takes over, naturally). Our hotkey knob in proc is enabled
> > and uses a 0xFFFF mask.
>
> Use 0xffffff on 0.15.  That just might fix the issue. Did it?
>
> --
>   "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
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>