librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Use SR300 on Debian stretch.

Open blackball opened this issue 8 years ago • 4 comments

Required Info
Camera Model SR300
Firmware Version
Operating System & Version Debian 9
Kernel Version (Linux Only) Kernel 4.9.0
Platform Intel
SDK Version

Issue Description

I would like to try SR300 on Debian 9, which has a kernel version 4.9.0. I don't want to upgrade the kernel directly to higher version since it will affect my current settings. I checked the patch script under ./scripts/, couldn't find a matched version for my need. Can you tell me how I could make a patch for kernel 4.9.0 safely?

Thanks you!

blackball avatar May 07 '18 05:05 blackball

Hello @blackball , The officially supported patches are those of Ubuntu LTS releases 14 and 16 (and in foreseeable future Ubuntu 18). There are several community-contributed patches in scripts directory, but none of them I believe is suited for your needs.

Therefore I would recommend you to use patch-realsense-ubuntu-xenial.sh as a baseline as it already covers some Debian-specific steps , modify it and then port either 4.4 or 4,10 kernel patches to Debian 9.

The things to change/track in the modified script:

  1. Linux sources should point to Debian repo rather than Ubuntu (Link);
  2. Make sure to get kernel sources for the exact kernel version you're running (uname -r), otherwise the resulted drivers may not work.
  3. Modify&Merge Librealsense Ubuntu patches into the downloaded sources.(Link).
  4. Make sure to install the prerequisites according to the Linux Installation guide/Backend preparation.
  5. Rerun the modified patch once the above steps have been complete.

ev-mp avatar May 07 '18 07:05 ev-mp

Thanks! Will try it.

blackball avatar May 07 '18 07:05 blackball

[Realsense Customer Engineering Team Comment] Has this issue been resolved?

[Realsense Customer Engineering Team Comment] let me close this ticket here, please feel free to open new ticket if any question.