The device in question is
Renkforce RF AC4K 300 Action Cam 4K
When connected via USB to a PC, it offers two modes:
- mass storage
When set to webcam mode it identifies as:
[34367.545510] uvcvideo: Found UVC 1.00 device Android (1f3a:100e)
I tested against 5.10.1-2.g8f3d468.
With 8a652a17e3c005dcdae31b6c8fdf14382a29cbbe (https://raw.githubusercontent.com/SUSE/kernel-source/openSUSE-15.2/patches.suse/media-uvcvideo-Ensure-all-probed-info-is-returned-to.patch) the device stopped working in camera mode, i.e. no more video capture.
When reversing the above patch, the device is working as expected.
Downstream bug report is at https://bugzilla.opensuse.org/show_bug.cgi?id=1180117
Could you please provide the output of
lsusb -v -d 1f3a:100e
(if possible running as root) ?
Created attachment 294237 [details]
Output from lsusb as root
The device also seems to have issues with USB suspend (https://sourceforge.net/p/linux-uvc/mailman/message/37178728/)
Is this in any way related?
Thank you for the lsusb output.
The problem is caused by a bug in the device firmware, so we'll need to work around it. I'll propose a patch.
Created attachment 294241 [details]
Assuming the patch fixes the issue, I'll submit it to the linux-media mailing list. Till, are you OK to have your name included in the commit messages as the reporter ?
(In reply to Laurent Pinchart from comment #6)
> Assuming the patch fixes the issue, I'll submit it to the linux-media
> mailing list.
Will try to give the patch a shot asap.
> Till, are you OK to have your name included in the commit
> messages as the reporter ?
Yes, including my name is okay.
Thanks for the quick turnaround!
Tests were against 5.10.1-2.g8f3d468.
I applied the patch from comment 5 (0001-media-uvcvideo-Accept-invalid-bFormatIndex-and-bFram.patch).
The device is working as expected with that patch.