[Bug 1371403] Re: Disable USB autosuspend for Avocent SC Secure KVM

Bryce Harrington 1371403 at bugs.launchpad.net
Fri Sep 19 03:23:54 UTC 2014


Xorg.0.log just for fun

[     6.533] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     6.534] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     6.535] (II) Using input driver 'evdev' for 'Power Button'
[     6.535] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[     6.535] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     6.535] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     6.535] (II) Using input driver 'evdev' for 'Power Button'
[     6.535] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[     6.535] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)

[     6.536] (II) config/udev: Adding input device AVOCENT       SC Secure KVM        (/dev/input/event2)
[     6.536] (**) AVOCENT       SC Secure KVM       : Applying InputClass "evdev keyboard catchall"
[     6.536] (II) Using input driver 'evdev' for 'AVOCENT       SC Secure KVM       '
[     6.536] (**) AVOCENT       SC Secure KVM       : always reports core events
[     6.536] (**) evdev: AVOCENT       SC Secure KVM       : Device: "/dev/input/event2"
[     6.536] (--) evdev: AVOCENT       SC Secure KVM       : Vendor 0x624 Product 0x13
[     6.536] (--) evdev: AVOCENT       SC Secure KVM       : Found keys
[     6.536] (II) evdev: AVOCENT       SC Secure KVM       : Configuring as keyboard
[     6.536] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.0/input/input5/event2"
[     6.536] (II) XINPUT: Adding extended input device "AVOCENT       SC Secure KVM       " (type: KEYBOARD, id 8)
[     6.536] (**) Option "xkb_rules" "evdev"
[     6.536] (**) Option "xkb_model" "pc105"
[     6.536] (**) Option "xkb_layout" "us"

[     6.537] (II) config/udev: Adding input device AVOCENT       SC Secure KVM        (/dev/input/event3)
[     6.537] (**) AVOCENT       SC Secure KVM       : Applying InputClass "evdev pointer catchall"
[     6.537] (II) Using input driver 'evdev' for 'AVOCENT       SC Secure KVM       '
[     6.537] (**) AVOCENT       SC Secure KVM       : always reports core events
[     6.537] (**) evdev: AVOCENT       SC Secure KVM       : Device: "/dev/input/event3"
[     6.537] (--) evdev: AVOCENT       SC Secure KVM       : Vendor 0x624 Product 0x13
[     6.537] (--) evdev: AVOCENT       SC Secure KVM       : Found 9 mouse buttons
[     6.537] (--) evdev: AVOCENT       SC Secure KVM       : Found scroll wheel(s)
[     6.537] (--) evdev: AVOCENT       SC Secure KVM       : Found relative axes
[     6.537] (--) evdev: AVOCENT       SC Secure KVM       : Found x and y relative axes
[     6.537] (II) evdev: AVOCENT       SC Secure KVM       : Configuring as mouse
[     6.537] (II) evdev: AVOCENT       SC Secure KVM       : Adding scrollwheel support
[     6.537] (**) evdev: AVOCENT       SC Secure KVM       : YAxisMapping: buttons 4 and 5
[     6.537] (**) evdev: AVOCENT       SC Secure KVM       : EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheel
Timeout: 200
[     6.537] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.1/input/input6/event3"
[     6.537] (II) XINPUT: Adding extended input device "AVOCENT       SC Secure KVM       " (type: MOUSE, id 9)
[     6.537] (II) evdev: AVOCENT       SC Secure KVM       : initialized for relative axes.
[     6.537] (**) AVOCENT       SC Secure KVM       : (accel) keeping acceleration scheme 1
[     6.537] (**) AVOCENT       SC Secure KVM       : (accel) acceleration profile 0
[     6.537] (**) AVOCENT       SC Secure KVM       : (accel) acceleration factor: 2.000
[     6.537] (**) AVOCENT       SC Secure KVM       : (accel) acceleration threshold: 4
[     6.537] (II) config/udev: Adding input device AVOCENT       SC Secure KVM        (/dev/input/mouse0)
[     6.537] (II) No input driver specified, ignoring this device.
[     6.537] (II) This device may have been added with another device file.
[     6.537] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event5)

-- 
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/1371403

Title:
  Disable USB autosuspend for Avocent SC Secure KVM

Status in “udev” package in Ubuntu:
  New

Bug description:
  My mouse becomes temporarily become unresponsive to drags and clicks,
  until I right-click or give keyboard input, when it's been idle for a
  few seconds.  The same thing affects the keyboard.

  The mouse and keyboard are connected to a number of different
  computers via an 8-port Avocent SC Secure KVM.  When the mouse and/or
  keyboard are directly attached to one of the PCs, there is no problem.
  I've tested with different keyboards and mice as well, and they're
  similarly messed up.

  Only the computers running Ubuntu 14.04 are affected.  Two of the
  computers are identical hardware, differing only in Ubuntu versions -
  the 14.04 one is affected but the one with 13.04 is not.  I also have
  a machine with 12.04 on it connected to the KVM which is fine.

  In powertop I notice that autosuspend is enabled for the Avocent.  If
  I switch that off, then the problem disappears completely.  I can also
  prevent it by issuing:

    echo 'on' > '/sys/bus/usb/devices/3-10/power/control';

  where 3-10 is the Avocent (the number is different on each of my
  systems).

  I notice in 42-usb-hid-pm.rules there is a rule for Avocent devices:

    # Catch-all for Avocent HID devices. Keyed off interface in order to only
    # trigger on HID class devices.
    ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0624", ATTR{bInterfaceClass}=="03", TEST=="../power/control", ATTR{../power/control}="auto"

  However my KVM device doesn't appear to have a bInterfaceClass
  defined.

  In any case, the following udev rule corrects the problem for me:

  ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0624",
  ATTR{idProduct}=="0013", ATTR{product}=="SC Secure KVM",
  TEST=="power/control", ATTR{power/control}:="on"

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



More information about the foundations-bugs mailing list