On Sat, Jan 12, 2008 at 01:06:30PM +0100, giggz wrote: > I want to associate a script (which works fine) to a key (Fn+F3). This > key is for the video output switching and my script is a video output > switch using xrandr. > But when I try to associate Fn+F3 it doesn't work. I have try with the > xen command to catch the keycode, but nothing happends when I press on > the key. All the others Fn+F* works fine (help, hibernate, luminosity, > sound...). > So I want to report a bug, but I don't know if it is an acpi problem or > a xorg problem... If anyone could help me...? Does pressing the key generate any output in dmesg? If so, you need to run the setkeycodes command to bind it to a keycode. If not, make sure you have the acpi video module loaded, do echo -n 4 >/proc/acpi/video/foo/DOS and check whether it generates an acpi event (there'll be a log message in /var/log/acpid.log). If so, sufficiently recent kernels ought to generate an input event. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html