Quick update: I’ve compiled the OpenNI2 git repo GitHub - orbbec/OpenNI2: OpenNI2 (develop
branch), and the samples report:
$ ./SimpleViewer
After initialization:
SimpleViewer: Device open failed:
DeviceOpen using default: no devices found
The primesense and python method still works for retrieving video though.
Longer lsusb -v
:
Bus 002 Device 033: ID 2bc5:0407
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2bc5
idProduct 0x0407
bcdDevice 0.01
iManufacturer 1 ORBBEC
iProduct 2 ASTRA
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 3 ORBBEC Depth Sensor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 0
Device Status: 0x0000
(Bus Powered)
I also compiled hello_world from the docs, and was able to compile and run the samples that call astra::initialize()
and astra::terminate()
with nothing between them, but when I add the frame reading code, then the program hangs. It seems to be likely that the camera is not found…
EDIT: I downloaded the 2-Linux.zip
from the http://orbbec.com/develop site, and after extracting the OpenNI-Linux-x64-2.3.zip
, I was able to run SimpleViewer
with no problems. It still hasn’t fixed the other problems, but at least some other program from Orbbec is able to access the camera.
EDIT2: Will also add: my user is definitely in the video
group.
$ sudo groups luke
luke : luke adm cdrom sudo dip video plugdev lpadmin sambashare