gspca-kinect2 icon indicating copy to clipboard operation
gspca-kinect2 copied to clipboard

gspca_kinect2: probe failed with error -22

Open BOFH2k opened this issue 5 years ago • 5 comments

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

BOFH2k avatar May 31 '20 19:05 BOFH2k

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.

thamma avatar Jun 01 '20 14:06 thamma

I managed to fix this :)

grandchild avatar Jun 05 '20 17:06 grandchild

I can attest to your branch solving the probe issue. Could you actually use the webcam then?

BOFH2k avatar Jun 12 '20 18:06 BOFH2k

Yes. See, again, here and above.

grandchild avatar Jun 12 '20 18:06 grandchild

And maybe leave the issue open, since the PR is not actually merged...

grandchild avatar Jun 12 '20 18:06 grandchild