Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Input/output error using usb_cam

I am trying to use usb_cam package to connect a Logitech usb camera from my laptop. I am using ROS kinetic with Ubuntu 16.04. I successfully built the package using catkin_make. Then when I run the usb_cam_node node using

$ rosrun usb_cam usb_cam_node

from the terminal I receive the following input-output error,

VIDIOC_STREAMON error 5, Input/output error.

the solution post earlier on this forum, paste below didn't help, hence request you suggest a different solution I solved the problem using video_device:=/dev/video1 of usb_cam_node. The problem happened because I have been using an external usb camera with my laptop which already had a built-in camera.