Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 209154

Summary: High speed USB HID devices not working in RHEL3
Product: Red Hat Enterprise Linux 3 Reporter: Stuart Hayes <stuart_hayes>
Component: kernelAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8CC: petrides, wwlinuxengineering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0436 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-11 17:57:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to fix high speed HID device interval none

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