librealsense: librealsense2-dkms v1.3.22 does not install on kernel v5.15.0-24-lowlatency
| Camera Model | D400 | | Firmware Version | (Open RealSense Viewer --> Click info) | | Operating System & Version | Ubuntu 22.04 | | Kernel Version (Linux Only) | 5.15.0-24-lowlatency | | Platform | PC |
Issue Description
We’re installing librealsense2-dkms in a chroot environment set up for 5.15.0-24-lowlatency.
librealsense2-dkms v1.3.19 installs, while librealsense2-dkms v1.3.22 does not.
Is this a bug, or is support for kernel version 5.15 being deprecated? We’ve had no issues with the drivers on lowlatency prior.
Building for 5.15.0-24-lowlatency
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Building initial module for 5.15.0-24-lowlatency
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/librealsense2-dkms.0.crash'
Error! Application of patch 92-realsense-hid-5.15.patch failed.
Check /var/lib/dkms/librealsense2-dkms/1.3.22/build/ for more information.
dpkg: error processing package librealsense2-dkms (--configure):
installed librealsense2-dkms package post-installation script subprocess returned error exit status 6
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
librealsense2-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 23 (1 by maintainers)
Hi @twahrburg-google Next time you can tag me so I will be notified. We submitted HID bugfix to kernel tree and it was applied to all kernels with this bug. All later minor releases had this bugfix and our dkms failed. There is no much difference in 1.3.19 and 1.3.22, we updated for newer SKU’s and new formats. We updated this issue and it will be available on version 1.3.24 Regards, Dmitry Perchanov.
I will highlight your issue to my Intel RealSense colleagues. In the meantime, the best available option may be to continue with the RSUSB source code version of librealsense or try a different 5.15 kernel version if your project allows it to see whether there is a conflict with your lowlatency kernel version specifically (as 5.15 kernels usually work fine).