On Wed, 03 Oct 2007, Chris Hanson wrote: > Henrique de Moraes Holschuh wrote: > > Better use this one instead... > > The patch made no difference; it still gets stuck generating EINVAL. :-( > I forgot to mention that, although the /proc and /sys entries are unable > to change the brightness, the hotkeys work fine, and the correct > brightness level is shown by actual_brightness and brightness. So the driver is always reading the correct brightness from hardware, but it is still going bonkers when trying to set the brightness. Hmm. Weird that I cannot reproduce this, no matter how much I try. Is there a possibility of doing a quick try with just 2.6.22.9 + thinkpad-acpi without the other patches, just to make sure it is not interacting in surprising ways with something else? I test it here with 2.6.22.9 + tp-smapi and cfs v22, plus updated ipw2200 and some other drivers. But RT changes a damn great deal in the kernel, and some of the other patches you mentioned are also relatively intrusive, and might be triggering the issue. Also, what if you remove the video driver temporarily, does it work? Also, using the keys, do you have 8 or 16 brightness levels? If that doesn't help, the only thing that comes to mind is to get the driver source, and sprinkle a number of "printk(IBM_ERR "debug: I am at point foo\n");" on the source to trace code flow (or, if you are up to it, using an in-kernel debugger, but THAT is really intrusive and I can't guide you through 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel