Also got one to work using these changes.
@László - are you using a new Kinect for XBox, or a real Kinect for
windows. I have both an old and new Kinect for Xbox here (1414 and
1473). The code as written doesn't seem work for the new Kinect for
Xbox, because it only switches in the 334 byte expected return size if
it detected a Kinect for windows. This detection is done based on the
USB id. K4W is different, but both old and new models of K4Xbox have
the same USB ids. (Or maybe i misunderstood what you did) So
programmatically, the only way to tell is either noting the 334 byte
return, or the fact that the motor device is not present on the new
K4X.
In any case, i also got a Kinect for Xbox, model 1473 to spit out its
depth map simply by changing the expected size of the read msg to 334
bytes from 322. That change is the key change in the Theo link, in
camera.c above. All the other changes are just debug prints.
@Jogging: does lsusb show you the motor device? Thats the only way i
can tell the two models apart.
Caveat: - i have pretty limited experience with libfreenect (about an
hour), so im probably talking through my hat....
Rupert
--------------------------------------------------------------
Rupert Brooks
rupert...@gmail.com