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 5 product line. The current stable release is 5.10. 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 571737

Summary: Cannot use Quickcam Pro 9000 with Ekiga, fails with "uvcvideo: Failed to query ..."
Product: Red Hat Enterprise Linux 5 Reporter: ritz <rkhadgar>
Component: kernelAssignee: Don Zickus <dzickus>
Status: CLOSED ERRATA QA Contact: WANG Chao <chaowang>
Severity: high Docs Contact:
Priority: high    
Version: 5.4CC: ccui, chaowang, cww, czhang, fenlason, hdegoede, jwest, mmilgram, peterm, qcai, ruyang, spurrier, tao, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-294.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 03:27:22 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:
Bug Depends On:    
Bug Blocks: 668957, 719046, 726799    

Description ritz 2010-03-09 11:24:03 UTC
Description of problem:
webcam fails with  "uvcvideo: Failed to query (130) UVC control 2 (unit 2) : -110 (exp. 2)."

Version-Release number of selected component (if applicable):
kernel 2.6.18-148.el

How reproducible:
frequent

Steps to Reproduce:
1. Connect camera ( 046d:0990 Logitech, Inc. QuickCam Pro 9000 )
2. Use Ekiga
  
Actual results:
webcam stops working 

Expected results:
webcam should work

Additional info:
Seems to be an issue with ehci scheduler 
http://osdir.com/ml/linux.drivers.uvc.devel/2008-04/msg00040.html .

From http://www.quickcamteam.net/devices
http://www.quickcamteam.net/devices/logitech_uvc_device_feature_list_by_device.pdf
Customer's device is bcdLevel 7, whereas the device affected in question have 8 .


customer has tried workaround mentioned at http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities. Using "rmmod ehci-hcd" system helps, but reduces the resolution to near-useless but makes Ekiga stable. 
Alternatively, rebooting system helps. The reset patch was not merged into upstream. 

Unplugging and plugging device does not help, neither does using different usb ports.  


From /var/log/messages
uvcvideo: Failed to query (130) UVC control 2 (unit 2) : -110 (exp. 2).
uvcvideo: Failed to query (130) UVC control 2 (unit 2) : -32 (exp. 2).
uvcvideo: Failed to query (130) UVC control 3 (unit 2) : -32 (exp. 2).
uvcvideo: Failed to query (130) UVC control 7 (unit 2) : -110 (exp. 2).
uvcvideo: Failed to query (130) UVC control 7 (unit 2) : -32 (exp. 2).
uvcvideo: Failed to query (131) UVC control 2 (unit 2) : -110 (exp. 2).
uvcvideo: Failed to query (135) UVC control 2 (unit 2) : -110 (exp. 2).
uvcvideo: Failed to query (135) UVC control 3 (unit 2) : -110 (exp. 2).
uvcvideo: Failed to query (135) UVC control 3 (unit 2) : -32 (exp. 2).
uvcvideo: Failed to query (135) UVC control 7 (unit 2) : -110 (exp. 2).
uvcvideo: Failed to query (135) UVC control 7 (unit 2) : -32 (exp. 2).
uvcvideo: Failed to query (135) UVC control 7 (unit 2) : -75 (exp. 2).
uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).
uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -32 (exp. 26).
uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -75 (exp. 26).

Comment 14 RHEL Program Management 2011-06-20 21:42:06 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 17 RHEL Program Management 2011-08-04 04:18:44 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 18 Don Zickus 2011-08-26 20:04:03 UTC
(In reply to comment #3)
> Also required - 
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=9aa09d2f8f4bc440d6db1c3414d4009642875240

ritz,

Why is that commit also required?  That commit seems to be for hardware that doesn't properly release ISO usb events.

I was able to install Ekiga, thanks to Marc's pointer.  But of course Ekiga had trouble using my webcam for some reason (bad fonts?).  


Cheers,
Don

Comment 19 Don Zickus 2011-08-26 20:21:15 UTC
Instead of struggling with this issue repeatedly, I took a crack at trying to backport these patches safely.  I brought in 4 commits based on the two suggested.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=79592b722e7a8476680197d97352d2cc0f1bffd2

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=b40e43fcc532fa44a375a37d592e32cd0d50fe7a

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=30bf54e62a7926a483b4e36015bb4eb1372e6303

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=9aa09d2f8f4bc440d6db1c3414d4009642875240

Each of the suggested commit had a small dependency on a previous patch (it seemed), so I brought it those too.

It compiled and seemed to work fine over here (but I couldn't reproduce the problem).  I kicked off a brew build to pass along to the customer.  I'll update when it is done.

Cheers,
Don

Comment 21 Don Zickus 2011-08-30 20:13:56 UTC
Test kernel with the above patches can be found here:

http://people.redhat.com/dzickus/el5/.d3ee01aa60a1394a9b165fa1337b1ff8a236b091/kernel-2.6.18-282.el5.dz58.2.x86_64.rpm

Cheers,
Don

Comment 24 Don Zickus 2011-09-29 14:01:23 UTC
RHEL-5 deadline approaching, any feedback?

Cheers,
Don

Comment 31 Jarod Wilson 2011-10-27 13:09:54 UTC
Patch(es) available in kernel-2.6.18-294.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5
Detailed testing feedback is always welcomed.

Comment 34 errata-xmlrpc 2012-02-21 03:27:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0150.html