Jose Carlos Torresunread,
Aug 23, 2012, 8:58:45 AM8/23/12
I am trying to run openni samples in Ubuntu 12.04 installed in a Sony Vaio S Laptop.
I have both sensors, kinect and asus xtion, and I installed the last unstable openni, sensor and nite versions. I have to say that both are working very well on a desktop PC with the same Ubuntu dist and even Sony Laptop using windows 7.
The laptop has 3 usb ports, 2 of them are 3.0 and the other is 2.0.
With the default Ubuntu 12.04 kernel version ( 3.2.0 ), I couldn't run any sample neither Kinect nor Xtion, tryiying to plug them into differents usb ports and, of corse, switching the primesense and avin sensor libraries pending of the use of kinect or xtion.
I updated the Linux Kernel to the 3.5.2 version since i read that it have some usb 3.0 controller problems, and after reinstall all openni software, I can run samples with the kinect sensor but i have no succes with the Xtion one :(
When I try to run the NiViewer sample with the Xtion connected, the output is this :
Open failed: Failed to set USB interface!
Press any key to continue . . .
I think that the problem is somethig refered to the usb controller, but I don't know why, because I am using the only usb 2.0 port my laptop has, and the kinect sensor works pretty fine...
This is the output of the dmesg command referred to the sensor :
[ 1305.862541] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[ 1305.882374] usb 3-2: New USB device found, idVendor=1d27, idProduct=0600
[ 1305.882380] usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 1305.882383] usb 3-2: Product: PrimeSense Device
[ 1305.882386] usb 3-2: Manufacturer: PrimeSense
[ 1305.882789] xhci_hcd 0000:00:14.0: Not enough bandwidth. Proposed: 1663, Max: 1607
[ 1305.882794] xhci_hcd 0000:00:14.0: Not enough bandwidth
[ 1305.882801] usb 3-2: can't set config #1, error -12
Where you can see that something bad is hapenning ...
Does anybody have a similar problem? I need some help!
Jose Carlos Torres