librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Have the linux kernel patches upstreamed

Open severin-lemaignan opened this issue 10 years ago • 5 comments

If the kernel patch required to use the camera on Linux have been upstreamed, it would be useful to mention it in the documentation, with the name of the first kernel release including these patches.

Otherwise, this issue can serve as a tracking issue for the upstreaming of these patches (links to the possible upstream discussions welcome!)

severin-lemaignan avatar Mar 01 '16 10:03 severin-lemaignan

If the kernel patch required to use the camera on Linux have been upstreamed, it would be useful to mention it in the documentation, with the name of the first kernel release including these patches.

There have been at least two patches sent upstream months ago. At least one was rejected. I'm not sure of the current status. The kernel has extremely high standards, and it can take some back and forth discussion to work out the details. All of the discussion is in the linux-media mailing list. Search for ds4 which is a code name for R200.

teknotus avatar Mar 01 '16 17:03 teknotus

For reference, the last attempt of getting the patch upstream is discussed here (with previous reviews here)

severin-lemaignan avatar Mar 02 '16 09:03 severin-lemaignan

Should note that the librealsense patches also contain pixel formats for F200 and SR300, which will likely never be submitted upstream.

ddiakopoulos avatar Mar 02 '16 15:03 ddiakopoulos

@ddiakopoulos :-( Why that? it is a pity if we can not hope to have soon enough a 'plug and play' user experience with those nice little cameras!

severin-lemaignan avatar Mar 02 '16 16:03 severin-lemaignan

The R200 (and future generations) were intended to be compatible with Android while the F/SR series was not. Note that first discussion of the DS4 (R200) on the kernel mailing list dates back over 2 years -- this is typical for upstream patches like this. In the case of F200 and SR300, we don't have enough resources to guide yet another patch through review. Furthermore, even if those patches were accepted, newer generations of cameras would have been released in the meanwhile with potentially even more new pixel formats. So, while it's 100% preferable to have everything upstream, the reality is that it's not a priority.

ddiakopoulos avatar Mar 03 '16 17:03 ddiakopoulos