[ERROR] [1519888351.478412390]: Cannot identify '/dev/video0': 2, No such file or directory
hi, I'm trying to use usb_cam-test.launch
in usb_cam
package to read my web camera, but it keeps returning error:
Cannot identify '/dev/video0': 2, No such file or directory
Update:
when i run lsusb devices are:
Bus 002 Device 004: ID 045e:0772 Microsoft Corp. LifeCam Studio
Bus 002 Device 003: ID 1c4f:0048 SiGma Micro
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 045e:0772 Microsoft Corp. LifeCam Studio
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:a014 Alcor Micro Corp. Asus Integrated Webcam
Bus 001 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
how can run my camera? i have two LifeCam Studio cameras.
Update 2:
when i run
ls -ltrh /dev/video*
this give:
crw-r--r-- 1 root root 81, 0 Mar 1 01:10 /dev/video0
Please don't create a new question to add information to a previous one (#q284010). You can always edit your question instead.
@zahra.kh: I noticed that many of your questions have answers, but none are accepted as correct. Could you please take a few minutes and mark the ones that solved your problems as correct? It really helps out others that find your question so they may know a solution.
Please don't use an answer to provide more information about your question. This isn't a forum, please update your question instead. I moved the contents of your answer to your question.
The main part of my answer was to run
What does this give? Please update your question with a copy and paste of the output from the terminal using the preformatted text (
101010
) button.when i run ls -ltrh /dev/video*, this give: crw-r--r-- 1 root root 81, 0 Mar 1 01:10 /dev/video0
Again, please update your question when giving more information. Comments aren't the appropriate place for that.
Is the camera turned on?
i connected two cameras to laptop usbs!