← Back to team overview

kernel-packages team mailing list archive

[Bug 1048006] Re: External USB keyboard and mouse lag (laptop keyboard & touchpad normal) when booting laptop with HDMI cable connected to external monitor.

 

[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1048006

Title:
  External USB keyboard and mouse lag (laptop keyboard & touchpad
  normal) when booting laptop with HDMI cable connected to external
  monitor.

Status in linux package in Ubuntu:
  Expired

Bug description:
  I switched from a VGA cable to an HDMI cable for my external monitor.
  If I boot with the HDMI cable plugged-in and connected to the monitor,
  I get the USB lag issue below. However, if I plug-in the HDMI cable
  after bootup I don't see this problem. Booting with VGA plugged in is
  fine as well. Also, booting with the HDMI cable connected to the
  laptop, but disconnected from the monitor does not cause the problem.

  Monitor Info:
  Brand: KDS
  Product No: K-2626MDHWB
  Model No: 2600W
  The monitor has 3.5mm audio jack. I'm guessing it's for input. If I output sound to HDMI the speakers in the monitor play.

  The HDMI cable is "High Speed with Ethernet". Monster cable, 140054-00

  Laptop: Lenovo ThinkPad Edge
  Ubuntu 12.04 64-bit
  Linux: 3.2.0-30-generic #48-Ubuntu

  This is the problem I see when I boot with the HDMI cable connected to
  the monitor:

  The USB mouse stutters/lags as I move it and the USB keyboard misses
  characters as a type and registers keys slowly. Both seem to have the
  same latency, I would estimate it around 250ms. So, moving the mouse
  steadily, I only see it's position update every 250ms or so. Typing
  quickly on the keyboard results in lost characters.

  If I rapidly press a key on the USB keyboard, the keys register slower than on the laptop keyboard.
  For example, rapidly repeating a key on the USB keyboard for 10 seconds, I get about 40 characters on the USB keyboard, but the same test with the laptop keyboard results in around 70.

  There are some similar bugs regarding the lightdm themes, but my issue seems different.  See 945749 and its duplicates:
  https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/945749

  My problem occurs in the greeter and the normal gnome desktop. I've
  tried Gnome Shell, Unity, Enlightenment 17; all have the issue.

  I tried changing themes (recommended by the lightdm bug discussion), no effect.
  I also tried disabling polling:
  echo N > /sys//module/drm_kms_helper/parameters/poll

  Unplugging 2nd monitor.
  Replugging both USB devices.

  When I plug in the USB keyboard, dmesg reports:
  [ 1667.803020] usb 1-1.1: new low-speed USB device number 10 using ehci_hcd
  [ 1668.166316] input: Microsoft Natural\xffffffc2\xffffffae\xffffffae Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input20
  [ 1668.166669] microsoft 0003:045E:00DB.0009: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Natural\xffffffc2\xffffffae\xffffffae Ergonomic Keyboard 4000] on usb-0000:00:1a.0-1.1/input0
  [ 1668.242069] input: Microsoft Natural\xffffffc2\xffffffae\xffffffae Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/input/input21
  [ 1668.242337] microsoft 0003:045E:00DB.000A: input,hidraw1: USB HID v1.11 Device [Microsoft Natural\xffffffc2\xffffffae\xffffffae Ergonomic Keyboard 4000] on usb-0000:00:1a.0-1.1/input1

  Also, when I boot without the HDMI cable, then plug it in, the dmesg
  log shows:

  [ 1058.761517] HDMI hot plug event: Codec=3 Pin=4 Presence_Detect=1 ELD_Valid=1
  [ 1058.761604] HDMI status: Codec=3 Pin=4 Presence_Detect=1 ELD_Valid=1
  [ 1059.060524] HDMI status: Codec=3 Pin=4 Presence_Detect=1 ELD_Valid=1
  [ 1059.064070] HDMI: detected monitor  at connection type HDMI
  [ 1059.064073] HDMI: available speakers: FL/FR
  [ 1059.064078] HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000 96000, bits = 16 20 24

  Let me know what logs/tests you want.

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