Jump to content

v4l2 Webcam Error VIDIOC_S_INPUT: failed: Inappropriate ioctl for device


Bones558

Recommended Posts

I have a Logitech C920 webcam I am trying to use on my Radxa Zero.

I'm running Armbian 23.11.1 Bookworm 6.1.63 64-bit.

 

When I run v4l2-ctl -i /dev/video1 --list-formats to query the webcam, it errors out.

 

VIDIOC_S_INPUT: failed: Inappropriate ioctl for device
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture Multiplanar

        [0]: 'NM12' (Y/UV 4:2:0 (N-C))

 

It seems anything relying on v4l2 is also failing to work.

 

Anyone have ideas of what the issue may be?

 

Thanks!

 

----------------------

 

FYI...If I use this webcam on a RaspberryPi 4 running Bookworm, it produces the following output and all v4l2 work.

Video input set to 0 (Input 1: Camera, ok)
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'YUYV' (YUYV 4:2:2)
        [1]: 'H264' (H.264, compressed)
        [2]: 'MJPG' (Motion-JPEG, compressed)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines