Description
Hi,
I'm having issues trying to run some examples (freenect-glview, freenect-chunkview, freenect-cppview, freenect-hiview), with all of them returning:
Kinect camera test
Number of devices found: 1
Could not open audio: -1
Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.Could not open device
Occasionally, libusb seems to return error code -4 too. These errors are not permissions-related.
Note that freenect-regview does function correctly.
What actually bothers me is that, for an unknown reason, I am unable to run the OpenCV example on the Raspberry Pi 2, it returns the same error codes and messages (-4, could not open motor and audio).
The thing is, I do not actually care for motor and audio, only video and depth.
I have been able to run the OpenCV example on an Ubuntu 14.04 laptop, but I have no idea why it does not run on the Raspberry Pi 2 (I have already followed these steps and also asked for help here). I have been running the latest version of both Raspbian and Arch Linux, with no success other than freenect-regview.
A strange thing that happens is, whenever I run a freenect application, the following message appears in dmesg, and I don't know whether it is a feature or a bug:
[ 9513.700007] usb 2-1.1.1: reset high-speed USB device number 76 using ehci-pci
[ 9518.790646] usb 2-1.1.1: can't restore configuration #1 (error=-110)
[ 9518.791096] usb 2-1.1.1: USB disconnect, device number 76
[ 9518.878488] usb 2-1.1.1: new high-speed USB device number 77 using ehci-pci
[ 9524.428664] usb 2-1.1.1: new high-speed USB device number 78 using ehci-pci
[ 9524.523389] usb 2-1.1.1: New USB device found, idVendor=045e, idProduct=02be
[ 9524.523399] usb 2-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9524.523406] usb 2-1.1.1: Product: Microsoft Kinect Audio, \xffffffc2\xffffffa9\xffffffa9 2011 Microsoft Corporation. All rights reserved.
[ 9524.523412] usb 2-1.1.1: Manufacturer: Microsoft
[ 9524.523416] usb 2-1.1.1: SerialNumber: A22592W00346213A
I (think I) have a Kinect for Windows device, which has been adapted to USB via a Microsoft 1431 12V 1.08A power adapter. However, plugging the device into a powered USB hub has not made any difference. For sake of completeness, here is the relevant part of the output of lsusb:
Bus 002 Device 060: ID 045e:02bf Microsoft Corp.
Bus 002 Device 078: ID 045e:02be Microsoft Corp.
Bus 002 Device 054: ID 045e:02c2 Microsoft Corp.