From 469276344971dcf0b24d8ca33f0364852f95968f Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Mon, 18 Nov 2024 09:17:38 +0200 Subject: [PATCH] add logs --- src/linux/backend-v4l2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/linux/backend-v4l2.cpp b/src/linux/backend-v4l2.cpp index ad271ec3ebe..4a0c4cdd0f6 100644 --- a/src/linux/backend-v4l2.cpp +++ b/src/linux/backend-v4l2.cpp @@ -1843,7 +1843,10 @@ namespace librealsense if(xioctl(_fd, UVCIOC_CTRL_QUERY, &q) < 0) { if (errno == EIO || errno == EAGAIN || errno == EBUSY) + { + LOG_DEBUG( rsutils::string::from() << "set_xu received recoverable error: " << errno); return false; + } throw linux_backend_exception("set_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed"); } @@ -1858,7 +1861,10 @@ namespace librealsense if(xioctl(_fd, UVCIOC_CTRL_QUERY, &q) < 0) { if (errno == EIO || errno == EAGAIN || errno == EBUSY) + { + LOG_DEBUG( rsutils::string::from() << "get_xu received recoverable error: " << errno); return false; + } throw linux_backend_exception("get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed"); }