ros-drivers / libuvc_ros

http://www.ros.org/wiki/libuvc_ros
81 stars 97 forks source link

Device not found #15

Closed richardw347 closed 9 years ago

richardw347 commented 9 years ago

Hi,

I'm having a problem with my PS3 eye camera, getting a device not found error (-4).

dmesg output for the camera:

[ 1096.865989] usb 2-1.6: USB disconnect, device number 5 [ 1098.343289] usb 2-1.6: new high-speed USB device number 6 using ehci-pci [ 1098.437941] usb 2-1.6: New USB device found, idVendor=1415, idProduct=2000 [ 1098.437946] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1098.437949] usb 2-1.6: Product: USB Camera-B4.09.24.1 [ 1098.437952] usb 2-1.6: Manufacturer: OmniVision Technologies, Inc. [ 1098.438363] gspca_main: ov534-2.14.0 probing 1415:2000

My launch file:

``` ```

Execution output:

SUMMARY

PARAMETERS

NODES /uas1/ camera (libuvc_camera/camera_node)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found process[uas1/camera-1]: started with pid [10087] uvc_find_device: No such device (-4) [uas1/camera-1] process has died [pid 10087, exit code 255, cmd /home/rmw/devel/ros/devel/lib/libuvc_camera/camera_node name:=camera log:=/home/rmw/.ros/log/0432b43a-3e7a-11e4-b1a0-a0b3ccfb07e5/uas1-camera-1.log]. log file: /home/rmw/.ros/log/0432b43a-3e7a-11e4-b1a0-a0b3ccfb07e5/uas1-camera-1*.log all processes on machine have died, roslaunch will exit

Any help would be appreciated.

richardw347 commented 9 years ago

Oh I forgot to mention I have also created a udev rule for the device and the permissions all check out.

ktossell commented 9 years ago

Sorry, you won't be able to use libuvc_camera with the PS3 Eye, which isn't a USB Video Class-compliant camera. This camera should, however, work with the other ROS "uvc" drivers (such as uvc_camera), which actually use the Video4Linux API to handle any Linux-supported cameras (so they're not actually limited to UVC cameras).

The 'no such device' error occurs because libuvc only checks USB devices that have UVC interfaces.