How is it possible to get autofocus working along with Picamera2 for IMX519

I sent them a bug report on the 20th…

They are trying to send me a replacement camera for a software bug :angry:

@Edward @Dion What’s going on? it was working fine prior to the rasp pi kernel update.

@Edward @Dion How am I supposed to use this camera if this is kicking out errors in thonny!?!?

Hi,
What do you mean about kicking out errors?

@Edward @Dion I mean I can’t run my python script in thonny because the camera is failing so the script stops running when the camera gets an error.

Which means I can’t add anything to my script and check to see if it works because it cant get past the camera errors

libcamera-still -t 0 --afmode continuous --autofocus

Made X/EGL preview window
[1:26:38.385018694] [5499] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
[1:26:38.389391671] [5501] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for ‘arducam_64mp’
[1:26:38.389518744] [5501] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
Ioctl read i2c error:: Remote I/O error
[1:26:38.412772817] [5501] WARN RPI raspberrypi.cpp:1280 Mismatch between Unicam and CamHelper for embedded data usage!
[1:26:38.414171872] [5501] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[1:26:38.414427646] [5501] INFO RPI raspberrypi.cpp:1404 Registered camera /base/soc/i2c0mux/i2c@1/arducam_64mp@1a to Unicam device /dev/media3 and ISP device /dev/media0
[1:26:38.415732499] [5499] INFO Camera camera.cpp:1035 configuring streams: (0) 4096x3074-YUV420
[1:26:38.416362138] [5501] INFO RPI raspberrypi.cpp:765 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 4624x3472-SRGGB10_1X10 - Selected unicam format: 4624x3472-pRAA
Erreur de segmentation

@Edward @Dion WHAT THE F*#K IS GOING ON!

It’s been weeks that this has been broken and I haven’t heard anything from you guys!

IT WAS WORKING FINE BEFORE THE KERNEL UPDATE!

Hi,
I have replied to you by email. Please check it.

Hi,
Can you access the camera by the command below?

libcamera-still -t 0