Re: [ibm-acpi-devel] X61 brightness again

2008-01-29 Thread Henrique de Moraes Holschuh
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

Re: [ibm-acpi-devel] X61 brightness again

2008-01-29 Thread Jim Paris
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 > > Yi

Re: [ibm-acpi-devel] X61 brightness again

2008-01-29 Thread Henrique de Moraes Holschuh
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 j

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Ben Liblit
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: Wacky! :-D I've also figured out that the following works, and doesn't require root access: % xrandr --output LVDS --set BACKLIGHT ### where "##

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Jim Paris
Ben Liblit wrote: > For extra annoyance, xbacklight is not packaged by Fedora 8, the distro > I run. So if I blacklist video.ko and load thinkpad_acpi.ko with > brightness_enable=0, I have no backlight control whatsoever. :-( On my system, another hacky way to control the backlight (which seem

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Ben Liblit
For extra annoyance, xbacklight is not packaged by Fedora 8, the distro I run. So if I blacklist video.ko and load thinkpad_acpi.ko with brightness_enable=0, I have no backlight control whatsoever. :-( Even if I did have some way to control the backlight, I'm not sure how I'd trigger it. I'm

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Henrique de Moraes Holschuh
On Mon, 28 Jan 2008, Jim Paris wrote: > > You will need acpi handlers, yes. I wish I knew how to ask the kernel "is > > the current VT a text console, or a X video port?", but I have > > no idea how to do that. > > >From userspace, I think this does the trick: > >#include >int fd, arg;

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Jim Paris
Henrique de Moraes Holschuh wrote: > Maybe video.ko will be able to be told not to react to the events, and just > report them AND export the backlight interface to userspace. That would fix > the issues people have currently (when they are caused by bad userspace > configuration, usually by distr

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Henrique de Moraes Holschuh
On Mon, 28 Jan 2008, Jim Paris wrote: > Thanks for the update. Is there anything else that 2.6.25 will > provide, or is telling it not to handle brightness the only It is too early to tell... > improvement? If that's all, I don't see how that's an improvement > over what I'm currently doing by

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Jim Paris
Henrique de Moraes Holschuh wrote: > On Mon, 28 Jan 2008, Jim Paris wrote: > > Sorry to revive an old topic from 3-4 weeks ago, but I just got my X61 > > this past week and so I missed my chance to chime in. And, as far as > > I can tell, Ben ended with "I'm pretty lost by now". Was a decent > >

Re: [ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Henrique de Moraes Holschuh
On Mon, 28 Jan 2008, Jim Paris wrote: > Sorry to revive an old topic from 3-4 weeks ago, but I just got my X61 > this past week and so I missed my chance to chime in. And, as far as > I can tell, Ben ended with "I'm pretty lost by now". Was a decent > solution ever found? If not, where can I cod

[ibm-acpi-devel] X61 brightness again

2008-01-28 Thread Jim Paris
Hi all, Sorry to revive an old topic from 3-4 weeks ago, but I just got my X61 this past week and so I missed my chance to chime in. And, as far as I can tell, Ben ended with "I'm pretty lost by now". Was a decent solution ever found? If not, where can I code to help? :) In my tests, the only