[Bug 1410022] [NEW] Touchpad cannot work after LID close/open due to wrong key mapping

Franz Hsieh franz.hsieh at canonical.com
Tue Jan 13 03:52:35 UTC 2015


Public bug reported:

The touchpad cannot working after LID close/open on HP Presario CQ45
machines.

The reproduce steps:

1) Boot into Ubuntu 14.04
2) Close LID
3) Open LID

Result: The mouse cursor cannot move.

I also found if I do close/open LID again, the mouse cursor can works
again.

After analysis, when the LID is closed kbc emits an event (D8) and udev
remapping it to F21 (touchpad toggle event). When X server receives the
event, it disables touchpad. However there is no corresponding event
triggered after LID is opened thus X server does not enable the touchpad
and results in this issue.

Currently udev keymaping for presarion CQ is:

# Presario
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
 KEYBOARD_KEY_d8=f21
 KEYBOARD_KEY_d9=f21

I think it should be changed to:
# Presario
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
 KEYBOARD_KEY_d8=!f23                                   # touchpad off
 KEYBOARD_KEY_d9=!f22                                   # touchpad on

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1410022

Title:
  Touchpad cannot work after LID close/open due to wrong key mapping

Status in udev package in Ubuntu:
  New

Bug description:
  The touchpad cannot working after LID close/open on HP Presario CQ45
  machines.

  The reproduce steps:

  1) Boot into Ubuntu 14.04
  2) Close LID
  3) Open LID

  Result: The mouse cursor cannot move.

  I also found if I do close/open LID again, the mouse cursor can works
  again.

  After analysis, when the LID is closed kbc emits an event (D8) and
  udev remapping it to F21 (touchpad toggle event). When X server
  receives the event, it disables touchpad. However there is no
  corresponding event triggered after LID is opened thus X server does
  not enable the touchpad and results in this issue.

  Currently udev keymaping for presarion CQ is:

  # Presario
  keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
   KEYBOARD_KEY_d8=f21
   KEYBOARD_KEY_d9=f21

  I think it should be changed to:
  # Presario
  keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
   KEYBOARD_KEY_d8=!f23                                   # touchpad off
   KEYBOARD_KEY_d9=!f22                                   # touchpad on

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1410022/+subscriptions



More information about the foundations-bugs mailing list