Skip to content

Retry on "set_xu" when device is busy - #11378

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
Nir-Az:ioctl_ebusy
Jan 31, 2023
Merged

Nir-Az merged 2 commits into
realsenseai:developmentfrom
Nir-Az:ioctl_ebusy

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Jan 30, 2023 •

Copy link
Copy Markdown
Collaborator

Tracked on [LRS-662]

@Nir-Az
Nir-Az requested a review from remibettan January 30, 2023 19:08
Comment thread src/linux/backend-v4l2.cpp Outdated
if(xioctl(_fd, UVCIOC_CTRL_QUERY, &q) < 0)
{
if (errno == EIO || errno == EAGAIN) // TODO: Log?
if (errno == EIO || errno == EAGAIN || errno == EBUSY) // TODO: Log?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree.
Maybe we can remove the meaningless comment there?

@remibettan remibettan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment - besides that LGTM

@Nir-Az
Nir-Az requested a review from remibettan January 31, 2023 08:57

@remibettan remibettan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az
Nir-Az merged commit 4b8f7f6 into realsenseai:development Jan 31, 2023
@Nir-Az
Nir-Az deleted the ioctl_ebusy branch September 30, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants