Bug 474990

Summary: gspca frame overflow
Product: [Fedora] Fedora Reporter: diego <diego.p77>
Component: kernelAssignee: Hans de Goede <hdegoede>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: kernel-maint, quintela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-11 19:15:55 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 fixing the frame overflow messages with vc0321 cams none

Description diego 2008-12-06 12:50:41 UTC
Description of problem:
if I use cheese or another program that need of a webcam, the webcam doesn't work.

Version-Release number of selected component (if applicable):
kernel 2.6.27.5-117.fc10.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
I receive this message:

gspca: frame overflow 616402 > 614400
gspca: frame overflow 615378 > 614400
gspca: frame overflow 615378 > 614400
gspca: frame overflow 617426 > 614400
gspca: frame overflow 615378 > 614400
gspca: frame overflow 617426 > 614400
gspca: frame overflow 616402 > 614400



Expected results:


Additional info:
This is the lsusb output:
Bus 001 Device 002: ID 046d:0896 Logitech, Inc. OrbiCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 062a:0000 Creative Labs Optical mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

In fedora 9 I use gspca kmod module, and doesn't receve this error. With the kernel-2.6.27 on Fedora 10 (that include gspca driver) doesn't work.

Comment 1 Hans de Goede 2008-12-10 09:18:42 UTC
Hi Diego,

Thanks for reporting this. We've had reports from other users with the same cam which did not include the gspca: frame overflow dmesg messages, so I'm very glad you've reported this.

I've prepared a patch fixing this (hopefully).

Can you please follow the instructions here:
http://hansdegoede.livejournal.com/6630.html

But before doing the "make" command in the list of commands there first do:
patch -p1 < [path-to]/gspca-vc0321-fix-frame-overflow.patch

Replacing [path-to] with the directory where you've saved the patch (which I will attach next). If the "patch" command is not found, you need to do:
yum install patch

If these instructions are over your head, please let me know, then we will do things differently (in a way which is more work for me, but easier for you).

Comment 2 Hans de Goede 2008-12-10 09:19:37 UTC
Created attachment 326472 [details]
Patch fixing the frame overflow messages with vc0321 cams

Comment 3 diego 2008-12-10 14:18:57 UTC
Hi hans,
thank you for your help. I have follow your instructions, and now the webcam work fine. I receive only this message on dmesg command :

gspca: ISOC data error: [4] len=1024, status=-71

but the cam work.
Do you wont to insert the patch on the fedora kernel update, please? :-).

Good work, and thank you very much.

Diego.

Comment 4 Hans de Goede 2008-12-11 19:15:55 UTC
Ok, I've put this patch in both the F-10 and devel branches of CVS, so with the first kernel build for either this will get included, closing.

And thanks for testing!

Comment 5 Fedora Update System 2008-12-17 16:21:05 UTC
kernel-2.6.27.9-159.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/kernel-2.6.27.9-159.fc10

Comment 6 Fedora Update System 2008-12-24 18:45:16 UTC
kernel-2.6.27.9-159.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.