Use SR300 on Debian stretch.
| 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!
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:
- Linux sources should point to Debian repo rather than Ubuntu (Link);
- Make sure to get kernel sources for the exact kernel version you're running (
uname -r), otherwise the resulted drivers may not work. - Modify&Merge Librealsense Ubuntu patches into the downloaded sources.(Link).
- Make sure to install the prerequisites according to the Linux Installation guide/Backend preparation.
- Rerun the modified patch once the above steps have been complete.
Thanks! Will try it.
[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.