Skip to contentSkip to conversation

uvcvideo Logitech patch

DISCUSSION Ondrej Zary 3 participants 4 messages Dec 15, 2009 – Jan 6, 2010 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 15 lines · On Tuesday 15 December 2009 20:03:36 Mitar wrote:

Hi!

I have Logitech QuickCam Pro 9000 webcam and I had the same problems described here:

http://patchwork.kernel.org/patch/52261/

I have applied the patch and it did not help. But it helped when I increased UVC_CTRL_CONTROL_TIMEOUT to 1000 and UVC_CTRL_STREAMING_TIMEOUT 5000. So 300 and 3000 values were not enough. I do not know if it was really necessary to increase UVC_CTRL_CONTROL_TIMEOUT or if it would be enough something between 3000 and 5000 for UVC_CTRL_STREAMING_TIMEOUT as I did not have more time to test it.

Quoted 8 lines

So maybe 5000 would be a good default for UVC_CTRL_STREAMING_TIMEOUT?

I have been doing this on 2.6.30 amd64 system.

Just to let you know. And thanks for the patch.

Mitar

[Added UVC mailing lists to CC]

Signature · 1 line
Ondrej Zary
#2 lore raw

Hi Mitar,

Quoted 16 lines · On Tuesday 15 December 2009 22:15:19 Ondrej Zary wrote:
Quoted 15 lines · On Tuesday 15 December 2009 20:03:36 Mitar wrote:

Hi!

I have Logitech QuickCam Pro 9000 webcam and I had the same problems described here:

http://patchwork.kernel.org/patch/52261/

I have applied the patch and it did not help. But it helped when I increased UVC_CTRL_CONTROL_TIMEOUT to 1000 and UVC_CTRL_STREAMING_TIMEOUT 5000. So 300 and 3000 values were not enough.
I do not know if it was really necessary to increase UVC_CTRL_CONTROL_TIMEOUT or if it would be enough something between 3000 and 5000 for UVC_CTRL_STREAMING_TIMEOUT as I did not have more time to test it.

Quoted 1 line
Quoted 1 line

So maybe 5000 would be a good default for UVC_CTRL_STREAMING_TIMEOUT?

Could be, but I'd like to know if increasing the control streaming timeout is required as well.

Signature · 3 lines
Regards,

Laurent Pinchart
#3 lore raw

Hi!

Quoted 2 lines

Could be, but I'd like to know if increasing the control streaming timeout is required as well.

I had some time now and have tested it and it is enough just to increase UVC_CTRL_STREAMING_TIMEOUT to 5000, I left UVC_CTRL_CONTROL_TIMEOUT at
300. And everything seems to work.

Mitar

#4 lore raw

Hi Mitar,

Quoted 8 lines · On Tuesday 29 December 2009 17:51:14 Mitar wrote:

Hi!

Quoted 2 lines

Could be, but I'd like to know if increasing the control streaming timeout is required as well.

I had some time now and have tested it and it is enough just to increase UVC_CTRL_STREAMING_TIMEOUT to 5000, I left UVC_CTRL_CONTROL_TIMEOUT at
300. And everything seems to work.

Thanks. I'll increase the streaming timeout value to 5000.

Signature · 3 lines
Regards,

Laurent Pinchart