gspca_kinect2: probe failed with error -22
Similar probing issue to #3 (even after adding the CFLAG from #6, fixing the Makefile and properly inserting the modules) with kernel 5.4.0-33-generic in Ubuntu 20.04:
[ 2876.003031] gspca_main: video_register_device err -22
[ 2876.003076] gspca_kinect2: probe of 11-2.1:1.0 failed with error -22
Details: dmesg.txt
The Kinect v2 for Windows hardware work fine in Windows 10 and the simple libk4w2 libk4w2 test script runs fine as well, while the opengl test script fails:
libk4w2/src/driver_v4l2.c:50 Cannot identify '/dev/video0'; No such file or directory
Thanks for posting.
After loading several kernel modules (including videobuf2-v4l2, videodev, videobuf2_vmalloc, videobuf2-common, videobuf2-memops), and successfully building using said make commands, I get error -22 as well on 5.6.14 on Arch Linux.
I managed to fix this :)
I can attest to your branch solving the probe issue. Could you actually use the webcam then?
Yes. See, again, here and above.
And maybe leave the issue open, since the PR is not actually merged...