Skip to contentSkip to conversation

gspca - pac7302: Add a delay on loading the bridge registers.

DISCUSSION Németh Márton 2 participants 2 messages Jan 8, 2010 – Jan 9, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

At http://linuxtv.org/hg/~jfrancois/gspca/rev/b0a374674388 :

Quoted 8 lines

From: Jean-Francois Moine <[email protected]>

Without the delay, the usb_control_msg() may fail when loading the page 3 with error -71 or -62.

Priority: normal

include/asm-generic/errno.h:

Quoted 2 lines
#define ETIME           62      /* Timer expired */
#define EPROTO          71      /* Protocol error */

I'm interested in which device have you used for testing this?

Regards,

Márton Németh

#1 lore raw
Quoted 5 lines · On Fri, 08 Jan 2010 18:29:02 +0100 Németh Márton <[email protected]> wrote:
Quoted 5 lines

Without the delay, the usb_control_msg() may fail when loading the page 3 with error -71 or -62.

Priority: normal

Quoted 7 lines
Quoted 1 line

include/asm-generic/errno.h:

Quoted 2 lines
#define ETIME           62      /* Timer expired */
#define EPROTO          71      /* Protocol error */  

I'm interested in which device have you used for testing this?

Hi,

These errors occured with the webcam 06f8:3009, but I do not know exactly how. I thought about a speed problem. May be, when the webcam cannot treat quickly enough the requests, either it returns errors or it crashes. An other cause could be a bug in the ohci_hcd, but I do not looked at it. The delay was just a test and it fixed the problem. That is all the user wanted...

Regards.

Signature · 2 lines
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/