According to linux-2.6.23/Documentation/thinkpad-acpi.txt: [quote] The hot key bit mask allows some control over which hot keys generate events. If a key is "masked" (bit set to 0 in the mask), the firmware will handle it. If it is "unmasked", it signals the firmware that thinkpad-acpi would prefer to handle it, if the firmware would be so kind to allow it (and it often doesn't!).
Not all bits in the mask can be modified. Not all bits that can be modified do anything. Not all hot keys can be individually controlled by the mask. Some models do not support the mask at all, and in those models, hot keys cannot be controlled individually. The behaviour of the mask is, therefore, higly dependent on the ThinkPad model. [/quote] So, to be on the safe side that your acpid will handle (almost) all possible Fn-Fx combinations you just have to echo 0xffff > /proc/acpi/ibm/hotkey. On my Debian lenny system I've got # We pass a bit more in case there are more buttons. :-) options thinkpad_acpi hotkey=enable,0xffffbf experimental=1 in /etc/modprobe.d/thinkpad_acpi.modprobe which is part of acpi-support 0.103-4 and all of my Fn-Fx keys (except Fn-F6 and Fn-F10) generate acpi events. Another problem is that currently in acpi-support the /etc/acpi/events/ibmvideobtn whis holds the action that has to be taken when Fn-F7 is pressed reads: [quote] # /etc/acpi/events/ibmvideobtn # This is called when the user presses the video button. It is currently # a placeholder. event=ibm/hotkey HKEY 00000080 00001007 action=/bin/true [/quote] i.e. it detects the keypress but does nothing. For my R50e with Intel Corporation 82852/855GM Integrated Graphics Device I've got the following script associated with Fn-F7 to switch my display layout /usr/local/bin/Fn-F7.sh: [quote] #! /bin/bash status=`i810switch|grep CRT|grep off`; if [ "$status" = "" ]; then /usr/local/bin/i855crt off; else /usr/local/bin/i855crt swcursor on [EMAIL PROTECTED]; fi [/quote] You have to get a script simillar to this one and put its name in the action= line, so that it would be executed when you press Fn-F7. Hope this helps. -- IBM R52 Laptop, LCD/CRT toggle doesn't work https://bugs.launchpad.net/bugs/159185 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs