How to fix libdc1394 error: Failed to initialize libdc1394

I am doing a project about Mobile Robot Teleoperation which uses OpenCV for Computer Vision, but I always get error: libdc1394 error: Failed to initialize libdc1394

The reason is: There is no file /dev/raw1394 since the raw1394 driver is not loaded. So you need to insert that driver:

$ sudo modprobe raw1394

Check your permission access to that dev file:

$ ls -la /dev/raw1394


If you don’t have rw access right, need to change that permissons:

$ sudo chmod a+rw /dev/raw1394

Credit for Viktors Petrovs from this bug

{ 0 comments… add one }

Leave a Comment