I've worked a bit on this issue. The www button's behaviour is easily corrected by setting this keymap to udev:
0x88 www 0xD8 f22 # touchpad toggle 0xD9 f22 # touchpad toggle The last two rows are for the touchpad on/off button. That did not work for it. F22 causes a X86TouchpadToggle that turns on and off the touchpad. The problem is that the button does not generate a "full sequence" of events - key pressed and then key released but just one event and the X doesn't detect it correctly. xev doesn't detect it at all, but actually it manages to turn off the touchpad but it is impossible to turn it back on later with that button. Here is the output from evtest: when pressed to become red: Event: time 1274786879.758260, type 4 (Misc), code 4 (ScanCode), value d8 Event: time 1274786879.758276, type 1 (Key), code 192 (F22), value 2 Event: time 1274786879.758278, -------------- Report Sync ------------ when pressed to become green: Event: time 1274786924.131248, type 4 (Misc), code 4 (ScanCode), value d9 Event: time 1274786924.131261, type 1 (Key), code 192 (F22), value 2 Event: time 1274786924.131262, -------------- Report Sync ------------ Output from input-events: to become red: 14:29:46.188965: EV_MSC code=4 value=216 14:29:46.188979: EV_KEY KEY_F22 (0xc0) pressed 14:29:46.188981: EV_SYN code=0 value=0 to become green: 14:30:18.104408: EV_MSC code=4 value=217 14:30:18.104422: EV_KEY KEY_F22 (0xc0) pressed 14:30:18.104423: EV_SYN code=0 value=0 Even if it worked, it wouldn't be nice either. That is because the button has its own state - its colour - that would rarely coincide with the real state since the initial states wouldn't always be the same and the state of the button may be changed while in terminal (outside X). The button do not generate any ACPI events. -- LED Stat Problem, Display brightness, resolution https://bugs.launchpad.net/bugs/584141 You received this bug notification because you are a member of Registry Administrators, which is the registrant for NULL Project. _______________________________________________ Mailing list: https://launchpad.net/~registry Post to : [email protected] Unsubscribe : https://launchpad.net/~registry More help : https://help.launchpad.net/ListHelp

