Re: [PATCH v2] media: uvcvideo: Set the colorspace as sRGB if undefined

From
Ricardo Ribalda <hidden>
Date
2021-11-13 00:11:46
Reply to
James Hilliard, 2021-11-13
HI

On Sat, 13 Nov 2021 at 01:07, James Hilliard [off-list ref] wrote:
On Fri, Nov 12, 2021 at 5:02 PM Ricardo Ribalda [off-list ref] wrote:
quoted
Hi

On Sat, 13 Nov 2021 at 00:59, James Hilliard [off-list ref] wrote:
quoted
On Fri, Nov 12, 2021 at 4:50 PM Ricardo Ribalda [off-list ref] wrote:
quoted
HI James

You are getting -EPROTO while trying to get the current value of a
control. I believe this is a hardware/firmware error.
Hmm, any idea why v4l2-compliance passes some of the time but not
always?
Race condition in the firmware?
Not enough current to complete a request and end up in some kind of brown-out?
Hmm, think that might be the way the camera might be indicating commands
are being sent too fast? Maybe a retry on the first -EPROTO seen would be
enough to fix it?
I do not think that it is part of the uvc standard :).

What is the model/vendor of the camera?

You might have to implement a quirk for it.
quoted
It is difficult to know without access to the hardware :)

Maybe you can replicate what causes the error with just v4l-ctl calls
and then ping the manufacturer with a simple repro.
quoted
quoted

Best regards!


--
Ricardo Ribalda


-- 
Ricardo Ribalda
Thread (15 messages) 15 messages, 3 authors, last reply 2021-11-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help