-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device #2004
Comments
Hi @fiorano10 How many RealSense cameras do you have attached, please? I found serials for two cameras in the text-file version of the launch log. Also, what was the roslaunch instruction that you used for the multiple-camera launch? The text-file log has so many xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device messages generated after the RealSense Node is Up! notification that it suggests a serious communication problem. |
We have 4 cameras connected. We use a single launch file to launch all cameras and read the serial no. from a yaml file, along the params you see in the logs. |
Does the launch perform any better if you use the launch file rs_multiple_devices.launch to define the cameras and their serial numbers in the roslaunch instruction instead of using a yaml file? https://github.com/IntelRealSense/realsense-ros#work-with-multiple-cameras |
It does not, why would having the serial no in a launch file make a difference? |
Having the serial number defined in the launch instruction simplifies the launch process by having one less factor (the yaml file access) to go wrong. |
How do we resolve the no such device error? Do we reset the camera when this happens? |
xioctl(UVCIOC_CTRL_QUERY) typically indicates a conflict between librealsense and the kernel. This is a difficult problem to resolve when you cannot use RSUSB to bypass the kernel due to the need to support a multi-camera setup. Using a different kernel version sometimes makes a positive difference. Which kernel version are you currently using, please? |
We're on kernel |
I cannot find a history of problems with RealSense projects that use kernel 5.4.0-65-generic and Ubuntu 18.04, though that does not eliminate the possibility of a conflict in your particular project. The discussions in the links below look at a range of ways to deal with non-detection of a camera after boot, such as resetting the entire USB port instead of just the camera, or booting with rtcwake IntelRealSense/librealsense#1615 |
Hi @fiorano10 Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
We have multiple cameras connected to the motherboard, each has its own USB 3.1 Gen 1 port. We randomly see the
No such device error
when the node is launched. We confirmed that all realsenses are connected as USB 3.2 devices. Using inital reset does not help, we have to restart the computer to fix thisRunning the following config
Ubuntu 18.04
ROS Melodic
Librealsense v2.42
realsense-ros v2.2.22
Camera fw: 5.12.11
Logs (camera1-realsense2_camera1-1-stdout.log)
The text was updated successfully, but these errors were encountered: