[opensuse-kernel] Thinkpad Brightness Control
Hi, I have a backport 2.6.27.x custom kernel installed on my 11.0 system, running KDE 4.3. I've noticed that the Thinkpad (mine's R61/R61i) brightness control does not work through the keypad. I can change it through the Powerdevil battery manager. I have the right options put in for brightness control in /etc/modprobe.d/thinkpad_acpi. The dmesg output for thinkpad_acpi is :- thinkpad_acpi: ThinkPad ACPI Extras v0.21 thinkpad_acpi: http://ibm-acpi.sf.net/ thinkpad_acpi: ThinkPad BIOS 7OET24WW (1.03 ), EC 7KHT22WW-1.06 thinkpad_acpi: Lenovo ThinkPad R61/R61i, model 8937A13 thinkpad_acpi: radio switch found; radios are enabled thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... thinkpad_acpi: setting the hotkey mask to 0x00ffffff is likely not the best way to go about it thinkpad_acpi: please consider using the driver defaults, and refer to up-to-date thinkpad-acpi documentation Registered led device: tpacpi::thinklight Registered led device: tpacpi::power Registered led device: tpacpi:orange:batt Registered led device: tpacpi:green:batt Registered led device: tpacpi::dock_active Registered led device: tpacpi::bay_active Registered led device: tpacpi::dock_batt Registered led device: tpacpi::unknown_led Registered led device: tpacpi::standby anshul@sagarika:~> cat /etc/modprobe.d/thinkpad_acpi # # IBM ACPI driver options # # A detailed description of the parameters for the IBM ACPI driver can be found # in /usr/src/linux/Documentation/ibm-acpi.txt which is part of the package # 'kernel-source'. # # If you encounter problems with the hotkey mask please file a bug on # http://bugzilla.novell.com/ # options thinkpad_acpi brightness_enable=1 experimental=1 hotkey=enable,0xffffff anshul@sagarika:~> Any suggestions?:) -Anshul -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Friday 14 August 2009 03:46:30 Anshul Jain wrote:
Hi, I have a backport 2.6.27.x custom kernel installed on my 11.0 system, running KDE 4.3. I've noticed that the Thinkpad (mine's R61/R61i) brightness control does not work through the keypad. I can change it through the Powerdevil battery manager. I have the right options put in for brightness control in /etc/modprobe.d/thinkpad_acpi. The dmesg output for thinkpad_acpi is :-
thinkpad_acpi: ThinkPad ACPI Extras v0.21 thinkpad_acpi: http://ibm-acpi.sf.net/ thinkpad_acpi: ThinkPad BIOS 7OET24WW (1.03 ), EC 7KHT22WW-1.06 thinkpad_acpi: Lenovo ThinkPad R61/R61i, model 8937A13 thinkpad_acpi: radio switch found; radios are enabled thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Does acpi_backlight=vendor boot param help? This should change these lines in thinkpad_acpi output and let the thinkpad driver try to handle brightness instead of video.ko.
thinkpad_acpi: setting the hotkey mask to 0x00ffffff is likely not the best way to go about it thinkpad_acpi: please consider using the driver defaults, and refer to up-to-date thinkpad-acpi documentation Registered led device: tpacpi::thinklight Registered led device: tpacpi::power Registered led device: tpacpi:orange:batt Registered led device: tpacpi:green:batt Registered led device: tpacpi::dock_active Registered led device: tpacpi::bay_active Registered led device: tpacpi::dock_batt Registered led device: tpacpi::unknown_led Registered led device: tpacpi::standby anshul@sagarika:~> cat /etc/modprobe.d/thinkpad_acpi # # IBM ACPI driver options # # A detailed description of the parameters for the IBM ACPI driver can be found # in /usr/src/linux/Documentation/ibm-acpi.txt which is part of the
Thomas package
# 'kernel-source'. # # If you encounter problems with the hotkey mask please file a bug on # http://bugzilla.novell.com/ #
options thinkpad_acpi brightness_enable=1 experimental=1 hotkey=enable,0xffffff anshul@sagarika:~>
Any suggestions?:)
-Anshul -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Fri, Aug 14, 2009 at 6:44 PM, Thomas Renninger<trenn@suse.de> wrote:
On Friday 14 August 2009 03:46:30 Anshul Jain wrote:
Hi, I have a backport 2.6.27.x custom kernel installed on my 11.0 system, running KDE 4.3. I've noticed that the Thinkpad (mine's R61/R61i) brightness control does not work through the keypad. I can change it through the Powerdevil battery manager. I have the right options put in for brightness control in /etc/modprobe.d/thinkpad_acpi. The dmesg output for thinkpad_acpi is :-
thinkpad_acpi: ThinkPad ACPI Extras v0.21 thinkpad_acpi: http://ibm-acpi.sf.net/ thinkpad_acpi: ThinkPad BIOS 7OET24WW (1.03 ), EC 7KHT22WW-1.06 thinkpad_acpi: Lenovo ThinkPad R61/R61i, model 8937A13 thinkpad_acpi: radio switch found; radios are enabled thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Does acpi_backlight=vendor boot param help? This should change these lines in thinkpad_acpi output and let the thinkpad driver try to handle brightness instead of video.ko.
Thomas Thomas, I'll have to append these lines to grub, at the bootloader...am I right?
Regards Anshul -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Friday 14 August 2009 15:46:04 Anshul Jain wrote:
On Fri, Aug 14, 2009 at 6:44 PM, Thomas Renninger<trenn@suse.de> wrote:
On Friday 14 August 2009 03:46:30 Anshul Jain wrote:
Hi, I have a backport 2.6.27.x custom kernel installed on my 11.0 system, running KDE 4.3. I've noticed that the Thinkpad (mine's R61/R61i) brightness control does not work through the keypad. I can change it through the Powerdevil battery manager. I have the right options put in for brightness control in /etc/modprobe.d/thinkpad_acpi. The dmesg output for thinkpad_acpi is :-
thinkpad_acpi: ThinkPad ACPI Extras v0.21 thinkpad_acpi: http://ibm-acpi.sf.net/ thinkpad_acpi: ThinkPad BIOS 7OET24WW (1.03 ), EC 7KHT22WW-1.06 thinkpad_acpi: Lenovo ThinkPad R61/R61i, model 8937A13 thinkpad_acpi: radio switch found; radios are enabled thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Does acpi_backlight=vendor boot param help? This should change these lines in thinkpad_acpi output and let the thinkpad driver try to handle brightness instead of video.ko.
Thomas Thomas, I'll have to append these lines to grub, at the bootloader...am I right? Yes or add it (once) at the graphical boot loader stage when booting.
Thomas -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Fri, Aug 14, 2009 at 7:44 PM, Thomas Renninger<trenn@suse.de> wrote:
On Friday 14 August 2009 15:46:04 Anshul Jain wrote:
On Fri, Aug 14, 2009 at 6:44 PM, Thomas Renninger<trenn@suse.de> wrote:
On Friday 14 August 2009 03:46:30 Anshul Jain wrote:
Hi, I have a backport 2.6.27.x custom kernel installed on my 11.0 system, running KDE 4.3. I've noticed that the Thinkpad (mine's R61/R61i) brightness control does not work through the keypad. I can change it through the Powerdevil battery manager. I have the right options put in for brightness control in /etc/modprobe.d/thinkpad_acpi. The dmesg output for thinkpad_acpi is :-
thinkpad_acpi: ThinkPad ACPI Extras v0.21 thinkpad_acpi: http://ibm-acpi.sf.net/ thinkpad_acpi: ThinkPad BIOS 7OET24WW (1.03 ), EC 7KHT22WW-1.06 thinkpad_acpi: Lenovo ThinkPad R61/R61i, model 8937A13 thinkpad_acpi: radio switch found; radios are enabled thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Does acpi_backlight=vendor boot param help? This should change these lines in thinkpad_acpi output and let the thinkpad driver try to handle brightness instead of video.ko.
Thomas Thomas, I'll have to append these lines to grub, at the bootloader...am I right? Yes or add it (once) at the graphical boot loader stage when booting.
Thomas
Nope, it does not work :( There's another strange thing that happens though. I keep the power cord disconnected at bootup, and allow the KDE desktop to startup. Obviously, the brightness is set to a lower level- from Powerdevil. Now if I connect the cord the brightness should come back up all the way, right? Nope it does not go up. I have to either move the slider on Powerdevil to get it to a max level or disconnect the power cord again and reconnect it back. It now comes up all the way. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Friday 14 August 2009 16:25:53 Anshul Jain wrote:
On Fri, Aug 14, 2009 at 7:44 PM, Thomas Renninger<trenn@suse.de> wrote:
On Friday 14 August 2009 15:46:04 Anshul Jain wrote:
On Fri, Aug 14, 2009 at 6:44 PM, Thomas Renninger<trenn@suse.de> wrote:
On Friday 14 August 2009 03:46:30 Anshul Jain wrote:
Hi, I have a backport 2.6.27.x custom kernel installed on my 11.0 system, running KDE 4.3. I've noticed that the Thinkpad (mine's R61/R61i) brightness control does not work through the keypad. I can change it through the Powerdevil battery manager. I have the right options put in for brightness control in /etc/modprobe.d/thinkpad_acpi. The dmesg output for thinkpad_acpi is :-
thinkpad_acpi: ThinkPad ACPI Extras v0.21 thinkpad_acpi: http://ibm-acpi.sf.net/ thinkpad_acpi: ThinkPad BIOS 7OET24WW (1.03 ), EC 7KHT22WW-1.06 thinkpad_acpi: Lenovo ThinkPad R61/R61i, model 8937A13 thinkpad_acpi: radio switch found; radios are enabled thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Does acpi_backlight=vendor boot param help? This should change these lines in thinkpad_acpi output and let the thinkpad driver try to handle brightness instead of video.ko.
Thomas Thomas, I'll have to append these lines to grub, at the bootloader...am I right? Yes or add it (once) at the graphical boot loader stage when booting.
Thomas
Nope, it does not work :( There's another strange thing that happens though. I keep the power cord disconnected at bootup, and allow the KDE desktop to startup. Obviously, the brightness is set to a lower level- from Powerdevil. Now if I connect the cord the brightness should come back up all the way, right? Nope it does not go up. I have to either move the slider on Powerdevil to get it to a max level or disconnect the power cord again and reconnect it back. It now comes up all the way.
At least backlight control through OS works. It seems for some reason the thinkpad keys are not grabbed by userspace to adjust brightness. The problem is that some BIOS are doing it themselves, some issue an event to let OS do it. Another idea is to remove the boot param again and blacklist video.ko. Then no backlight kernel device should exist. In this case xorg driver try to do the backlight switching. Try xrandr --props then to adjust things. Google how to use xrandr to swtich backlight, you can also try several modes (native, legacy,.. (kernel won't work then)). Thomas PS: I am on holidays from now on :), I won't answer for some time, sorry. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Anshul Jain
-
Thomas Renninger