-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.14.15 - no full support for video formats #1137
Comments
Something more.
As I understand, these two are Intel's |
Hello @rcny , There are additional proprietary formats, such as 'RELI', 'PAIR' 'INZC', that are used in production line for calibration and other activities. These are not upstreamed for obvious reasons. We also do not use it in Librealsense. With kernel 4.14 there should be no need for additional patches to stream SR300. |
@ev-mp, thanks for the clarification!
There are two warnings generated by
|
I have a suspicion that |
These two formats cause the kernel warning you've attached. In case you absolutely cannot allow for the kernel messages to appear then you can apply the patch for these two formats - it will suppress the warnings. Note that these warnings are generated only once per enumeration, so unless you have to replug the device frequently it should not clutter dmesg console. |
My What patch are you talking about? Sorry, I haven't found the patch with support for these formats anywhere in the public. |
While there are no official patches for |
Sorry, but I don't understand what kind of references I should find there. I've looked through that patch via provided link and haven't found anything concerning support of Simply put, I totally acknowledge what you are saying to me, but still I don't see any valid answer to this except suppressing kernel warnings by myself. Honestly, any out-of-box kernel warnings are abnormal even if camera isn't malfunctioning. And suppressing output of kernel module looks like a messy solution for the device with Linux support. Is there anything that can be done with this? |
Hi @rcny, As SR300 is being gradually retired requesting FW modificatons would not be feasible. |
Hello! I've added
Now everything is detected correctly:
However,
It persists even on fresh vanilla 4.14 kernel with no customizations cloned from kernel.org. Is there any clarification available for these errors? |
[Realsense Customer Engineering Team Comment] To run the realsense-viewer or rs-capture app in librealsense 2.10.1, not see below error in Ubuntu 16.04.3 + Kernel 4.14.15 with the patches with INZC and PAIR format applied. Is the issue "UVC control" still in your setup?
|
[Realsense Customer Engineering Team Comment] Still see any issue for further check? |
Issue Description
Hello!
I'm using heavily modified CentOS 7.4 with vanilla 4.14.15 kernel. It is somewhat patched, basically for additional specific hardware support. I've thought that everything needed for SR300 support was already upstreamed, but it seems not. I've looked at the patches available here and manually performed necessary changes to provide video backend and driver with tweaks and missing video formats.
This is what I've done:
uvc_fmts[]
intouvc_driver.c
:uvcvideo.h
header file:videodev2.h
:v4l2-ioctl.c
:Applied
realsense-metadata-ubuntu-xenial.patch
to USB Video Class driverApplied
realsense-powerlinefrequency-control-fix.patch
Looks like that wasn't enough because
v4l2
still reports with unrecognized formats:What are
435a4e49-b602-480f-978c-e4e88ae
and52494150-8536-4841-b6bf-8fc6ffb
? I understand that my setup may be unsupported, but it looks like patches basically add support for Intel-specific video formats. I've added them all and kernel still isn't able to recognize everything that camera supports. What should I do?Thanks in advance.
The text was updated successfully, but these errors were encountered: