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

VN:F [1.9.22_1171]
Rating: 8.8/10 (15 votes cast)
How to fix libdc1394 error: Failed to initialize libdc1394, 8.8 out of 10 based on 15 ratings

{ 0 comments… add one }

Leave a Comment