Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to set the LED of K4W or 1473 device: -1 (EL6, but freenect-camtest partially works) #533

Closed
smokhov opened this issue Nov 20, 2017 · 1 comment

Comments

@smokhov
Copy link
Contributor

smokhov commented Nov 20, 2017

Hello for 1473 model I am getting for most samples (on EL6):

[root@le20 bin]# ./freenect-glview
Failed to set the LED of K4W or 1473 device: -1
Could not open device: -1
Error: Cannot get device
[root@le20 bin]# ./fakenect-record foo
Failed to set the LED of K4W or 1473 device: -1
Could not open device: -1
Error: Cannot get device

LED is flashing green.

But running freenect-camtest actually gets the frames up to a point where it appears to be choking:

...
Received depth frame at 1079763923
Received video frame at 1081775855
Received depth frame at 1081766078
Received video frame at 1083773435
Received depth frame at 1083768233
Received video frame at 1085771015
Received depth frame at 1085770388
Received video frame at 1087768595
Received depth frame at 1087772543
Received video frame at 1089766175
Received depth frame at 1089774698
Received video frame at 1091763755
Received depth frame at 1091776853
Received video frame at 1093761335
Received depth frame at 1093779008
Received video frame at 1095758915
Received depth frame at 1095781163
Received video frame at 1097756495
Received depth frame at 1097783318
Received video frame at 1099754075
Received depth frame at 1099785473
Received video frame at 1101751655
Received depth frame at 1101787628
Received video frame at 1103749235
Received depth frame at 1103789783
Received video frame at 1105746815
Received depth frame at 1105791938
Received video frame at 1107744395
Received depth frame at 1107794093
Received video frame at 1109741975
Received depth frame at 1109796248
Received video frame at 1111739555
Received depth frame at 1111798403
Received video frame at 1113737135
Received depth frame at 1113800558
Received video frame at 1115734715
Received depth frame at 1115802713
Received video frame at 1117732295
Received depth frame at 1117804868
Received video frame at 1119729875
Received depth frame at 1119807023
Received video frame at 1121727455
Received depth frame at 1121809178
Received video frame at 1123725035
Received depth frame at 1123811333
Received video frame at 1125722615
Received depth frame at 1125813488
Received video frame at 1127720195
Received depth frame at 1127815643
Received video frame at 1129717775
Received depth frame at 1129817798
Received video frame at 1131715355
Received depth frame at 1131819953
Received video frame at 1133712935
Received depth frame at 1133822108
Received video frame at 1135710515
Received depth frame at 1135824263
Received video frame at 1137708095
Received depth frame at 1137826418
Received video frame at 1139705675
Received depth frame at 1139828573
Received video frame at 1141703255
Received depth frame at 1141830728
Received video frame at 1143700835
Received depth frame at 1143832883
Received video frame at 1145698415
Received depth frame at 1145835038
Received video frame at 1147695995
Received depth frame at 1147837193
Received video frame at 1149693575
Received depth frame at 1149839348
Received video frame at 1151691155
Received depth frame at 1151841503
Received video frame at 1153688735
Received depth frame at 1153843658
Received video frame at 1155686315
Received depth frame at 1155845813
Received video frame at 1157683895
Received depth frame at 1157847968
Received video frame at 1159681475
Received depth frame at 1159850123
Received video frame at 1161679055
Received depth frame at 1161852278
Received video frame at 1163676635
Received depth frame at 1163854433
Received video frame at 1165674215
Received depth frame at 1165856588
Received video frame at 1167671795
Received depth frame at 1167858743
[Stream 80] Expected 1908 data bytes, but got 948
[Stream 80] Invalid magic 0000
Received video frame at 1169669375
[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 8 packets
[Stream 70] Lost 122 total packets in 503 frames (0.242545 lppf)
[Stream 70] Lost too many packets, resyncing...
Received video frame at 1171666955
Received depth frame at 1171863053
[Stream 70] Expected 1748 data bytes, but got 948
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 1 packets
[Stream 70] Lost 123 total packets in 504 frames (0.244048 lppf)
[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic ffff
[Stream 70] Lost 5 packets
[Stream 70] Lost 128 total packets in 504 frames (0.253968 lppf)
Received video frame at 1173664535
[Stream 70] Inconsistent flag 75 with 239 packets in buf (242 total), resyncing...
Received video frame at 1175662115
Received depth frame at 1175867363
Received video frame at 1177659695
Received depth frame at 1177869518
[Stream 80] Expected 1908 data bytes, but got 948
[Stream 80] Invalid magic 0000
Received video frame at 1179657275
Received depth frame at 1179871673
Received video frame at 1181654855
Received depth frame at 1181873828
Received video frame at 1183652435
Received depth frame at 1183875983
Received video frame at 1185650015
Received depth frame at 1185878138
Received video frame at 1187647595
Received depth frame at 1187880293
Received video frame at 1189645175
Received depth frame at 1189882448
Received video frame at 1191642755
Received depth frame at 1191884603
Received video frame at 1193640335
[Stream 70] Expected 1748 data bytes, but got 948
[Stream 70] Invalid magic ffff
[Stream 70] Expected max 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 7 packets
[Stream 70] Lost 135 total packets in 513 frames (0.263158 lppf)
[Stream 70] Lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
^CShutting down
write_register: 0x0006 <= 0x00
Received video frame at 1195637915
Received video frame at 1197635495
Received video frame at 1199633075
write_register: 0x0005 <= 0x00
Done!

Any insights?

1414 model works fine.

@smokhov
Copy link
Contributor Author

smokhov commented Dec 14, 2017

Well, following some issues here and other posts, using fwfetcher.py (patching it up a bit) to download audios.bin firmware and placing it with executables worked in the end staring with the mic one. All tests and samples worked well afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant