Public bug reported: whilst fixing my touchpad disable key on my own craptop, i discovered gnome-settings-daemon doesn't even bind separate enable/disable key events, just toggle. so the following are at best broke:
ohsix@krang:/lib/udev/keymaps$ grep 0xD[8-9] hewlett-packard* hewlett-packard-2510p_2530p:0xD8 f23 # touchpad off hewlett-packard-2510p_2530p:0xD9 f22 # touchpad on hewlett-packard-pavilion:0xD8 f23 # touchpad off hewlett-packard-pavilion:0xD9 f22 # touchpad on hewlett-packard-tx2:0xD8 f23 # Toggle touchpad button on tx2 (OFF) hewlett-packard-tx2:0xD9 f22 # Toggle touchpad button on tx2 (ON) what follows is background on what i did to fix up a keymap for mine i was getting events from keymap -i that looked like this enabled -> disabled got scan code event 0xD8 without a key code event got scan code event 0xD8 without a key code event disabled -> enabled scan code: 0xD9 key code: help so i mapped them to on/off as above, didn't work; checked /apps/gnome_settings_daemon/keybindings saw that it only bound toggle, set them both to f21 (toggle), it then worked. the touchpad disable key has worked in the past, what i suspect happened is that xorg at one time translated on/off events to toggle events, or that g-s-d at one time caught both or all 3 afair since last looked into, there are now TOUCHPAD_* key codes in input.h, i did not try them. as an aside, why aren't the keymaps being submitted upstream as suggested the user do in /usr/share/doc/udev/README.keymap.txt.gz? i've seen the same keymaps for quite a few releases ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: udev 167-0ubuntu3 [modified: lib/udev/rules.d/95-keymap.rules] ProcVersionSignature: Ubuntu 2.6.38-13.55-generic 2.6.38.8 Uname: Linux 2.6.38-13-generic x86_64 Architecture: amd64 Date: Sat Feb 18 13:58:01 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) MachineType: Hewlett-Packard Compaq Presario CQ60 Notebook PC ProcEnviron: LANGUAGE=en_US:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-13-generic root=UUID=d332acb1-e554-4637-84fe-731b5e39212b ro quiet splash vt.handoff=7 SourcePackage: udev UpgradeStatus: Upgraded to natty on 2011-03-17 (338 days ago) dmi.bios.date: 12/15/2010 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: F.65 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 3612 dmi.board.vendor: Hewlett-Packard dmi.board.version: 09.67 dmi.chassis.asset.tag: Chassis Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnHewlett-Packard:bvrF.65:bd12/15/2010:svnHewlett-Packard:pnCompaqPresarioCQ60NotebookPC:pvrPCID:rvnHewlett-Packard:rn3612:rvr09.67:cvnHewlett-Packard:ct10:cvrChassisVersion: dmi.product.name: Compaq Presario CQ60 Notebook PC dmi.product.version: PCID dmi.sys.vendor: Hewlett-Packard ** Affects: udev (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935804 Title: hewlett-packard keymaps mostly wrong or obsolete To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/935804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs