ofTheo/ofxKinectV2

USB PID of the retail version has changed

recotana opened this issue · 3 comments

I have to get the full version kinect2. But I did not recognize.
The successful connection I made changes to the following code:

libs / protonect / ofProtonect.cpp
723
uint16_t pid = 0x02C4;

uint16_t pid = 0x02D8;

It was 0x02D9 in the system profiler of mac.
But I could not connect this ID

wow - thats really helpful!
thanks!

Hi recotana!

I'm having issues with the USB too. In my case it seems to connect at 0x02D9. Not at 0x02D8.

But I'm facing other issues:
Would you be so kind to let me know if your kinect appears in the System Information connected at the SuperSpeed bus? What computer are you using?

Here is my setup and my errors:

My specs:

Mac mini
Late 2012
Processor  2,5 GHz Intel Core i5

result at system info:

USB 3.0 Hi-Speed Bus:
[...]

NuiSensor Adaptor      :
  Product ID:   0x02d9
  Vendor ID:    0x045e  (Microsoft Corporation)
  Version:   0.70
  Speed:    Up to 480 Mb/sec
  Manufacturer: Microsoft Corporation  
  Location ID:  0x14100000 / 5
  Current Available (mA):   500
  Current Required (mA):    0

Xbox NUI Sensor:
  Product ID:   0x02d8
  Vendor ID:    0x045e  (Microsoft Corporation)
  Version:   1.00
  Serial Number:    504906442542
  Speed:    Up to 480 Mb/sec
  Manufacturer: Microsoft
  Location ID:  0x14110000 / 14
  Current Available (mA):   500
  Current Required (mA):    100

output:

[ error ] ofXml: loadFromBuffer(): DOM ERROR
[warning] ofXml: setTo(): empty document
Using libusbx v1.0.17.10852

Opening device 045E:02D9...
libusbx: warning [darwin_open] USBDeviceOpen: another process has device opened for exclusive access
libusbx: error [darwin_reset_device] ResetDevice: device not opened for exclusive access

Reading device descriptor:
            length: 18
      device class: 9
               S/N: 0
           VID:PID: 045E:02D9
         bcdDevice: 0070
   iMan:iProd:iSer: 1:2:0
          nb confs: 1
             speed: 480 Mbit/s (USB HighSpeed)
active configuration: 1, err: 0
Claiming interface 0...
libusbx: error [darwin_claim_interface] IOCreatePlugInInterfaceForService: unknown error
   Failed: -99.

Claiming interface 1...
libusbx: info [darwin_claim_interface] no interface found; setting configuration: 1
libusbx: error [darwin_claim_interface] could not set configuration
   Failed: -4.
running kinect...
Control transfer 1 - set isoch delay
Control transfer error: -9
Control transfer 2 - set sel u1/u2
Control transfer error: -9

Woow I just unplugged the kinect from the power and plugged again. (just to try windows like bodoo)
Now it works at 0x02D8 as you described!

Thanks so much for posting. I was about to give up already!!