Bug 209154 - High speed USB HID devices not working in RHEL3
Summary: High speed USB HID devices not working in RHEL3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Pete Zaitcev
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-03 16:25 UTC by Stuart Hayes
Modified: 2007-11-17 01:14 UTC (History)
2 users (show)

Fixed In Version: RHSA-2007-0436
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-11 17:57:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to fix high speed HID device interval (1010 bytes, patch)
2007-02-22 16:21 UTC, Stuart Hayes
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0436 0 normal SHIPPED_LIVE Important: Updated kernel packages for Red Hat Enterprise Linux 3 Update 9 2007-06-08 00:03:57 UTC

Description Stuart Hayes 2006-10-03 16:25:42 UTC
Description of problem:
High speed (USB 2.0) HID devices aren't working.  Specifically this was seen 
with a new USB 2.0 Avocent KVM dongle.

Version-Release number of selected component (if applicable):
2.4.21-47.EL

How reproducible:
every time

Steps to Reproduce:
1. Connect Avocent USB 2.0 KVM dongle.
2. Boot system (booting to install CD shows problem, too).
3. Note that keyboard & mouse don't work. 
 
Actual results:
Keyboard & mouse don't work .

Expected results:
Keyboard and mouse should work.

Additional info:
The problem is that the usbhid driver (in hid-core.c) is _not_ modifying the 
interrupt URB interval for high speed devices before calling 
FILL_INT_URB, which causes the interval to be too low, and the ehci driver 
won't schedule the URB.  The attached patch fixes the issue.

RHEL4 has a similar problem, except that RHEL4 does the calculation to modify 
the URB interval _twice_, while RHEL3 doesn't do it at all... :)

Comment 1 Pete Zaitcev 2007-02-22 00:35:48 UTC
Stuart, please make sure to open an I-T ticket or ask Matt to get this into
our PM machine somehow. First, I completely forgot that you filed this, so just
found it in today's rescan... Sorry. Second, I'll need a ticket anyway to
integrate anything into RHEL 3. It's going to see a really-really-really
last release very soon (actually it has already, but we're thinking about
doing U9).

Also, you didn't attach the patch, although you mentioned "attached patch".

Comment 2 Stuart Hayes 2007-02-22 16:21:06 UTC
Created attachment 148584 [details]
patch to fix high speed HID device interval

Here's the patch that I should have attached earlier, sorry.  I tried to work
an extra semaphore into it somehow... :)

Comment 3 Stuart Hayes 2007-02-22 17:27:53 UTC
Created IT#114448 to correspond to this issue.

Comment 5 Pete Zaitcev 2007-02-22 22:23:33 UTC
The patch is good. I have verified it locally. I need a word from Linda
to post it.


Comment 8 Ernie Petrides 2007-03-06 05:15:09 UTC
A fix for this problem has just been committed to the RHEL3 U9
patch pool this evening (in kernel version 2.4.21-47.6.EL).


Comment 11 Red Hat Bugzilla 2007-06-11 17:57:05 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0436.html



Note You need to log in before you can comment on or make changes to this bug.