B0332: V4L2-CTL reports camera can crop, but can't seem to get crop working

  1. Where did you get the camera module(s)?

  2. Model number of the product(s)?

  3. What hardware/platform were you working on?
    Jetson Orin Nano (Ubuntu 20.04)

  4. Instructions you have followed. (link/manual/etc.)

  5. Problems you were having?
    Can’t get crop working

  6. What help do you need?
    Device reports the ability to crop:
    $ v4l2-ctl -d 0 --get-cropcap
    Crop Capability Video Capture:
    Bounds : Left 0, Top 0, Width 1280, Height 800
    Default : Left 0, Top 0, Width 1280, Height 800
    Pixel Aspect: 1/1

and I get…
$v4l2-ctl -d /dev/video0 --get-selection target=crop_bounds
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1280, Height 800, Flags:

but attempting to crop fails using:
$v4l2-ctl -d /dev/video0 --set-crop top=65,left=64,width=64,height=64
VIDIOC_G_CROP: failed: Invalid argument

and I also get
fcntl.ioctl(vd, v4l2.VIDIOC_S_CROP, crop_data)
[Errno 25] Inappropriate ioctl for device

Is there a way to get this working? Do I need a different driver?

Can someone comment on this? Thanks.