[Bug 1371403] Re: Disable USB autosuspend for Avocent SC Secure KVM
Bryce Harrington
1371403 at bugs.launchpad.net
Fri Sep 19 03:23:01 UTC 2014
Relevant dmesg bits:
[ 1.745637] usb 3-14: New USB device found, idVendor=0624, idProduct=0013
[ 1.745639] usb 3-14: New USB device strings: Mfr=4, Product=32, SerialNumber=0
[ 1.745640] usb 3-14: Product: SC Secure KVM
[ 1.745641] usb 3-14: Manufacturer: AVOCENT
[ 1.745755] usb 3-14: ep 0x84 - rounding interval to 32 microframes, ep desc says 56 microframes
[ 1.745758] usb 3-14: ep 0x87 - rounding interval to 32 microframes, ep desc says 56 microframes
[ 1.746783] input: AVOCENT SC Secure KVM as /devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.0/input/input5
[ 1.746902] hid-generic 0003:0624:0013.0002: input,hidraw1: USB HID v1.11 Keyboard [AVOCENT SC Secure KVM ] on u\
sb-0000:00:14.0-14/input0
[ 1.747452] input: AVOCENT SC Secure KVM as /devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.1/input/input6
[ 1.747542] hid-generic 0003:0624:0013.0003: input,hidraw2: USB HID v1.11 Mouse [AVOCENT SC Secure KVM ] on usb-\
0000:00:14.0-14/input1
[ 4.031723] input: Eee PC WMI hotkeys as /devices/platform/eeepc-
wmi/input/input12
--
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