This weekend KaKaRoToKS released Eskiss with Move support, some parts of gemsaple was added to efl ecore_psl1ght, very cool indeed. Check an enjoy downloading here
Video output is commited now to gemsample in my repo and will be on psl1ght repo soon!!
time to test efl stuff and finish kinect stuff...
Sunday, 2 October 2011
Saturday, 24 September 2011
Let's "Move" the Scene
At last good values from sensors :)
I have updated libgem, added libspurs and 2 samples to psl1ght
My repository
https://github.com/bigboss-ps3dev/PSL1GHT
Output from gemsample
Waiting for connection...
Receiving data... (0x00012200/0x00051b90)
Launching...
Loading modules
laod camera module return 0
load gem module return 0
sysSpuInitialize return 0
sysThreadGetId return 0 ppu_thread_id 14500e1
sysThreadGetPriority return 0 ppu_prio 1001
Initializing spurs
Initializing spurs attribute
Setting name prefix
Initializing with attribute
SPURS 5 spu threads availables
SPU Number:0 SPU Thread ID:400100
SPU Number:1 SPU Thread ID:1400100
SPU Number:2 SPU Thread ID:2400100
SPU Number:3 SPU Thread ID:3400100
SPU Number:4 SPU Thread ID:4400100
checking SpursInfo
SpursInfo:
nSpus=5
spuGroupPriority=250
ppuThreadPriority=1000
exitIfNoWork=1
namePrefix=gemsample
SPU Number:0 SPU Thread ID:400100
SPU Number:1 SPU Thread ID:1400100
SPU Number:2 SPU Thread ID:2400100
SPU Number:3 SPU Thread ID:3400100
SPU Number:4 SPU Thread ID:4400100
SPURS initialized correctly!!!
return from GemGetMemorySize 120000 size in bytes needed for move device to init libgem
preparing GemAttribute structure with sprus and memory stuff is very important align correctly spurs structure
calling GemInit with GemAttribute structure version=2 max_connect=1 spurs=40000480 memory_ptr=42100010
return from GemInit 0
GemPrepareCamera return 0 exposure set to 128 and quality to 0.5
GemReset return 0
sysMemContainerCreate() for camera container returned 0
cameraInit() returned 0
Buffer at 00000000
Buffer at 00000000
Buffer at 00000000
Found me an eye, arrr!
cameraOpenEx returned 00000000
Video dimensions: 640x480
Buffer at 30012800
pbuf0 Buffer at 00000000
pbuf0 Buffer at 00000000
camInf.info_ver 101
Setting CameraReadEx 30012800 buffer to cameraInfoex buffer
GemPrepareCamera return 0 exposure set to 128 and quality to 0.5 before cameraStart
lets go!! It's time to look your face in Sony Bravia :P
cameraStart return 0
Move pressed
Cross pressed
X,Y,Z position (mm) 189.509033 -434.033752 1296.131104
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
Cross pressed
X,Y,Z position (mm) 205.927002 -436.941956 1308.244629
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
Cross pressed
X,Y,Z position (mm) 480.563812 -408.114563 1329.933350
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
Cross pressed
X,Y,Z position (mm) 451.881927 -410.955933 1318.307007
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
T pressed value 3
Frame 37710 center of the sphere in world coordinates 225.594498 -426.935089 1311.220947 1.000000
T pressed value 65
Frame 37784 center of the sphere in world coordinates 234.835403 -410.534790 1307.632690 1.000000
T pressed value 56
Frame 37830 center of the sphere in world coordinates 257.285767 -395.657898 1304.284424 1.000000
T pressed value 40
Frame 37870 center of the sphere in world coordinates 184.035355 -413.298737 1293.195068 1.000000
T pressed value 28
Frame 37913 center of the sphere in world coordinates -25.703981 -418.746521 1424.280518 1.000000
T pressed value 34
Frame 37954 center of the sphere in world coordinates -150.024338 -483.764923 1466.980103 1.000000
T pressed value 3
Frame 37996 center of the sphere in world coordinates -139.128952 -504.165009 1442.249023 1.000000
T pressed value 56
Frame 38022 center of the sphere in world coordinates -135.642822 -500.102112 1434.872437 1.000000
T pressed value 6
Frame 38046 center of the sphere in world coordinates -132.609375 -498.069946 1420.702271 1.000000
T pressed value 82
Frame 38091 center of the sphere in world coordinates -118.836090 -498.801636 1414.320679 1.000000
T pressed value 53
Frame 38262 center of the sphere in world coordinates 219.987030 -379.421387 1404.661133 1.000000
T pressed value 10
Frame 38472 center of the sphere in world coordinates 323.159851 -448.891632 1547.447510 1.000000
T pressed value 26
Frame 38831 center of the sphere in world coordinates 522.609131 -434.194733 1562.819214 1.000000
T pressed value 8
Frame 38886 center of the sphere in world coordinates 510.464722 -425.098969 1531.408203 1.000000
Triangle pressed
u [467.616608]
v [243.786667]
r [7.523668]
projectionx [0.274799]
projectiony [-0.007953]
distance [1611.913208]
visible=1 r_valid=1
tiemestamp=1831793693
Triangle pressed
u [374.323914]
v [255.018234]
r [7.731226]
projectionx [0.101714]
projectiony [-0.028791]
distance [1568.638672]
visible=1 r_valid=1
tiemestamp=1834009472
Triangle pressed
u [417.485352]
v [243.696060]
r [7.827722]
projectionx [0.181791]
projectiony [-0.007785]
distance [1549.301392]
visible=1 r_valid=1
tiemestamp=1835225555
Triangle pressed
u [458.676208]
v [247.511475]
r [7.927076]
projectionx [0.258212]
projectiony [-0.014864]
distance [1529.883179]
visible=1 r_valid=1
tiemestamp=1836075268
Triangle pressed
u [475.832306]
v [252.331787]
r [7.865773]
projectionx [0.290041]
projectiony [-0.023807]
distance [1541.806519]
visible=1 r_valid=1
tiemestamp=1836741731
Triangle pressed
u [485.739349]
v [256.604187]
r [7.828753]
projectionx [0.308422]
projectiony [-0.031733]
distance [1549.097290]
visible=1 r_valid=1
tiemestamp=1837424876
Triangle pressed
u [494.324524]
v [259.002686]
r [7.882169]
projectionx [0.324350]
projectiony [-0.036183]
distance [1538.599487]
visible=1 r_valid=1
tiemestamp=1838124604
Triangle pressed
u [505.946564]
v [267.037445]
r [7.904655]
projectionx [0.345912]
projectiony [-0.051090]
distance [1534.222534]
visible=1 r_valid=1
tiemestamp=1838824246
Triangle pressed
u [515.426575]
v [277.453888]
r [7.867825]
projectionx [0.363500]
projectiony [-0.070415]
distance [1541.404663]
visible=1 r_valid=1
tiemestamp=1839690729
Triangle pressed
u [521.867493]
v [291.747559]
r [7.855508]
projectionx [0.375450]
projectiony [-0.096934]
distance [1543.821289]
visible=1 r_valid=1
tiemestamp=1840573715
Triangle pressed
u [523.607788]
v [300.297150]
r [7.867825]
projectionx [0.378679]
projectiony [-0.112796]
distance [1541.404663]
visible=1 r_valid=1
tiemestamp=1841906582
Triangle pressed
u [515.597290]
v [275.254120]
r [7.760409]
projectionx [0.363817]
projectiony [-0.066334]
distance [1562.739868]
visible=1 r_valid=1
tiemestamp=1842589508
Triangle pressed
u [502.364777]
v [261.510590]
r [7.853453]
projectionx [0.339267]
projectiony [-0.040836]
distance [1544.225220]
visible=1 r_valid=1
tiemestamp=1842989369
Triangle pressed
u [460.853729]
v [242.027481]
r [7.995967]
projectionx [0.262252]
projectiony [-0.004689]
distance [1516.702148]
visible=1 r_valid=1
tiemestamp=1843489242
Triangle pressed
u [432.043274]
v [235.523392]
r [8.025161]
projectionx [0.208800]
projectiony [0.007378]
distance [1511.184692]
visible=1 r_valid=1
tiemestamp=1843839141
Triangle pressed
u [406.969330]
v [215.424347]
r [8.167543]
projectionx [0.162281]
projectiony [0.044667]
distance [1484.840576]
visible=1 r_valid=1
tiemestamp=1844322311
Triangle pressed
u [380.524200]
v [214.097504]
r [8.175434]
projectionx [0.113217]
projectiony [0.047129]
distance [1483.407471]
visible=1 r_valid=1
tiemestamp=1844855363
Triangle pressed
u [407.755707]
v [227.469681]
r [8.104139]
projectionx [0.163740]
projectiony [0.022320]
distance [1496.457520]
visible=1 r_valid=1
tiemestamp=1845171952
Triangle pressed
u [441.074799]
v [243.503540]
r [8.030184]
projectionx [0.225556]
projectiony [-0.007428]
distance [1510.239502]
visible=1 r_valid=1
tiemestamp=1845455027
Triangle pressed
u [471.704102]
v [261.234985]
r [7.781185]
projectionx [0.282382]
projectiony [-0.040325]
distance [1558.567261]
visible=1 r_valid=1
tiemestamp=1845804868
Triangle pressed
u [493.436279]
v [285.374908]
r [7.687237]
projectionx [0.322702]
projectiony [-0.085111]
distance [1577.614990]
visible=1 r_valid=1
tiemestamp=1846371549
Triangle pressed
u [481.684326]
v [268.126495]
r [7.666198]
projectionx [0.300899]
projectiony [-0.053110]
distance [1581.944580]
visible=1 r_valid=1
tiemestamp=1847037968
Triangle pressed
u [451.177032]
v [236.552795]
r [7.835966]
projectionx [0.244299]
projectiony [0.005468]
distance [1547.671387]
visible=1 r_valid=1
tiemestamp=1847870924
Triangle pressed
u [439.619263]
v [226.912308]
r [7.913836]
projectionx [0.222856]
projectiony [0.023354]
distance [1532.442749]
visible=1 r_valid=1
tiemestamp=1848687293
Triangle pressed
u [431.101837]
v [226.425247]
r [7.954504]
projectionx [0.207053]
projectiony [0.024257]
distance [1524.608154]
visible=1 r_valid=1
tiemestamp=1849287046
Triangle pressed
u [415.781769]
v [230.620239]
r [8.017118]
projectionx [0.178630]
projectiony [0.016475]
distance [1512.700684]
visible=1 r_valid=1
tiemestamp=1849953468
Triangle pressed
u [396.752502]
v [239.167206]
r [8.079232]
projectionx [0.143326]
projectiony [0.000617]
distance [1501.070923]
visible=1 r_valid=1
tiemestamp=1850886468
Triangle pressed
u [439.451355]
v [247.016159]
r [8.085217]
projectionx [0.222544]
projectiony [-0.013945]
distance [1499.959961]
visible=1 r_valid=1
tiemestamp=1851619412
Triangle pressed
u [449.005798]
v [250.121674]
r [8.072244]
projectionx [0.240270]
projectiony [-0.019706]
distance [1502.370483]
visible=1 r_valid=1
tiemestamp=1852535657
Triangle pressed
u [426.747223]
v [241.951523]
r [8.129959]
projectionx [0.198974]
projectiony [-0.004548]
distance [1491.704956]
visible=1 r_valid=1
tiemestamp=1853435393
Triangle pressed
u [417.064728]
v [235.196320]
r [8.006046]
projectionx [0.181011]
projectiony [0.007985]
distance [1514.792725]
visible=1 r_valid=1
tiemestamp=1854118583
Triangle pressed
u [431.997528]
v [245.086334]
r [8.540620]
projectionx [0.208715]
projectiony [-0.010364]
distance [1419.979004]
visible=1 r_valid=1
tiemestamp=1854701741
Triangle pressed
u [441.774719]
v [259.114746]
r [8.790345]
projectionx [0.226855]
projectiony [-0.036391]
distance [1379.638672]
visible=1 r_valid=1
tiemestamp=1855251396
Triangle pressed
u [446.370483]
v [267.522522]
r [9.159265]
projectionx [0.235381]
projectiony [-0.051990]
distance [1324.069214]
visible=1 r_valid=1
tiemestamp=1855701256
Triangle pressed
u [445.791107]
v [279.648895]
r [9.489860]
projectionx [0.234306]
projectiony [-0.074488]
distance [1277.943115]
visible=1 r_valid=1
tiemestamp=1856167655
Triangle pressed
u [442.675964]
v [279.683411]
r [9.940524]
projectionx [0.228527]
projectiony [-0.074552]
distance [1220.006104]
visible=1 r_valid=1
tiemestamp=1856684264
Triangle pressed
u [427.323761]
v [287.231140]
r [10.420423]
projectionx [0.200044]
projectiony [-0.088555]
distance [1163.820435]
visible=1 r_valid=1
tiemestamp=1857200662
Triangle pressed
u [413.394775]
v [295.300568]
r [10.901438]
projectionx [0.174202]
projectiony [-0.103526]
distance [1112.468018]
visible=1 r_valid=1
tiemestamp=1857817071
Triangle pressed
u [422.021118]
v [291.990326]
r [10.733618]
projectionx [0.190206]
projectiony [-0.097385]
distance [1129.861328]
visible=1 r_valid=1
tiemestamp=1858116898
Triangle pressed
u [434.123077]
v [283.060028]
r [10.246875]
projectionx [0.212659]
projectiony [-0.080816]
distance [1183.531616]
visible=1 r_valid=1
tiemestamp=1858400227
Triangle pressed
u [443.127686]
v [282.977173]
r [9.432184]
projectionx [0.229365]
projectiony [-0.080663]
distance [1285.757446]
visible=1 r_valid=1
tiemestamp=1858683554
Triangle pressed
u [447.493805]
v [285.821014]
r [8.890385]
projectionx [0.237465]
projectiony [-0.085939]
distance [1364.114258]
visible=1 r_valid=1
tiemestamp=1858916672
Triangle pressed
u [447.327820]
v [279.390198]
r [7.987894]
projectionx [0.237157]
projectiony [-0.074008]
distance [1518.235107]
visible=1 r_valid=1
tiemestamp=1859366488
Triangle pressed
u [446.239929]
v [278.633667]
r [7.527963]
projectionx [0.235139]
projectiony [-0.072604]
distance [1610.993652]
visible=1 r_valid=1
tiemestamp=1859683058
Triangle pressed
u [447.631439]
v [277.551575]
r [7.298936]
projectionx [0.237721]
projectiony [-0.070597]
distance [1661.543579]
visible=1 r_valid=1
tiemestamp=1859949639
Triangle pressed
u [447.413574]
v [274.575653]
r [6.932533]
projectionx [0.237316]
projectiony [-0.065075]
distance [1749.360596]
visible=1 r_valid=1
tiemestamp=1860232971
Triangle pressed
u [447.619263]
v [271.980255]
r [6.581963]
projectionx [0.237698]
projectiony [-0.060260]
distance [1842.535645]
visible=1 r_valid=1
tiemestamp=1860566060
Triangle pressed
u [446.398590]
v [269.859192]
r [6.447278]
projectionx [0.235433]
projectiony [-0.056325]
distance [1881.026611]
visible=1 r_valid=1
tiemestamp=1860782653
Triangle pressed
u [448.356293]
v [269.602325]
r [6.319905]
projectionx [0.239065]
projectiony [-0.055848]
distance [1918.937134]
visible=1 r_valid=1
tiemestamp=1861082429
Triangle pressed
u [447.650391]
v [266.737183]
r [6.123670]
projectionx [0.237756]
projectiony [-0.050533]
distance [1980.430176]
visible=1 r_valid=1
tiemestamp=1861415768
Unloading modules
unload gem module return 0
unload camera module return 0
more to come....
I have updated libgem, added libspurs and 2 samples to psl1ght
My repository
https://github.com/bigboss-ps3dev/PSL1GHT
Output from gemsample
Waiting for connection...
Receiving data... (0x00012200/0x00051b90)
Launching...
Loading modules
laod camera module return 0
load gem module return 0
sysSpuInitialize return 0
sysThreadGetId return 0 ppu_thread_id 14500e1
sysThreadGetPriority return 0 ppu_prio 1001
Initializing spurs
Initializing spurs attribute
Setting name prefix
Initializing with attribute
SPURS 5 spu threads availables
SPU Number:0 SPU Thread ID:400100
SPU Number:1 SPU Thread ID:1400100
SPU Number:2 SPU Thread ID:2400100
SPU Number:3 SPU Thread ID:3400100
SPU Number:4 SPU Thread ID:4400100
checking SpursInfo
SpursInfo:
nSpus=5
spuGroupPriority=250
ppuThreadPriority=1000
exitIfNoWork=1
namePrefix=gemsample
SPU Number:0 SPU Thread ID:400100
SPU Number:1 SPU Thread ID:1400100
SPU Number:2 SPU Thread ID:2400100
SPU Number:3 SPU Thread ID:3400100
SPU Number:4 SPU Thread ID:4400100
SPURS initialized correctly!!!
return from GemGetMemorySize 120000 size in bytes needed for move device to init libgem
preparing GemAttribute structure with sprus and memory stuff is very important align correctly spurs structure
calling GemInit with GemAttribute structure version=2 max_connect=1 spurs=40000480 memory_ptr=42100010
return from GemInit 0
GemPrepareCamera return 0 exposure set to 128 and quality to 0.5
GemReset return 0
sysMemContainerCreate() for camera container returned 0
cameraInit() returned 0
Buffer at 00000000
Buffer at 00000000
Buffer at 00000000
Found me an eye, arrr!
cameraOpenEx returned 00000000
Video dimensions: 640x480
Buffer at 30012800
pbuf0 Buffer at 00000000
pbuf0 Buffer at 00000000
camInf.info_ver 101
Setting CameraReadEx 30012800 buffer to cameraInfoex buffer
GemPrepareCamera return 0 exposure set to 128 and quality to 0.5 before cameraStart
lets go!! It's time to look your face in Sony Bravia :P
cameraStart return 0
Move pressed
Cross pressed
X,Y,Z position (mm) 189.509033 -434.033752 1296.131104
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
Cross pressed
X,Y,Z position (mm) 205.927002 -436.941956 1308.244629
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
Cross pressed
X,Y,Z position (mm) 480.563812 -408.114563 1329.933350
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
Cross pressed
X,Y,Z position (mm) 451.881927 -410.955933 1318.307007
accelerometer device coordinates [6.500000,7.700000,103.000000,1.000000]
T pressed value 3
Frame 37710 center of the sphere in world coordinates 225.594498 -426.935089 1311.220947 1.000000
T pressed value 65
Frame 37784 center of the sphere in world coordinates 234.835403 -410.534790 1307.632690 1.000000
T pressed value 56
Frame 37830 center of the sphere in world coordinates 257.285767 -395.657898 1304.284424 1.000000
T pressed value 40
Frame 37870 center of the sphere in world coordinates 184.035355 -413.298737 1293.195068 1.000000
T pressed value 28
Frame 37913 center of the sphere in world coordinates -25.703981 -418.746521 1424.280518 1.000000
T pressed value 34
Frame 37954 center of the sphere in world coordinates -150.024338 -483.764923 1466.980103 1.000000
T pressed value 3
Frame 37996 center of the sphere in world coordinates -139.128952 -504.165009 1442.249023 1.000000
T pressed value 56
Frame 38022 center of the sphere in world coordinates -135.642822 -500.102112 1434.872437 1.000000
T pressed value 6
Frame 38046 center of the sphere in world coordinates -132.609375 -498.069946 1420.702271 1.000000
T pressed value 82
Frame 38091 center of the sphere in world coordinates -118.836090 -498.801636 1414.320679 1.000000
T pressed value 53
Frame 38262 center of the sphere in world coordinates 219.987030 -379.421387 1404.661133 1.000000
T pressed value 10
Frame 38472 center of the sphere in world coordinates 323.159851 -448.891632 1547.447510 1.000000
T pressed value 26
Frame 38831 center of the sphere in world coordinates 522.609131 -434.194733 1562.819214 1.000000
T pressed value 8
Frame 38886 center of the sphere in world coordinates 510.464722 -425.098969 1531.408203 1.000000
Triangle pressed
u [467.616608]
v [243.786667]
r [7.523668]
projectionx [0.274799]
projectiony [-0.007953]
distance [1611.913208]
visible=1 r_valid=1
tiemestamp=1831793693
Triangle pressed
u [374.323914]
v [255.018234]
r [7.731226]
projectionx [0.101714]
projectiony [-0.028791]
distance [1568.638672]
visible=1 r_valid=1
tiemestamp=1834009472
Triangle pressed
u [417.485352]
v [243.696060]
r [7.827722]
projectionx [0.181791]
projectiony [-0.007785]
distance [1549.301392]
visible=1 r_valid=1
tiemestamp=1835225555
Triangle pressed
u [458.676208]
v [247.511475]
r [7.927076]
projectionx [0.258212]
projectiony [-0.014864]
distance [1529.883179]
visible=1 r_valid=1
tiemestamp=1836075268
Triangle pressed
u [475.832306]
v [252.331787]
r [7.865773]
projectionx [0.290041]
projectiony [-0.023807]
distance [1541.806519]
visible=1 r_valid=1
tiemestamp=1836741731
Triangle pressed
u [485.739349]
v [256.604187]
r [7.828753]
projectionx [0.308422]
projectiony [-0.031733]
distance [1549.097290]
visible=1 r_valid=1
tiemestamp=1837424876
Triangle pressed
u [494.324524]
v [259.002686]
r [7.882169]
projectionx [0.324350]
projectiony [-0.036183]
distance [1538.599487]
visible=1 r_valid=1
tiemestamp=1838124604
Triangle pressed
u [505.946564]
v [267.037445]
r [7.904655]
projectionx [0.345912]
projectiony [-0.051090]
distance [1534.222534]
visible=1 r_valid=1
tiemestamp=1838824246
Triangle pressed
u [515.426575]
v [277.453888]
r [7.867825]
projectionx [0.363500]
projectiony [-0.070415]
distance [1541.404663]
visible=1 r_valid=1
tiemestamp=1839690729
Triangle pressed
u [521.867493]
v [291.747559]
r [7.855508]
projectionx [0.375450]
projectiony [-0.096934]
distance [1543.821289]
visible=1 r_valid=1
tiemestamp=1840573715
Triangle pressed
u [523.607788]
v [300.297150]
r [7.867825]
projectionx [0.378679]
projectiony [-0.112796]
distance [1541.404663]
visible=1 r_valid=1
tiemestamp=1841906582
Triangle pressed
u [515.597290]
v [275.254120]
r [7.760409]
projectionx [0.363817]
projectiony [-0.066334]
distance [1562.739868]
visible=1 r_valid=1
tiemestamp=1842589508
Triangle pressed
u [502.364777]
v [261.510590]
r [7.853453]
projectionx [0.339267]
projectiony [-0.040836]
distance [1544.225220]
visible=1 r_valid=1
tiemestamp=1842989369
Triangle pressed
u [460.853729]
v [242.027481]
r [7.995967]
projectionx [0.262252]
projectiony [-0.004689]
distance [1516.702148]
visible=1 r_valid=1
tiemestamp=1843489242
Triangle pressed
u [432.043274]
v [235.523392]
r [8.025161]
projectionx [0.208800]
projectiony [0.007378]
distance [1511.184692]
visible=1 r_valid=1
tiemestamp=1843839141
Triangle pressed
u [406.969330]
v [215.424347]
r [8.167543]
projectionx [0.162281]
projectiony [0.044667]
distance [1484.840576]
visible=1 r_valid=1
tiemestamp=1844322311
Triangle pressed
u [380.524200]
v [214.097504]
r [8.175434]
projectionx [0.113217]
projectiony [0.047129]
distance [1483.407471]
visible=1 r_valid=1
tiemestamp=1844855363
Triangle pressed
u [407.755707]
v [227.469681]
r [8.104139]
projectionx [0.163740]
projectiony [0.022320]
distance [1496.457520]
visible=1 r_valid=1
tiemestamp=1845171952
Triangle pressed
u [441.074799]
v [243.503540]
r [8.030184]
projectionx [0.225556]
projectiony [-0.007428]
distance [1510.239502]
visible=1 r_valid=1
tiemestamp=1845455027
Triangle pressed
u [471.704102]
v [261.234985]
r [7.781185]
projectionx [0.282382]
projectiony [-0.040325]
distance [1558.567261]
visible=1 r_valid=1
tiemestamp=1845804868
Triangle pressed
u [493.436279]
v [285.374908]
r [7.687237]
projectionx [0.322702]
projectiony [-0.085111]
distance [1577.614990]
visible=1 r_valid=1
tiemestamp=1846371549
Triangle pressed
u [481.684326]
v [268.126495]
r [7.666198]
projectionx [0.300899]
projectiony [-0.053110]
distance [1581.944580]
visible=1 r_valid=1
tiemestamp=1847037968
Triangle pressed
u [451.177032]
v [236.552795]
r [7.835966]
projectionx [0.244299]
projectiony [0.005468]
distance [1547.671387]
visible=1 r_valid=1
tiemestamp=1847870924
Triangle pressed
u [439.619263]
v [226.912308]
r [7.913836]
projectionx [0.222856]
projectiony [0.023354]
distance [1532.442749]
visible=1 r_valid=1
tiemestamp=1848687293
Triangle pressed
u [431.101837]
v [226.425247]
r [7.954504]
projectionx [0.207053]
projectiony [0.024257]
distance [1524.608154]
visible=1 r_valid=1
tiemestamp=1849287046
Triangle pressed
u [415.781769]
v [230.620239]
r [8.017118]
projectionx [0.178630]
projectiony [0.016475]
distance [1512.700684]
visible=1 r_valid=1
tiemestamp=1849953468
Triangle pressed
u [396.752502]
v [239.167206]
r [8.079232]
projectionx [0.143326]
projectiony [0.000617]
distance [1501.070923]
visible=1 r_valid=1
tiemestamp=1850886468
Triangle pressed
u [439.451355]
v [247.016159]
r [8.085217]
projectionx [0.222544]
projectiony [-0.013945]
distance [1499.959961]
visible=1 r_valid=1
tiemestamp=1851619412
Triangle pressed
u [449.005798]
v [250.121674]
r [8.072244]
projectionx [0.240270]
projectiony [-0.019706]
distance [1502.370483]
visible=1 r_valid=1
tiemestamp=1852535657
Triangle pressed
u [426.747223]
v [241.951523]
r [8.129959]
projectionx [0.198974]
projectiony [-0.004548]
distance [1491.704956]
visible=1 r_valid=1
tiemestamp=1853435393
Triangle pressed
u [417.064728]
v [235.196320]
r [8.006046]
projectionx [0.181011]
projectiony [0.007985]
distance [1514.792725]
visible=1 r_valid=1
tiemestamp=1854118583
Triangle pressed
u [431.997528]
v [245.086334]
r [8.540620]
projectionx [0.208715]
projectiony [-0.010364]
distance [1419.979004]
visible=1 r_valid=1
tiemestamp=1854701741
Triangle pressed
u [441.774719]
v [259.114746]
r [8.790345]
projectionx [0.226855]
projectiony [-0.036391]
distance [1379.638672]
visible=1 r_valid=1
tiemestamp=1855251396
Triangle pressed
u [446.370483]
v [267.522522]
r [9.159265]
projectionx [0.235381]
projectiony [-0.051990]
distance [1324.069214]
visible=1 r_valid=1
tiemestamp=1855701256
Triangle pressed
u [445.791107]
v [279.648895]
r [9.489860]
projectionx [0.234306]
projectiony [-0.074488]
distance [1277.943115]
visible=1 r_valid=1
tiemestamp=1856167655
Triangle pressed
u [442.675964]
v [279.683411]
r [9.940524]
projectionx [0.228527]
projectiony [-0.074552]
distance [1220.006104]
visible=1 r_valid=1
tiemestamp=1856684264
Triangle pressed
u [427.323761]
v [287.231140]
r [10.420423]
projectionx [0.200044]
projectiony [-0.088555]
distance [1163.820435]
visible=1 r_valid=1
tiemestamp=1857200662
Triangle pressed
u [413.394775]
v [295.300568]
r [10.901438]
projectionx [0.174202]
projectiony [-0.103526]
distance [1112.468018]
visible=1 r_valid=1
tiemestamp=1857817071
Triangle pressed
u [422.021118]
v [291.990326]
r [10.733618]
projectionx [0.190206]
projectiony [-0.097385]
distance [1129.861328]
visible=1 r_valid=1
tiemestamp=1858116898
Triangle pressed
u [434.123077]
v [283.060028]
r [10.246875]
projectionx [0.212659]
projectiony [-0.080816]
distance [1183.531616]
visible=1 r_valid=1
tiemestamp=1858400227
Triangle pressed
u [443.127686]
v [282.977173]
r [9.432184]
projectionx [0.229365]
projectiony [-0.080663]
distance [1285.757446]
visible=1 r_valid=1
tiemestamp=1858683554
Triangle pressed
u [447.493805]
v [285.821014]
r [8.890385]
projectionx [0.237465]
projectiony [-0.085939]
distance [1364.114258]
visible=1 r_valid=1
tiemestamp=1858916672
Triangle pressed
u [447.327820]
v [279.390198]
r [7.987894]
projectionx [0.237157]
projectiony [-0.074008]
distance [1518.235107]
visible=1 r_valid=1
tiemestamp=1859366488
Triangle pressed
u [446.239929]
v [278.633667]
r [7.527963]
projectionx [0.235139]
projectiony [-0.072604]
distance [1610.993652]
visible=1 r_valid=1
tiemestamp=1859683058
Triangle pressed
u [447.631439]
v [277.551575]
r [7.298936]
projectionx [0.237721]
projectiony [-0.070597]
distance [1661.543579]
visible=1 r_valid=1
tiemestamp=1859949639
Triangle pressed
u [447.413574]
v [274.575653]
r [6.932533]
projectionx [0.237316]
projectiony [-0.065075]
distance [1749.360596]
visible=1 r_valid=1
tiemestamp=1860232971
Triangle pressed
u [447.619263]
v [271.980255]
r [6.581963]
projectionx [0.237698]
projectiony [-0.060260]
distance [1842.535645]
visible=1 r_valid=1
tiemestamp=1860566060
Triangle pressed
u [446.398590]
v [269.859192]
r [6.447278]
projectionx [0.235433]
projectiony [-0.056325]
distance [1881.026611]
visible=1 r_valid=1
tiemestamp=1860782653
Triangle pressed
u [448.356293]
v [269.602325]
r [6.319905]
projectionx [0.239065]
projectiony [-0.055848]
distance [1918.937134]
visible=1 r_valid=1
tiemestamp=1861082429
Triangle pressed
u [447.650391]
v [266.737183]
r [6.123670]
projectionx [0.237756]
projectiony [-0.050533]
distance [1980.430176]
visible=1 r_valid=1
tiemestamp=1861415768
Unloading modules
unload gem module return 0
unload camera module return 0
more to come....
Sunday, 21 August 2011
kinect psl1ght video stream done
:) video rgb output streaming on my Bravia. Stream for video endpoint done.
Next i need to fix depth endpoint don't get valid frames by now...
Kinect Driver for PlayStation 3
Copyright (C) 2010,2011 Antonio José Ramos Márquez aka bigboss
Creating a send_sema semaforo...
Creating a send_cmd mutex...
Mutex 2231383040 is created.
initializing event queue attr
Event queue created with id=(0x000000008D003500)
Function name kinectSetNotifyEventQueue
event port created with id 234894848
event port connected to queue
Function name kinect_probe dev_id=33
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_MOTOR idProduct b002
Function name kinect_attach dev_id=33
Getting device descriptor
Function name nuimotor_attach dev_id=33
Kinect NUI_MOTOR detected
Getting configuration descriptor
Number of interfaces 1
Getting interface descriptor
Verifying number of endpoints
Getting control endpoint descriptor for NUI_MOTOR 0
tryng to open control endpoint 0
Function name nuimotor_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Registering kinect driver return (0)
Function name nuimotor_control_done result=0x0 count=0 arg=0x0
Function name nuimotor_control_transfer step=1 arg=0
Function name nuimotor_control_transfer step=2 arg=0
init motor
Sending event NUIMOTOR_READY
Function name nuimotor_control_done result=0x0 count=1 arg=0x2
Received event NUIMOTOR_READY now it's time to angle and led settings
Function name kinectSetTiltDegs
NUIMOTOR angle received to 0
NUIMOTOR angle set to 0
Function name nuimotor_control_transfer step=3 arg=0
set angle
kinectSetTiltDegs return 0
Function name kinectSetLed
Function name nuimotor_control_transfer step=4 arg=1
Function name nuimotor_control_done result=0x0 count=0 arg=0x3
set led
motor ready time to camera and audio sending NUIMOTOR_ENABLED
kinectSetLed return 0
Function name nuimotor_control_done result=0x0 count=0 arg=0x4
Nuimotor initialized set angle and led set to red done...
Function name kinect_probe dev_id=34
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_AUDIO idProduct ad02
Function name kinect_attach dev_id=34
Getting device descriptor
Function name nuiaudio_attach dev_id=34
Kinect NUI_AUDIO detected
Getting configuration descriptor
Verifying number of endpoints 4
Getting control endpoint descriptor for NUI_AUDIO 1
Function name nuiaudio_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Function name nuiaudio_control_done result=0x0 count=0 arg=0x0
Function name nuiaudio_control_transfer step=1 arg=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
Sending event NUIAUDIO_READY
Received event NUIAUDIO_READY TODO audio initialization and isoc stuff
Function name kinect_probe dev_id=35
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_CAMERA idProduct ae02
Function name kinect_attach dev_id=35
Getting device descriptor
Function name nuicamera_attach dev_id=35
Kinect NUI_CAMERA detected
Getting configuration descriptor
Verifying number of endpoints 2
Getting control endpoint descriptor for NUI_CAMERA 2
Verifying endpoint 129
Found video camera endpoint 129
Getting endpoint for NUI_CAMERA color pipe_id3
Verifying endpoint 130
Found depth camera endpoint 130
Getting endpoint for NUI_CAMERA depth pipe_id 4
Function name nuicamera_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Function name nuicamera_control_done result=0x0 count=0 arg=0x0
Function name nuicamera_control_transfer step=1 arg=0
Sending event NUICAMERA_READY
Received event NUICAMERA_READY
Function name kinect_find_video_mode
Function name kinectSetVideoMode
Function name kinect_find_depth_mode
Function name kinectSetDepthMode
Function name kinect_find_video_mode
Function name kinect_find_depth_mode
local rgb buffer 50000420
local depth buffer 52100870
Function name kinectSetVideoBuffer buf=50000420
Function name stream_setbuf
Function name kinectSetDepthBuffer buf=52100870
Function name stream_setbuf
Unhandled event: 00000122
startdepth
Function name kinectStartDepth
Function name kinect_find_depth_mode
Function name kinect_find_depth_mode
Function name stream_init
framesize 422400 last_pkt_size 1132 pkt_size 1748
Function name write_register reg=0105 <= data=00
Write Reg 0x0105 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0000 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0105 <= 0x00
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad len 0001 != 0006
send_cmd return FFFFFFFF
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0006 <= 0x00
Function name write_register reg=0012 <= data=03
Write Reg 0x0012 <= 0x03
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0002 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0012 <= 0x03
Function name write_register reg=0013 <= data=01
Write Reg 0x0013 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0003 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0013 <= 0x01
Function name write_register reg=0014 <= data=1e
Write Reg 0x0014 <= 0x1e
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0004 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0014 <= 0x1e
Function name write_register reg=0006 <= data=02
Write Reg 0x0006 <= 0x02
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0006 <= 0x02
Function name read_register reg=0006
Read Reg 0x0006 =>
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0002 tag=0006 len=0002: 0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=22 arg=0x1
Function name setCount count=22 result=0
Function name getCount
actual_len 22
send_cmd: Bad cmd 300 != 200
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0002 tag=0006 len=0002: 0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x1
Function name setCount count=12 result=0
Function name getCount
actual_len 12
send_cmd return 4
Read Reg 0x0006 => 0x100
Function name write_register reg=0017 <= data=00
Write Reg 0x0017 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0007 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0007 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0017 <= 0x00
Function name kinectStartVideo
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
Function name kinect_find_video_mode
Function name stream_init
framesize 614400 last_pkt_size 24 pkt_size 1908
Function name write_register reg=000c <= data=05
Write Reg 0x000c <= 0x05
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad tag 0700 != 0800
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x000c <= 0x05
Function name write_register reg=000d <= data=01
Write Reg 0x000d <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0009 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x000d <= 0x01
Function name write_register reg=000e <= data=0f
Write Reg 0x000e <= 0x0f
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000a len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x000e <= 0x0f
Function name write_register reg=0005 <= data=01
Write Reg 0x0005 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000b len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000b len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0005 <= 0x01
Function name write_register reg=0047 <= data=00
Write Reg 0x0047 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000c len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0b00 != 0c00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000c len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0047 <= 0x00
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 1 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 3d3ea7f2
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 11 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 2 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 46c5b40a
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
usb_transfer depth enabled
usb_transfer depth enabled
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 3 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 54d34c47
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 51 packets in buf (323 total), resyncing...
[Stream 80] Inconsistent flag 81 with 52 packets in buf (323 total), resyncing...
[Stream 70] Inconsistent flag 82 with 7 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 4 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 5a4dc008
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 10 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 5 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 5e5a585f
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 2 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 6 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 676770a9
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 7 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 6c2af6b5
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 8 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 712b76a8
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 9 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 75eefcb4
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 10 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 7fb302b3
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 11 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 88832116
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 12 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 8d46a722
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 11 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 13 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 92472715
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 2 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 13 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 14 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 9b174578
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 50 packets in buf (323 total), resyncing...
fram_size 614400 valid_frames 15 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 9fdacb84
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 16 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS a4db4b77
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 50 packets in buf (323 total), resyncing...
[Stream 80] Inconsistent flag 81 with 51 packets in buf (323 total), resyncing...
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 17 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS a99ed183
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 18 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS ae62578f
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 19 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS b2abe9cd
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 20 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS b76f6fd9
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 14 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 21 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS c5400e2f
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 22 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS ca7d8809
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 52 packets in buf (323 total), resyncing...
[Stream 80] Inconsistent flag 81 with 53 packets in buf (323 total), resyncing...
Function name kinectStopDepth
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000d len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0c00 != 0d00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000d len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0006 <= 0x00
Function name stream_freebufs
Function name kinectStopVideo
Function name write_register reg=0005 <= data=00
Write Reg 0x0005 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000e len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0d00 != 0e00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000e len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad len 0001 != 0006
send_cmd return FFFFFFFF
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000e len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0005 <= 0x00
Function name stream_freebufs
Exiting for real.
more to come...
Next i need to fix depth endpoint don't get valid frames by now...
Kinect Driver for PlayStation 3
Copyright (C) 2010,2011 Antonio José Ramos Márquez aka bigboss
Creating a send_sema semaforo...
Creating a send_cmd mutex...
Mutex 2231383040 is created.
initializing event queue attr
Event queue created with id=(0x000000008D003500)
Function name kinectSetNotifyEventQueue
event port created with id 234894848
event port connected to queue
Function name kinect_probe dev_id=33
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_MOTOR idProduct b002
Function name kinect_attach dev_id=33
Getting device descriptor
Function name nuimotor_attach dev_id=33
Kinect NUI_MOTOR detected
Getting configuration descriptor
Number of interfaces 1
Getting interface descriptor
Verifying number of endpoints
Getting control endpoint descriptor for NUI_MOTOR 0
tryng to open control endpoint 0
Function name nuimotor_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Registering kinect driver return (0)
Function name nuimotor_control_done result=0x0 count=0 arg=0x0
Function name nuimotor_control_transfer step=1 arg=0
Function name nuimotor_control_transfer step=2 arg=0
init motor
Sending event NUIMOTOR_READY
Function name nuimotor_control_done result=0x0 count=1 arg=0x2
Received event NUIMOTOR_READY now it's time to angle and led settings
Function name kinectSetTiltDegs
NUIMOTOR angle received to 0
NUIMOTOR angle set to 0
Function name nuimotor_control_transfer step=3 arg=0
set angle
kinectSetTiltDegs return 0
Function name kinectSetLed
Function name nuimotor_control_transfer step=4 arg=1
Function name nuimotor_control_done result=0x0 count=0 arg=0x3
set led
motor ready time to camera and audio sending NUIMOTOR_ENABLED
kinectSetLed return 0
Function name nuimotor_control_done result=0x0 count=0 arg=0x4
Nuimotor initialized set angle and led set to red done...
Function name kinect_probe dev_id=34
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_AUDIO idProduct ad02
Function name kinect_attach dev_id=34
Getting device descriptor
Function name nuiaudio_attach dev_id=34
Kinect NUI_AUDIO detected
Getting configuration descriptor
Verifying number of endpoints 4
Getting control endpoint descriptor for NUI_AUDIO 1
Function name nuiaudio_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Function name nuiaudio_control_done result=0x0 count=0 arg=0x0
Function name nuiaudio_control_transfer step=1 arg=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
Sending event NUIAUDIO_READY
Received event NUIAUDIO_READY TODO audio initialization and isoc stuff
Function name kinect_probe dev_id=35
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_CAMERA idProduct ae02
Function name kinect_attach dev_id=35
Getting device descriptor
Function name nuicamera_attach dev_id=35
Kinect NUI_CAMERA detected
Getting configuration descriptor
Verifying number of endpoints 2
Getting control endpoint descriptor for NUI_CAMERA 2
Verifying endpoint 129
Found video camera endpoint 129
Getting endpoint for NUI_CAMERA color pipe_id3
Verifying endpoint 130
Found depth camera endpoint 130
Getting endpoint for NUI_CAMERA depth pipe_id 4
Function name nuicamera_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Function name nuicamera_control_done result=0x0 count=0 arg=0x0
Function name nuicamera_control_transfer step=1 arg=0
Sending event NUICAMERA_READY
Received event NUICAMERA_READY
Function name kinect_find_video_mode
Function name kinectSetVideoMode
Function name kinect_find_depth_mode
Function name kinectSetDepthMode
Function name kinect_find_video_mode
Function name kinect_find_depth_mode
local rgb buffer 50000420
local depth buffer 52100870
Function name kinectSetVideoBuffer buf=50000420
Function name stream_setbuf
Function name kinectSetDepthBuffer buf=52100870
Function name stream_setbuf
Unhandled event: 00000122
startdepth
Function name kinectStartDepth
Function name kinect_find_depth_mode
Function name kinect_find_depth_mode
Function name stream_init
framesize 422400 last_pkt_size 1132 pkt_size 1748
Function name write_register reg=0105 <= data=00
Write Reg 0x0105 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0000 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0105 <= 0x00
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad len 0001 != 0006
send_cmd return FFFFFFFF
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0006 <= 0x00
Function name write_register reg=0012 <= data=03
Write Reg 0x0012 <= 0x03
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0002 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0012 <= 0x03
Function name write_register reg=0013 <= data=01
Write Reg 0x0013 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0003 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0013 <= 0x01
Function name write_register reg=0014 <= data=1e
Write Reg 0x0014 <= 0x1e
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0004 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x0014 <= 0x1e
Function name write_register reg=0006 <= data=02
Write Reg 0x0006 <= 0x02
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0006 <= 0x02
Function name read_register reg=0006
Read Reg 0x0006 =>
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0002 tag=0006 len=0002: 0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=22 arg=0x1
Function name setCount count=22 result=0
Function name getCount
actual_len 22
send_cmd: Bad cmd 300 != 200
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0002 tag=0006 len=0002: 0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x1
Function name setCount count=12 result=0
Function name getCount
actual_len 12
send_cmd return 4
Read Reg 0x0006 => 0x100
Function name write_register reg=0017 <= data=00
Write Reg 0x0017 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0007 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0007 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0017 <= 0x00
Function name kinectStartVideo
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
Function name kinect_find_video_mode
Function name stream_init
framesize 614400 last_pkt_size 24 pkt_size 1908
Function name write_register reg=000c <= data=05
Write Reg 0x000c <= 0x05
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad tag 0700 != 0800
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x000c <= 0x05
Function name write_register reg=000d <= data=01
Write Reg 0x000d <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0009 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x000d <= 0x01
Function name write_register reg=000e <= data=0f
Write Reg 0x000e <= 0x0f
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000a len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Write Reg OK 0x000e <= 0x0f
Function name write_register reg=0005 <= data=01
Write Reg 0x0005 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000b len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000b len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0005 <= 0x01
Function name write_register reg=0047 <= data=00
Write Reg 0x0047 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000c len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0b00 != 0c00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000c len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0047 <= 0x00
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 1 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 3d3ea7f2
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 11 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 2 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 46c5b40a
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
usb_transfer depth enabled
usb_transfer depth enabled
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 3 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 54d34c47
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 51 packets in buf (323 total), resyncing...
[Stream 80] Inconsistent flag 81 with 52 packets in buf (323 total), resyncing...
[Stream 70] Inconsistent flag 82 with 7 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 4 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 5a4dc008
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 10 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 5 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 5e5a585f
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 2 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 6 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 676770a9
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 7 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 6c2af6b5
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 8 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 712b76a8
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 9 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 75eefcb4
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 10 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 7fb302b3
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 11 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 88832116
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 12 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 8d46a722
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 11 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 13 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 92472715
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 2 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 13 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 14 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 9b174578
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 50 packets in buf (323 total), resyncing...
fram_size 614400 valid_frames 15 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS 9fdacb84
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 16 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS a4db4b77
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 50 packets in buf (323 total), resyncing...
[Stream 80] Inconsistent flag 81 with 51 packets in buf (323 total), resyncing...
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 17 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS a99ed183
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 18 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS ae62578f
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 19 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS b2abe9cd
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
fram_size 614400 valid_frames 20 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS b76f6fd9
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 9 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 5 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 6 packets in buf (242 total), resyncing...
[Stream 70] Inconsistent flag 82 with 14 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 21 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS c5400e2f
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 70] Inconsistent flag 82 with 8 packets in buf (242 total), resyncing...
fram_size 614400 valid_frames 22 flag 85
Got color frame of size 614400/614400, 323/323 packets arrived, TS ca7d8809
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
video buffer ready
[Stream 80] Inconsistent flag 85 with 52 packets in buf (323 total), resyncing...
[Stream 80] Inconsistent flag 81 with 53 packets in buf (323 total), resyncing...
Function name kinectStopDepth
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000d len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0c00 != 0d00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000d len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0006 <= 0x00
Function name stream_freebufs
Function name kinectStopVideo
Function name write_register reg=0005 <= data=00
Write Reg 0x0005 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000e len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0d00 != 0e00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000e len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad len 0001 != 0006
send_cmd return FFFFFFFF
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=000e len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd return 2
Write Reg OK 0x0005 <= 0x00
Function name stream_freebufs
Exiting for real.
more to come...
Monday, 15 August 2011
kinect psl1ght work in progress
nuimotor: i can move it, get tilt status, set led, all fine. One only control endpoint.
nuicamera: i can write and read commands using control endpoint some command to start video and depth sometimes fail i must implement retry for write_register and send_cmd stuff. Two additional endpoints enabled for depth and video.Next step will be learn to parsing streams. I must rewrite some stuff for isoc stream and processing packets.
nuiaudio: 1 control endpoint and four exta endpoint detected. Todo almost everything for audio, i have some code from eyetoy in ps2 perhaps i can port it.
Output from actual sample driver code using psl1ght. Libfreenect was a good start point however usb stuff is something different in PlayStation:
PS3Load v0.1
Waiting for connection...
Receiving data... (0x00010687/0x00041d60)
Launching...
Initializing pad...
Function name kinectInit
Kinect Driver for PlayStation 3
Copyright (C) 2010,2011 Antonio José Ramos Márquez aka bigboss
Creating a send_sema semaforo...
Creating a send_cmd mutex...
Mutex 2231383040 is created.
initializing event queue attr
Event queue created with id=(0x000000008D003500)
Function name kinectSetNotifyEventQueue
event port created with id 234894848
event port connected to queue
Function name kinect_probe dev_id=4
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_MOTOR idProduct b002
Function name kinect_attach dev_id=4
Getting device descriptor
Function name nuimotor_attach dev_id=4
Kinect NUI_MOTOR detected
Getting configuration descriptor
Number of interfaces 1
Getting interface descriptor
Verifying number of endpoints
Getting control endpoint descriptor for NUI_MOTOR 0
tryng to open control endpoint 0
Function name nuimotor_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Function name kinect_probe dev_id=12
USB device probe for kinect getting device descriptor
init motor
Getting endpoint for NUI_CAMERA depth pipe_id 4
Function name nuicamera_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Registering kinect driver return (0)
Sending event NUICAMERA_READY
Function name kinectSetTiltDegs
NUIMOTOR angle received to 20
NUIMOTOR angle set to 40
Function name nuimotor_control_transfer step=3 arg=40
set angle
kinectSetTiltDegs return 0
Function name kinectSetLed
Function name nuimotor_control_transfer step=4 arg=1
set led
motor ready time to camera and audio sending NUIMOTOR_ENABLED
kinectSetLed return 0
Function name kinectUpdateTiltState
Sending event NUIAUDIO_READY
updating tilt state
kinectUpdateTiltState return 0
Function name nuimotor_control_done result=0x0 count=0 arg=0x3
Function name kinectGetTiltStatus
tilt status=0
Function name kinectGetTiltDegs
Function name nuimotor_control_done result=0x0 count=0 arg=0x4
Function name kinectGetMksAccel
Received event NUICAMERA_READY
Nuimotor initialized set angle and led set to red done...
Function name kinect_find_video_mode
Function name nuimotor_control_done result=0x0 count=10 arg=0x5
Function name kinect_find_depth_mode
Function name kinectSetDepthMode
Function name kinect_find_video_mode
local rgb buffer 50000830
Function name kinectSetVideoBuffer buf=50000830
Function name stream_setbuf
Received event NUIAUDIO_READY TODO audio initialization and isoc stuff
Function name kinectStartDepth
Function name kinect_find_depth_mode
Function name kinect_find_depth_mode
Function name stream_init
Function name usb_transfer type=1
Function name write_register reg=0105 <= data=00
Write Reg 0x0105 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0000 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0012 <= data=03
Write Reg 0x0012 <= 0x03
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0002 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0013 <= data=01
Write Reg 0x0013 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0003 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Control cmd=0003 tag=0004 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0006 <= data=02
Write Reg 0x0006 <= 0x02
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
send_cmd returned 0 [0000 f000], 0000 expected
Function name write_register reg=0017 <= data=00
Write Reg 0x0017 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name kinectStartVideo
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
Function name kinect_find_video_mode
Function name stream_init
Function name usb_transfer type=0
Function name write_register reg=000c <= data=05
Write Reg 0x000c <= 0x05
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0006 len=0004: 0
Function name stream_done type=0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad tag 0500 != 0600
send_cmd return FFFFFFFF
Function name write_register reg=000d <= data=01
Write Reg 0x000d <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0006 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=000e <= data=0f
Write Reg 0x000e <= 0x0f
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0007 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0005 <= data=01
Write Reg 0x0005 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
send_cmd returned 0 [0000 f000], 0000 expected
Function name write_register reg=0047 <= data=00
Write Reg 0x0047 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name kinectStopDepth
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0009 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0800 != 0900
send_cmd return FFFFFFFF
Function name stream_freebufs
Function name kinectStopVideo
Function name write_register reg=0005 <= data=00
Write Reg 0x0005 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0009 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name stream_freebufs
Exiting for real.
more to come
nuicamera: i can write and read commands using control endpoint some command to start video and depth sometimes fail i must implement retry for write_register and send_cmd stuff. Two additional endpoints enabled for depth and video.Next step will be learn to parsing streams. I must rewrite some stuff for isoc stream and processing packets.
nuiaudio: 1 control endpoint and four exta endpoint detected. Todo almost everything for audio, i have some code from eyetoy in ps2 perhaps i can port it.
Output from actual sample driver code using psl1ght. Libfreenect was a good start point however usb stuff is something different in PlayStation:
PS3Load v0.1
Waiting for connection...
Receiving data... (0x00010687/0x00041d60)
Launching...
Initializing pad...
Function name kinectInit
Kinect Driver for PlayStation 3
Copyright (C) 2010,2011 Antonio José Ramos Márquez aka bigboss
Creating a send_sema semaforo...
Creating a send_cmd mutex...
Mutex 2231383040 is created.
initializing event queue attr
Event queue created with id=(0x000000008D003500)
Function name kinectSetNotifyEventQueue
event port created with id 234894848
event port connected to queue
Function name kinect_probe dev_id=4
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_MOTOR idProduct b002
Function name kinect_attach dev_id=4
Getting device descriptor
Function name nuimotor_attach dev_id=4
Kinect NUI_MOTOR detected
Getting configuration descriptor
Number of interfaces 1
Getting interface descriptor
Verifying number of endpoints
Getting control endpoint descriptor for NUI_MOTOR 0
tryng to open control endpoint 0
Function name nuimotor_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Function name kinect_probe dev_id=12
USB device probe for kinect getting device descriptor
init motor
Getting endpoint for NUI_CAMERA depth pipe_id 4
Function name nuicamera_control_transfer step=0 arg=1
Set Configuration (bConfigurationValue=1)
Registering kinect driver return (0)
Sending event NUICAMERA_READY
Function name kinectSetTiltDegs
NUIMOTOR angle received to 20
NUIMOTOR angle set to 40
Function name nuimotor_control_transfer step=3 arg=40
set angle
kinectSetTiltDegs return 0
Function name kinectSetLed
Function name nuimotor_control_transfer step=4 arg=1
set led
motor ready time to camera and audio sending NUIMOTOR_ENABLED
kinectSetLed return 0
Function name kinectUpdateTiltState
Sending event NUIAUDIO_READY
updating tilt state
kinectUpdateTiltState return 0
Function name nuimotor_control_done result=0x0 count=0 arg=0x3
Function name kinectGetTiltStatus
tilt status=0
Function name kinectGetTiltDegs
Function name nuimotor_control_done result=0x0 count=0 arg=0x4
Function name kinectGetMksAccel
Received event NUICAMERA_READY
Nuimotor initialized set angle and led set to red done...
Function name kinect_find_video_mode
Function name nuimotor_control_done result=0x0 count=10 arg=0x5
Function name kinect_find_depth_mode
Function name kinectSetDepthMode
Function name kinect_find_video_mode
local rgb buffer 50000830
Function name kinectSetVideoBuffer buf=50000830
Function name stream_setbuf
Received event NUIAUDIO_READY TODO audio initialization and isoc stuff
Function name kinectStartDepth
Function name kinect_find_depth_mode
Function name kinect_find_depth_mode
Function name stream_init
Function name usb_transfer type=1
Function name write_register reg=0105 <= data=00
Write Reg 0x0105 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0000 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0001 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0012 <= data=03
Write Reg 0x0012 <= 0x03
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0002 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0013 <= data=01
Write Reg 0x0013 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0003 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Control cmd=0003 tag=0004 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0006 <= data=02
Write Reg 0x0006 <= 0x02
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
send_cmd returned 0 [0000 f000], 0000 expected
Function name write_register reg=0017 <= data=00
Write Reg 0x0017 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0005 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name kinectStartVideo
Function name kinect_get_current_video_mode
Function name kinect_find_video_mode
Function name kinect_find_video_mode
Function name stream_init
Function name usb_transfer type=0
Function name write_register reg=000c <= data=05
Write Reg 0x000c <= 0x05
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0006 len=0004: 0
Function name stream_done type=0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=20 arg=0x1
Function name setCount count=20 result=0
Function name getCount
actual_len 20
send_cmd: Bad tag 0500 != 0600
send_cmd return FFFFFFFF
Function name write_register reg=000d <= data=01
Write Reg 0x000d <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0006 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=000e <= data=0f
Write Reg 0x000e <= 0x0f
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0007 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name write_register reg=0005 <= data=01
Write Reg 0x0005 <= 0x01
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=0 arg=0x1
Function name setCount count=0 result=0
Function name getCount
actual_len 0
actual_len 0 send_cmd: Input control transfer failed (0)
send_cmd returned 0 [0000 f000], 0000 expected
Function name write_register reg=0047 <= data=00
Write Reg 0x0047 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0008 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name kinectStopDepth
Function name write_register reg=0006 <= data=00
Write Reg 0x0006 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0009 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
send_cmd: Bad tag 0800 != 0900
send_cmd return FFFFFFFF
Function name stream_freebufs
Function name kinectStopVideo
Function name write_register reg=0005 <= data=00
Write Reg 0x0005 <= 0x00
Function name send_cmd
usbdControlTransfer return 0
Control cmd=0003 tag=0009 len=0004: 0
Function name nuicamera_send_cmd_done result=0x0 count=12 arg=0x0
Function name nuicamera_send_cmd_done result=0x0 count=10 arg=0x1
Function name setCount count=10 result=0
Function name getCount
actual_len 10
Function name stream_freebufs
Exiting for real.
more to come
Wednesday, 10 August 2011
usbd at last
Finally i got usbd stuff running fine on PSL1GHT, so next step will be refactory my kinect sprx module and port it to PSL1GHT.
Time to code.
credits must go to an0nym0u5 https://github.com/an0nym0u5/PSL1GHT
Time to code.
credits must go to an0nym0u5 https://github.com/an0nym0u5/PSL1GHT
Saturday, 23 April 2011
Move.me code repository
Pc side is public now, you can get it at:
http://code.google.com/p/moveme/
PS3 side i believe that it is in closed beta by now on PSN.
More to come.
http://code.google.com/p/moveme/
PS3 side i believe that it is in closed beta by now on PSN.
More to come.
Wednesday, 2 March 2011
Sunday, 16 January 2011
gemtest sample for libgem
Today i have updated toochain,psl1ght and ps3libraries on my mac included nvidia shader stuff. A busy day xD.
After Matthew Parlane libgem commit there is no reason to add a sample for libgem in my repository and send to official psl1ght repo.
my repo:
https://github.com/bigboss-ps3dev/PSL1GHT
check https://github.com/HACKERCHANNEL/PSL1GHT when they accept changes.
Sample need PlayStation Eye and PlayStation Move.
It will track gyroscope sensor y axis and x axis and it will move camera frame with your Move device.
After Matthew Parlane libgem commit there is no reason to add a sample for libgem in my repository and send to official psl1ght repo.
my repo:
https://github.com/bigboss-ps3dev/PSL1GHT
check https://github.com/HACKERCHANNEL/PSL1GHT when they accept changes.
Sample need PlayStation Eye and PlayStation Move.
It will track gyroscope sensor y axis and x axis and it will move camera frame with your Move device.
Saturday, 15 January 2011
Firmware 3.55, psl1ght and libgem
Today i have been working on samples for libgem for psl1ght.
ps3load with udp debug support shows that it crash on sysProcessExitSpawn2, i tried including npDrmProcessExitSpawn2 from npdrm lib instead on psl1ght but with no success. You can upload self signed elf but it will return to xmb after call sysProcessExitSpawn2 or npDrmProcessExitSpawn2 by now...
Instead of install stuff from usb, i am uploading EBOOT.BIN in a USRDIR previously installed on ps3 in a prepared package, it's quicker than make pkg put on usb and install it on PS3 3.55.
About libgem it has now:
- calibrating support, Move get a hue colour and it's internally calibrated. You point directly to PlayStation Eye press Move button and it's automatically calibrated passing for all status flags.
- All move buttons(cross, circle, triangle,square, select, start, move and trigger with analog pressure) supported with readGemPad function with internal state like some libpad examples released in the past, it's good to use it for menu selections or whatever stuff that need it.
- Gyroscope on y and x axis,move xmb control like. Understand which is y and x and when it's positive or negative was fun and moving camera frame using this effect :P.
- debugPrintf function over udp for samples in 3.55 firmware
more to come...
ps3load with udp debug support shows that it crash on sysProcessExitSpawn2, i tried including npDrmProcessExitSpawn2 from npdrm lib instead on psl1ght but with no success. You can upload self signed elf but it will return to xmb after call sysProcessExitSpawn2 or npDrmProcessExitSpawn2 by now...
Instead of install stuff from usb, i am uploading EBOOT.BIN in a USRDIR previously installed on ps3 in a prepared package, it's quicker than make pkg put on usb and install it on PS3 3.55.
About libgem it has now:
- calibrating support, Move get a hue colour and it's internally calibrated. You point directly to PlayStation Eye press Move button and it's automatically calibrated passing for all status flags.
- All move buttons(cross, circle, triangle,square, select, start, move and trigger with analog pressure) supported with readGemPad function with internal state like some libpad examples released in the past, it's good to use it for menu selections or whatever stuff that need it.
- Gyroscope on y and x axis,move xmb control like. Understand which is y and x and when it's positive or negative was fun and moving camera frame using this effect :P.
- debugPrintf function over udp for samples in 3.55 firmware
more to come...
Subscribe to:
Posts (Atom)