Librem 5: hang with cam -C1

Pavel Machek pavel at ucw.cz
Wed Mar 26 22:08:11 CET 2025


Hi!

> > > > With -C100, it actually works, for both front and back cameras.
> > >
> > > great news \o/
> >
> > :). There's still bug somewhere, -C2 results in two buffer captured
> > and exit, -C1 results in hang, which is quite confusing.
> 
> As Laurent mentioned the CSI-2 receiver driver might require a
> min_queued_buffer of 2.
> 
> If you don't provide at least two buffers, streaming never starts.
> I don't see it being specified in mainline imx8mq-mipi-csi2.c though
> but my understanding is that you're on a very old kernel ?

Official one from PureOS:

Linux pureos 6.6.0-1-librem5 #1 SMP PREEMPT Wed Mar 12 17:55:39 EDT 2025 aarch64 GNU/Linux

Changing kernels is hard on phones :(.
								Pavel
-- 
I don't work for Nazis and criminals, and neither should you.
Boycott Putin, Trump, and Musk!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20250326/ba3b16ec/attachment.sig>


More information about the libcamera-devel mailing list